sunzi.gemspec in sunzi-rails-0.2.3 vs sunzi.gemspec in sunzi-rails-0.2.4

- old
+ new

@@ -1,12 +1,15 @@ # coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'sunzi/version' Gem::Specification.new do |spec| - spec.required_ruby_version = ">= 2.0" + spec.required_ruby_version = ">= #{Sunzi::RUBY_VERSION}" spec.name = 'sunzi-rails' - spec.version = '0.2.3' # retrieve this value by: Gem.loaded_specs['sunzi'].version.to_s + spec.version = Sunzi::VERSION spec.authors = ['Kenn Ejima', 'Patrice Lebel'] spec.email = ['kenn.ejima@gmail.com'] spec.homepage = 'http://github.com/o2web/sunzi-rails' spec.summary = %q{Server provisioning utility for minimalists} spec.description = %q{Server provisioning utility for minimalists} @@ -15,12 +18,11 @@ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "bin" spec.executables = ["sunzi-cap"] spec.require_paths = ["lib"] - spec.add_dependency 'rails', "~> 4.2", ">= 4.2.0" + spec.add_dependency 'rails', "~> #{Sunzi::RAILS_VERSION}", ">= #{Sunzi::RAILS_VERSION}.0" - spec.add_runtime_dependency 'bundler', '~> 1.3' spec.add_runtime_dependency 'thor' spec.add_runtime_dependency 'rainbow' spec.add_runtime_dependency 'net-ssh' spec.add_development_dependency 'rake'