solidus_api.gemspec in solidus_api-1.1.4 vs solidus_api.gemspec in solidus_api-1.2.0.beta1
- old
+ new
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
-version = File.read(File.expand_path("../../SOLIDUS_VERSION", __FILE__)).strip
+require_relative '../core/lib/spree/core/version.rb'
Gem::Specification.new do |gem|
gem.author = 'Solidus Team'
gem.email = 'contact@solidus.io'
gem.homepage = 'http://solidus.io/'
@@ -12,11 +12,11 @@
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "solidus_api"
gem.require_paths = ["lib"]
- gem.version = version
+ gem.version = Spree.solidus_version
- gem.add_dependency 'solidus_core', version
+ gem.add_dependency 'solidus_core', gem.version
gem.add_dependency 'rabl', ['>= 0.9.4.pre1', '< 0.12.0']
gem.add_dependency 'versioncake', '~> 2.3.1'
end