dynamoid.gemspec in dynamoid-1.3.0 vs dynamoid.gemspec in dynamoid-1.3.1

- old
+ new

@@ -36,22 +36,27 @@ spec.licenses = ["MIT"] spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - if Gem::Version.new(RUBY_VERSION) > Gem::Version.new("2.2.2") - spec.add_runtime_dependency(%q<activemodel>, [">= 4"]) - else - spec.add_runtime_dependency(%q<activemodel>, ["~> 4"]) - end + # This form of switching the gem dependencies is not compatible with wwtd & appraisal + # if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.2.2") + # spec.add_runtime_dependency(%q<activemodel>, [">= 4", "< 5.1.0"]) + # spec.add_development_dependency(%q<activesupport>, [">= 4", "< 5.1.0"]) + # else + # spec.add_runtime_dependency(%q<activemodel>, ["~> 4"]) + # spec.add_development_dependency(%q<activesupport>, ["~> 4"]) + # end + spec.add_runtime_dependency(%q<activemodel>, [">= 4"]) + spec.add_development_dependency(%q<activesupport>, [">= 4"]) spec.add_runtime_dependency(%q<aws-sdk-resources>, ["~> 2"]) spec.add_runtime_dependency(%q<concurrent-ruby>, [">= 1.0"]) - spec.add_development_dependency(%q<rake>, [">= 10"]) - spec.add_development_dependency(%q<bundler>, ["~> 1.12"]) - spec.add_development_dependency(%q<rspec>, [">= 3"]) + spec.add_development_dependency "pry", "~> 0.10" + spec.add_development_dependency "bundler", "~> 1.14" + spec.add_development_dependency "rake", "~> 12.0" + spec.add_development_dependency "rspec", "~> 3.0" + spec.add_development_dependency "appraisal", "~> 2.1" + spec.add_development_dependency "wwtd", "~> 1.3" spec.add_development_dependency(%q<yard>, [">= 0"]) - spec.add_development_dependency(%q<github-markup>, [">= 0"]) - spec.add_development_dependency(%q<pry>, [">= 0"]) spec.add_development_dependency(%q<coveralls>, [">= 0"]) spec.add_development_dependency(%q<rspec-retry>, [">= 0"]) - spec.add_development_dependency(%q<activesupport>, ["~> 4"]) end