Sha256: 083c5994c7b9769cc377adbd92bef9993d74bc5fd64ee3f2253590cc91cfd08c

Contents?: true

Size: 328 Bytes

Versions: 7

Compression:

Stored size: 328 Bytes

Contents

module Ember
  extend self

  VERSION = File.read(File.expand_path('../../../VERSION', __FILE__)).strip

  # we might want to unify this with the ember version string,
  # but consistency?
  def rubygems_version_string
    major, rc = VERSION.sub('-','.').scan(/(\d+\.\d+\.\d+\.rc)\.(\d+)/).first

    "#{major}#{rc}"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ember-source-1.0.0.rc8 lib/ember/version.rb
ember-source-1.0.0.rc7 lib/ember/version.rb
ember-source-1.0.0.rc6.4 lib/ember/version.rb
ember-source-1.0.0.rc5.1 lib/ember/version.rb
ember-source-1.0.0.rc6.2 lib/ember/version.rb
ember-source-1.0.0.rc6 lib/ember/version.rb
ember-source-1.0.0.rc5 lib/ember/version.rb