diff --git a/Gemfile.lock b/Gemfile.lock index 7bb8f01..02d54d0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,28 +2,31 @@ PATH remote: . specs: comma (3.2.4) - activesupport (>= 4.0.0, < 5.0) + activesupport (>= 4.0.0, < 5.1) GEM remote: https://rubygems.org/ specs: - activesupport (4.2.6) + activemodel (5.0.0.1) + activesupport (= 5.0.0.1) + activesupport (5.0.0.1) + concurrent-ruby (~> 1.0, >= 1.0.2) i18n (~> 0.7) - json (~> 1.7, >= 1.7.7) minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - appraisal (0.4.1) + appraisal (1.0.3) bundler rake + thor (>= 0.14.0) colorize (0.7.5) + concurrent-ruby (1.0.2) coveralls (0.5.8) colorize json rest-client simplecov (>= 0.7) thor - diff-lcs (1.1.3) + diff-lcs (1.2.5) docile (1.1.5) i18n (0.7.0) json (1.8.2) @@ -36,14 +39,26 @@ GEM rest-client (1.6.8) mime-types (~> 1.16) rdoc (>= 2.4.2) - rspec (2.8.0) - rspec-core (~> 2.8.0) - rspec-expectations (~> 2.8.0) - rspec-mocks (~> 2.8.0) - rspec-core (2.8.0) - rspec-expectations (2.8.0) - diff-lcs (~> 1.1.2) - rspec-mocks (2.8.0) + rspec (3.5.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-activemodel-mocks (1.0.3) + activemodel (>= 3.0) + activesupport (>= 3.0) + rspec-mocks (>= 2.99, < 4.0) + rspec-core (3.5.2) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-its (1.2.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) simplecov (0.9.2) docile (~> 1.1.0) multi_json (~> 1.0) @@ -59,11 +74,13 @@ PLATFORMS ruby DEPENDENCIES - appraisal (~> 0.4.1) + appraisal (~> 1.0.0) comma! coveralls rake (~> 10.5.0) - rspec (~> 2.8.0) + rspec (~> 3.5.0) + rspec-activemodel-mocks + rspec-its sqlite3 (~> 1.3.11) BUNDLED WITH diff --git a/comma.gemspec b/comma.gemspec index d9b7dab..6ab93f6 100644 --- a/comma.gemspec +++ b/comma.gemspec @@ -19,10 +19,12 @@ Gem::Specification.new do |s| s.licenses = ['MIT'] - s.add_dependency 'activesupport', ['>= 4.0.0', '< 5.0'] + s.add_dependency 'activesupport', ['>= 4.0.0', '< 5.1'] - s.add_development_dependency 'appraisal', ['~> 0.4.1'] + s.add_development_dependency 'appraisal', ['~> 1.0.0'] s.add_development_dependency 'rake', ['~> 10.5.0'] - s.add_development_dependency 'rspec', ['~> 2.8.0'] + s.add_development_dependency 'rspec', ['~> 3.5.0'] + s.add_development_dependency 'rspec-activemodel-mocks' + s.add_development_dependency 'rspec-its' s.add_development_dependency 'sqlite3', ['~> 1.3.11'] end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6d8cc45..09016dd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,6 +8,9 @@ require 'bundler/setup' Bundler.require +require 'rspec/active_model/mocks' +require 'rspec/its' + begin require 'rails' rescue LoadError