Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make Ember::Data::VERSION match Gemspec.

  • Loading branch information...
commit e22f622644fcfd84b2599bcaeef5d9d235139d94 1 parent 7af6fcb
@rwjblue rwjblue authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  ember-data-source.gemspec
  2. +1 −1  lib/ember/data/version.rb
View
2  ember-data-source.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
gem.summary = %q{ember-data source code wrapper.}
gem.description = %q{ember-data source code wrapper for use with Ruby libs.}
gem.homepage = "https://github.com/emberjs/data"
- gem.version = Ember::Data::VERSION.gsub(/[-\+]/, '.')
+ gem.version = Ember::Data::VERSION
gem.add_dependency "ember-source"
View
2  lib/ember/data/version.rb
@@ -1,5 +1,5 @@
module Ember
module Data
- VERSION = File.read(File.expand_path('../../../../VERSION', __FILE__)).strip
+ VERSION = File.read(File.expand_path('../../../../VERSION', __FILE__)).strip.gsub(/[-\+]/, '.')
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.