Skip to content
This repository

Improve testing of different Ruby, Rails versions #257

Closed
wants to merge 4 commits into from

4 participants

Dan Croak Ryan McGeary Melissa Xie Jason Draper
Dan Croak
Owner
  • Remove Gemfile.lock file from version control.
  • Remove gemfiles from version control.
  • Use Semantic Versioning (http://semver.org/) in Appraisal.

This intends to solve the following problems:

  • The Gemfile.lock and gemfiles/*.gemfile.lock files were being updated regularly during normally development work, polluting commits and code reviews with irrelevant changes like tzinfo changing from 0.3.35 to 0.3.37.
  • The pathnames in the appraised .lock files change every time a new developer runs the suite, polluting commits and code reviews.
  • We needed to manually update patch versions in Appraisal to test against the latest versions, polluting the git history, instead of just triggering a new Travis build. This is the most important combination of dependencies and therefore should be quick and easy to test.

http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/

Ryan McGeary
Collaborator
rmm5t commented March 18, 2013

:+1: to this. There's something similar proposed with the shoulda gem here: thoughtbot/shoulda#233

Semi-related: I'm also in favor of of removing all dependencies on Appraisal as discussed here: thoughtbot/shoulda#235


I think I'd rather see Travis-CI manage the gemfiles instead of Appraisal. That would make it easier to see the edge case permutations that fail from within Travis. Maybe we can have Appraisal still generate the gemfiles up front, but I'm now actually skeptical about how much Appraisal actually buys us vs just managing the gemfiles manually. --@rmm5t


I agree. … I think most Rubyists are already comfortable editing Gemfiles ... In this case, Appraisal seems like it's causing more pain than just managing the three Gemfiles manually. I'd vote :-1: against using it in this project. --@sferik

Dan Ryan danryan referenced this pull request from a commit March 18, 2013
Commit has since been removed from the repository and is no longer available.
Melissa Xie
Collaborator
mxie commented March 19, 2013

:+1: I definitely like the idea of ignoring those gem lock files. Also, I think this will need some rebasing since some of the changes you made here overlapped with #256.

Dan Croak
Owner

@mxie Rebased but failing on Travis with Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this machine. Not sure why yet. Any ideas?

Melissa Xie
Collaborator
mxie commented March 20, 2013

@croaky - I'm not entirely sure, but it might be that we're forcing the gem install for those using rails 3.0. Looking at the current version of the Appraisals file now, we were only installing jquery-rails for 3.1 and 3.2.

added some commits March 18, 2013
Dan Croak Remove gemfiles, Gemfile.lock from version control
Remove gemfiles from Travis.
b61922d
Dan Croak Test Rails 3 on Ruby 1.9, newest Rails on Ruby 2
* Force Appraisal to build gemfiles for Travis.
* Use two-digit precision with pessimistic operator for closer adherance
  to SemVer.
fc01194
Dan Croak Restrict Ruby support to MRI 1.9, prepare for 2.0 aaca716
Dan Croak Consistently use ~> 'maj.min' on dev dependencies
Upgrade Rake, Strong Parameters.
6cb0052
Jason Draper
Owner

There was a previous discussion here about other's opinions on locking the gemfile. Has any of that information changed such that we should unlock them? /cc @croaky

Jason Draper
Owner

Closing this due to lack of discussion. It seems that our other projects are still using this same system of storing the gemfiles.

Jason Draper drapergeek closed this September 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 4 unique commits by 2 authors.

Mar 29, 2013
Dan Croak Remove gemfiles, Gemfile.lock from version control
Remove gemfiles from Travis.
b61922d
Dan Croak Test Rails 3 on Ruby 1.9, newest Rails on Ruby 2
* Force Appraisal to build gemfiles for Travis.
* Use two-digit precision with pessimistic operator for closer adherance
  to SemVer.
fc01194
Dan Croak Restrict Ruby support to MRI 1.9, prepare for 2.0 aaca716
Dan Croak Consistently use ~> 'maj.min' on dev dependencies
Upgrade Rake, Strong Parameters.
6cb0052
This page is out of date. Refresh to see the latest.
16  .gitignore
... ...
@@ -1,11 +1,13 @@
1  
-test/*/log/*.log
2  
-doc
3  
-coverage
  1
+*.rbc
  2
+*.swo
  3
+*.swp
  4
+.bundle
4 5
 .svn/
  6
+Gemfile.lock
  7
+coverage
  8
+doc
  9
+gemfiles/
5 10
 pkg
6  
-*.swp
7  
-*.swo
8 11
 tags
  12
+test/*/log/*.log
9 13
 tmp
10  
-.bundle
11  
-*.rbc
18  .travis.yml
... ...
@@ -1,28 +1,14 @@
1 1
 script: "bundle exec rake spec cucumber"
2 2
 
3 3
 rvm:
4  
-  - 1.8.7
5 4
   - 1.9.2
6 5
   - 1.9.3
  6
+  - 2.0.0
7 7
   - rbx-18mode
8 8
   - jruby
9 9
 
10  
-gemfile:
11  
-  - gemfiles/3.0.gemfile
12  
-  - gemfiles/3.1.gemfile
13  
-  - gemfiles/3.2.gemfile
14  
-
15 10
 matrix:
16 11
   allow_failures:
17  
-    - rvm: 1.8.7
18  
-    - rvm: rbx-18mode
19  
-    - rvm: jruby
20  
-  exclude:
  12
+    - rvm: 2.0.0
21 13
     - rvm: rbx-18mode
22  
-      gemfile: gemfiles/3.0.gemfile
23  
-    - rvm: rbx-18mode
24  
-      gemfile: gemfiles/3.1.gemfile
25  
-    - rvm: jruby
26  
-      gemfile: gemfiles/3.0.gemfile
27 14
     - rvm: jruby
28  
-      gemfile: gemfiles/3.1.gemfile
16  Appraisals
... ...
@@ -1,15 +1,11 @@
1  
-appraise '3.0' do
2  
-  gem 'rails', '~> 3.0.17'
  1
+if RUBY_VERSION >= '2.0'
  2
+  name, version = 'ruby.2.support', '>= 3.2.13'
  3
+else
  4
+  name, version = 'rails.3.support', '~> 3.0'
3 5
 end
4 6
 
5  
-appraise '3.1' do
6  
-  gem 'rails', '~> 3.1.8'
7  
-  gem 'jquery-rails'
8  
-  gem 'sass-rails'
9  
-end
10  
-
11  
-appraise '3.2' do
12  
-  gem 'rails', '~> 3.2.8'
  7
+appraise name do
13 8
   gem 'jquery-rails'
  9
+  gem 'rails', version
14 10
   gem 'sass-rails'
15 11
 end
21  Gemfile.lock
@@ -97,6 +97,10 @@ GEM
97 97
     rake (10.0.3)
98 98
     rdoc (3.12.2)
99 99
       json (~> 1.4)
  100
+    rspec (2.13.0)
  101
+      rspec-core (~> 2.13.0)
  102
+      rspec-expectations (~> 2.13.0)
  103
+      rspec-mocks (~> 2.13.0)
100 104
     rspec-core (2.13.1)
101 105
     rspec-expectations (2.13.0)
102 106
       diff-lcs (>= 1.1.3, < 2.0)
@@ -115,10 +119,10 @@ GEM
115 119
       rack (~> 1.0)
116 120
       tilt (~> 1.1, != 1.3.0)
117 121
     sqlite3 (1.3.6)
118  
-    strong_parameters (0.1.5)
119  
-      actionpack (~> 3.1)
120  
-      activemodel (~> 3.1)
121  
-      railties (~> 3.1)
  122
+    strong_parameters (0.2.0)
  123
+      actionpack (~> 3.0)
  124
+      activemodel (~> 3.0)
  125
+      railties (~> 3.0)
122 126
     thor (0.17.0)
123 127
     tilt (1.3.6)
124 128
     treetop (1.4.12)
@@ -132,17 +136,18 @@ PLATFORMS
132 136
 DEPENDENCIES
133 137
   activerecord-jdbc-adapter
134 138
   activerecord-jdbcsqlite3-adapter
135  
-  appraisal (~> 0.4)
136  
-  aruba
  139
+  appraisal (~> 0.5)
  140
+  aruba (~> 0.5)
137 141
   bundler (~> 1.1)
138 142
   cucumber (~> 1.1)
139 143
   jdbc-sqlite3
140 144
   jruby-openssl
141 145
   rails (~> 3.0)
142  
-  rake (>= 0.9.2)
  146
+  rake (~> 10.0)
  147
+  rspec (~> 2.13)
143 148
   rspec-rails (~> 2.13)
144 149
   shoulda-context (~> 1.0.0)
145 150
   shoulda-matchers!
146 151
   sqlite3
147  
-  strong_parameters
  152
+  strong_parameters (~> 0.2)
148 153
   therubyrhino
14  Rakefile
@@ -15,14 +15,10 @@ Cucumber::Rake::Task.new do |t|
15 15
   t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
16 16
 end
17 17
 
18  
-task :default do |t|
19  
-  if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
20  
-    exec 'rake spec cucumber'
21  
-  else
22  
-    Rake::Task['appraise'].execute
23  
-  end
24  
-end
  18
+desc 'Default'
  19
+task :default => [:all]
25 20
 
26  
-task :appraise => ['appraisal:install'] do |t|
27  
-  exec 'rake appraisal'
  21
+desc 'Test the engine under all supported Rails versions'
  22
+task :all => ['appraisal:install'] do |t|
  23
+  exec 'rake appraisal spec cucumber'
28 24
 end
14  gemfiles/3.0.gemfile
... ...
@@ -1,14 +0,0 @@
1  
-# This file was generated by Appraisal
2  
-
3  
-source "https://rubygems.org"
4  
-
5  
-gem "shoulda-context", "~> 1.0.0"
6  
-gem "sqlite3", :platform=>:ruby
7  
-gem "activerecord-jdbc-adapter", :platform=>:jruby
8  
-gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
9  
-gem "jdbc-sqlite3", :platform=>:jruby
10  
-gem "jruby-openssl", :platform=>:jruby
11  
-gem "therubyrhino", :platform=>:jruby
12  
-gem "rails", "~> 3.0.17"
13  
-
14  
-gemspec :path=>"../"
139  gemfiles/3.0.gemfile.lock
... ...
@@ -1,139 +0,0 @@
1  
-PATH
2  
-  remote: /Users/melissaxie/thoughtbot/shoulda-matchers
3  
-  specs:
4  
-    shoulda-matchers (1.5.5)
5  
-      activesupport (>= 3.0.0)
6  
-      bourne (~> 1.3)
7  
-
8  
-GEM
9  
-  remote: https://rubygems.org/
10  
-  specs:
11  
-    abstract (1.0.0)
12  
-    actionmailer (3.0.20)
13  
-      actionpack (= 3.0.20)
14  
-      mail (~> 2.2.19)
15  
-    actionpack (3.0.20)
16  
-      activemodel (= 3.0.20)
17  
-      activesupport (= 3.0.20)
18  
-      builder (~> 2.1.2)
19  
-      erubis (~> 2.6.6)
20  
-      i18n (~> 0.5.0)
21  
-      rack (~> 1.2.5)
22  
-      rack-mount (~> 0.6.14)
23  
-      rack-test (~> 0.5.7)
24  
-      tzinfo (~> 0.3.23)
25  
-    activemodel (3.0.20)
26  
-      activesupport (= 3.0.20)
27  
-      builder (~> 2.1.2)
28  
-      i18n (~> 0.5.0)
29  
-    activerecord (3.0.20)
30  
-      activemodel (= 3.0.20)
31  
-      activesupport (= 3.0.20)
32  
-      arel (~> 2.0.10)
33  
-      tzinfo (~> 0.3.23)
34  
-    activeresource (3.0.20)
35  
-      activemodel (= 3.0.20)
36  
-      activesupport (= 3.0.20)
37  
-    activesupport (3.0.20)
38  
-    appraisal (0.5.1)
39  
-      bundler
40  
-      rake
41  
-    arel (2.0.10)
42  
-    aruba (0.5.1)
43  
-      childprocess (~> 0.3.6)
44  
-      cucumber (>= 1.1.1)
45  
-      rspec-expectations (>= 2.7.0)
46  
-    bourne (1.4.0)
47  
-      mocha (~> 0.13.2)
48  
-    builder (2.1.2)
49  
-    childprocess (0.3.9)
50  
-      ffi (~> 1.0, >= 1.0.11)
51  
-    cucumber (1.2.3)
52  
-      builder (>= 2.1.2)
53  
-      diff-lcs (>= 1.1.3)
54  
-      gherkin (~> 2.11.6)
55  
-      multi_json (~> 1.3)
56  
-    diff-lcs (1.2.1)
57  
-    erubis (2.6.6)
58  
-      abstract (>= 1.0.0)
59  
-    ffi (1.4.0)
60  
-    gherkin (2.11.6)
61  
-      json (>= 1.7.6)
62  
-    i18n (0.5.0)
63  
-    json (1.7.7)
64  
-    mail (2.2.19)
65  
-      activesupport (>= 2.3.6)
66  
-      i18n (>= 0.4.0)
67  
-      mime-types (~> 1.16)
68  
-      treetop (~> 1.4.8)
69  
-    metaclass (0.0.1)
70  
-    mime-types (1.21)
71  
-    mocha (0.13.3)
72  
-      metaclass (~> 0.0.1)
73  
-    multi_json (1.7.1)
74  
-    polyglot (0.3.3)
75  
-    rack (1.2.8)
76  
-    rack-mount (0.6.14)
77  
-      rack (>= 1.0.0)
78  
-    rack-test (0.5.7)
79  
-      rack (>= 1.0)
80  
-    rails (3.0.20)
81  
-      actionmailer (= 3.0.20)
82  
-      actionpack (= 3.0.20)
83  
-      activerecord (= 3.0.20)
84  
-      activeresource (= 3.0.20)
85  
-      activesupport (= 3.0.20)
86  
-      bundler (~> 1.0)
87  
-      railties (= 3.0.20)
88  
-    railties (3.0.20)
89  
-      actionpack (= 3.0.20)
90  
-      activesupport (= 3.0.20)
91  
-      rake (>= 0.8.7)
92  
-      rdoc (~> 3.4)
93  
-      thor (~> 0.14.4)
94  
-    rake (10.0.3)
95  
-    rdoc (3.12.2)
96  
-      json (~> 1.4)
97  
-    rspec-core (2.13.1)
98  
-    rspec-expectations (2.13.0)
99  
-      diff-lcs (>= 1.1.3, < 2.0)
100  
-    rspec-mocks (2.13.0)
101  
-    rspec-rails (2.13.0)
102  
-      actionpack (>= 3.0)
103  
-      activesupport (>= 3.0)
104  
-      railties (>= 3.0)
105  
-      rspec-core (~> 2.13.0)
106  
-      rspec-expectations (~> 2.13.0)
107  
-      rspec-mocks (~> 2.13.0)
108  
-    shoulda-context (1.0.2)
109  
-    sqlite3 (1.3.7)
110  
-    strong_parameters (0.2.0)
111  
-      actionpack (~> 3.0)
112  
-      activemodel (~> 3.0)
113  
-      railties (~> 3.0)
114  
-    thor (0.14.6)
115  
-    treetop (1.4.12)
116  
-      polyglot
117  
-      polyglot (>= 0.3.1)
118  
-    tzinfo (0.3.37)
119  
-
120  
-PLATFORMS
121  
-  ruby
122  
-
123  
-DEPENDENCIES
124  
-  activerecord-jdbc-adapter
125  
-  activerecord-jdbcsqlite3-adapter
126  
-  appraisal (~> 0.4)
127  
-  aruba
128  
-  bundler (~> 1.1)
129  
-  cucumber (~> 1.1)
130  
-  jdbc-sqlite3
131  
-  jruby-openssl
132  
-  rails (~> 3.0.17)
133  
-  rake (>= 0.9.2)
134  
-  rspec-rails (~> 2.13)
135  
-  shoulda-context (~> 1.0.0)
136  
-  shoulda-matchers!
137  
-  sqlite3
138  
-  strong_parameters
139  
-  therubyrhino
16  gemfiles/3.1.gemfile
... ...
@@ -1,16 +0,0 @@
1  
-# This file was generated by Appraisal
2  
-
3  
-source "https://rubygems.org"
4  
-
5  
-gem "shoulda-context", "~> 1.0.0"
6  
-gem "sqlite3", :platform=>:ruby
7  
-gem "activerecord-jdbc-adapter", :platform=>:jruby
8  
-gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
9  
-gem "jdbc-sqlite3", :platform=>:jruby
10  
-gem "jruby-openssl", :platform=>:jruby
11  
-gem "therubyrhino", :platform=>:jruby
12  
-gem "rails", "~> 3.1.8"
13  
-gem "jquery-rails"
14  
-gem "sass-rails"
15  
-
16  
-gemspec :path=>"../"
160  gemfiles/3.1.gemfile.lock
... ...
@@ -1,160 +0,0 @@
1  
-PATH
2  
-  remote: /Users/melissaxie/thoughtbot/shoulda-matchers
3  
-  specs:
4  
-    shoulda-matchers (1.5.5)
5  
-      activesupport (>= 3.0.0)
6  
-      bourne (~> 1.3)
7  
-
8  
-GEM
9  
-  remote: https://rubygems.org/
10  
-  specs:
11  
-    actionmailer (3.1.11)
12  
-      actionpack (= 3.1.11)
13  
-      mail (~> 2.3.3)
14  
-    actionpack (3.1.11)
15  
-      activemodel (= 3.1.11)
16  
-      activesupport (= 3.1.11)
17  
-      builder (~> 3.0.0)
18  
-      erubis (~> 2.7.0)
19  
-      i18n (~> 0.6)
20  
-      rack (~> 1.3.6)
21  
-      rack-cache (~> 1.2)
22  
-      rack-mount (~> 0.8.2)
23  
-      rack-test (~> 0.6.1)
24  
-      sprockets (~> 2.0.4)
25  
-    activemodel (3.1.11)
26  
-      activesupport (= 3.1.11)
27  
-      builder (~> 3.0.0)
28  
-      i18n (~> 0.6)
29  
-    activerecord (3.1.11)
30  
-      activemodel (= 3.1.11)
31  
-      activesupport (= 3.1.11)
32  
-      arel (~> 2.2.3)
33  
-      tzinfo (~> 0.3.29)
34  
-    activeresource (3.1.11)
35  
-      activemodel (= 3.1.11)
36  
-      activesupport (= 3.1.11)
37  
-    activesupport (3.1.11)
38  
-      multi_json (~> 1.0)
39  
-    appraisal (0.5.1)
40  
-      bundler
41  
-      rake
42  
-    arel (2.2.3)
43  
-    aruba (0.5.1)
44  
-      childprocess (~> 0.3.6)
45  
-      cucumber (>= 1.1.1)
46  
-      rspec-expectations (>= 2.7.0)
47  
-    bourne (1.4.0)
48  
-      mocha (~> 0.13.2)
49  
-    builder (3.0.4)
50  
-    childprocess (0.3.9)
51  
-      ffi (~> 1.0, >= 1.0.11)
52  
-    cucumber (1.2.3)
53  
-      builder (>= 2.1.2)
54  
-      diff-lcs (>= 1.1.3)
55  
-      gherkin (~> 2.11.6)
56  
-      multi_json (~> 1.3)
57  
-    diff-lcs (1.2.1)
58  
-    erubis (2.7.0)
59  
-    ffi (1.4.0)
60  
-    gherkin (2.11.6)
61  
-      json (>= 1.7.6)
62  
-    hike (1.2.1)
63  
-    i18n (0.6.4)
64  
-    jquery-rails (2.2.1)
65  
-      railties (>= 3.0, < 5.0)
66  
-      thor (>= 0.14, < 2.0)
67  
-    json (1.7.7)
68  
-    mail (2.3.3)
69  
-      i18n (>= 0.4.0)
70  
-      mime-types (~> 1.16)
71  
-      treetop (~> 1.4.8)
72  
-    metaclass (0.0.1)
73  
-    mime-types (1.21)
74  
-    mocha (0.13.3)
75  
-      metaclass (~> 0.0.1)
76  
-    multi_json (1.7.1)
77  
-    polyglot (0.3.3)
78  
-    rack (1.3.10)
79  
-    rack-cache (1.2)
80  
-      rack (>= 0.4)
81  
-    rack-mount (0.8.3)
82  
-      rack (>= 1.0.0)
83  
-    rack-ssl (1.3.3)
84  
-      rack
85  
-    rack-test (0.6.2)
86  
-      rack (>= 1.0)
87  
-    rails (3.1.11)
88  
-      actionmailer (= 3.1.11)
89  
-      actionpack (= 3.1.11)
90  
-      activerecord (= 3.1.11)
91  
-      activeresource (= 3.1.11)
92  
-      activesupport (= 3.1.11)
93  
-      bundler (~> 1.0)
94  
-      railties (= 3.1.11)
95  
-    railties (3.1.11)
96  
-      actionpack (= 3.1.11)
97  
-      activesupport (= 3.1.11)
98  
-      rack-ssl (~> 1.3.2)
99  
-      rake (>= 0.8.7)
100  
-      rdoc (~> 3.4)
101  
-      thor (~> 0.14.6)
102  
-    rake (10.0.3)
103  
-    rdoc (3.12.2)
104  
-      json (~> 1.4)
105  
-    rspec-core (2.13.1)
106  
-    rspec-expectations (2.13.0)
107  
-      diff-lcs (>= 1.1.3, < 2.0)
108  
-    rspec-mocks (2.13.0)
109  
-    rspec-rails (2.13.0)
110  
-      actionpack (>= 3.0)
111  
-      activesupport (>= 3.0)
112  
-      railties (>= 3.0)
113  
-      rspec-core (~> 2.13.0)
114  
-      rspec-expectations (~> 2.13.0)
115  
-      rspec-mocks (~> 2.13.0)
116  
-    sass (3.2.7)
117  
-    sass-rails (3.1.6)
118  
-      actionpack (~> 3.1.0)
119  
-      railties (~> 3.1.0)
120  
-      sass (>= 3.1.10)
121  
-      tilt (~> 1.3.2)
122  
-    shoulda-context (1.0.2)
123  
-    sprockets (2.0.4)
124  
-      hike (~> 1.2)
125  
-      rack (~> 1.0)
126  
-      tilt (~> 1.1, != 1.3.0)
127  
-    sqlite3 (1.3.7)
128  
-    strong_parameters (0.2.0)
129  
-      actionpack (~> 3.0)
130  
-      activemodel (~> 3.0)
131  
-      railties (~> 3.0)
132  
-    thor (0.14.6)
133  
-    tilt (1.3.6)
134  
-    treetop (1.4.12)
135  
-      polyglot
136  
-      polyglot (>= 0.3.1)
137  
-    tzinfo (0.3.37)
138  
-
139  
-PLATFORMS
140  
-  ruby
141  
-
142  
-DEPENDENCIES
143  
-  activerecord-jdbc-adapter
144  
-  activerecord-jdbcsqlite3-adapter
145  
-  appraisal (~> 0.4)
146  
-  aruba
147  
-  bundler (~> 1.1)
148  
-  cucumber (~> 1.1)
149  
-  jdbc-sqlite3
150  
-  jquery-rails
151  
-  jruby-openssl
152  
-  rails (~> 3.1.8)
153  
-  rake (>= 0.9.2)
154  
-  rspec-rails (~> 2.13)
155  
-  sass-rails
156  
-  shoulda-context (~> 1.0.0)
157  
-  shoulda-matchers!
158  
-  sqlite3
159  
-  strong_parameters
160  
-  therubyrhino
16  gemfiles/3.2.gemfile
... ...
@@ -1,16 +0,0 @@
1  
-# This file was generated by Appraisal
2  
-
3  
-source "https://rubygems.org"
4  
-
5  
-gem "shoulda-context", "~> 1.0.0"
6  
-gem "sqlite3", :platform=>:ruby
7  
-gem "activerecord-jdbc-adapter", :platform=>:jruby
8  
-gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
9  
-gem "jdbc-sqlite3", :platform=>:jruby
10  
-gem "jruby-openssl", :platform=>:jruby
11  
-gem "therubyrhino", :platform=>:jruby
12  
-gem "rails", "~> 3.2.8"
13  
-gem "jquery-rails"
14  
-gem "sass-rails"
15  
-
16  
-gemspec :path=>"../"
158  gemfiles/3.2.gemfile.lock
... ...
@@ -1,158 +0,0 @@
1  
-PATH
2  
-  remote: /Users/melissaxie/thoughtbot/shoulda-matchers
3  
-  specs:
4  
-    shoulda-matchers (1.5.5)
5  
-      activesupport (>= 3.0.0)
6  
-      bourne (~> 1.3)
7  
-
8  
-GEM
9  
-  remote: https://rubygems.org/
10  
-  specs:
11  
-    actionmailer (3.2.13)
12  
-      actionpack (= 3.2.13)
13  
-      mail (~> 2.5.3)
14  
-    actionpack (3.2.13)
15  
-      activemodel (= 3.2.13)
16  
-      activesupport (= 3.2.13)
17  
-      builder (~> 3.0.0)
18  
-      erubis (~> 2.7.0)
19  
-      journey (~> 1.0.4)
20  
-      rack (~> 1.4.5)
21  
-      rack-cache (~> 1.2)
22  
-      rack-test (~> 0.6.1)
23  
-      sprockets (~> 2.2.1)
24  
-    activemodel (3.2.13)
25  
-      activesupport (= 3.2.13)
26  
-      builder (~> 3.0.0)
27  
-    activerecord (3.2.13)
28  
-      activemodel (= 3.2.13)
29  
-      activesupport (= 3.2.13)
30  
-      arel (~> 3.0.2)
31  
-      tzinfo (~> 0.3.29)
32  
-    activeresource (3.2.13)
33  
-      activemodel (= 3.2.13)
34  
-      activesupport (= 3.2.13)
35  
-    activesupport (3.2.13)
36  
-      i18n (= 0.6.1)
37  
-      multi_json (~> 1.0)
38  
-    appraisal (0.5.1)
39  
-      bundler
40  
-      rake
41  
-    arel (3.0.2)
42  
-    aruba (0.5.1)
43  
-      childprocess (~> 0.3.6)
44  
-      cucumber (>= 1.1.1)
45  
-      rspec-expectations (>= 2.7.0)
46  
-    bourne (1.4.0)
47  
-      mocha (~> 0.13.2)
48  
-    builder (3.0.4)
49  
-    childprocess (0.3.9)
50  
-      ffi (~> 1.0, >= 1.0.11)
51  
-    cucumber (1.2.3)
52  
-      builder (>= 2.1.2)
53  
-      diff-lcs (>= 1.1.3)
54  
-      gherkin (~> 2.11.6)
55  
-      multi_json (~> 1.3)
56  
-    diff-lcs (1.2.1)
57  
-    erubis (2.7.0)
58  
-    ffi (1.4.0)
59  
-    gherkin (2.11.6)
60  
-      json (>= 1.7.6)
61  
-    hike (1.2.1)
62  
-    i18n (0.6.1)
63  
-    journey (1.0.4)
64  
-    jquery-rails (2.2.1)
65  
-      railties (>= 3.0, < 5.0)
66  
-      thor (>= 0.14, < 2.0)
67  
-    json (1.7.7)
68  
-    mail (2.5.3)
69  
-      i18n (>= 0.4.0)
70  
-      mime-types (~> 1.16)
71  
-      treetop (~> 1.4.8)
72  
-    metaclass (0.0.1)
73  
-    mime-types (1.21)
74  
-    mocha (0.13.3)
75  
-      metaclass (~> 0.0.1)
76  
-    multi_json (1.7.1)
77  
-    polyglot (0.3.3)
78  
-    rack (1.4.5)
79  
-    rack-cache (1.2)
80  
-      rack (>= 0.4)
81  
-    rack-ssl (1.3.3)
82  
-      rack
83  
-    rack-test (0.6.2)
84  
-      rack (>= 1.0)
85  
-    rails (3.2.13)
86  
-      actionmailer (= 3.2.13)
87  
-      actionpack (= 3.2.13)
88  
-      activerecord (= 3.2.13)
89  
-      activeresource (= 3.2.13)
90  
-      activesupport (= 3.2.13)
91  
-      bundler (~> 1.0)
92  
-      railties (= 3.2.13)
93  
-    railties (3.2.13)
94  
-      actionpack (= 3.2.13)
95  
-      activesupport (= 3.2.13)
96  
-      rack-ssl (~> 1.3.2)
97  
-      rake (>= 0.8.7)
98  
-      rdoc (~> 3.4)
99  
-      thor (>= 0.14.6, < 2.0)
100  
-    rake (10.0.3)
101  
-    rdoc (3.12.2)
102  
-      json (~> 1.4)
103  
-    rspec-core (2.13.1)
104  
-    rspec-expectations (2.13.0)
105  
-      diff-lcs (>= 1.1.3, < 2.0)
106  
-    rspec-mocks (2.13.0)
107  
-    rspec-rails (2.13.0)
108  
-      actionpack (>= 3.0)
109  
-      activesupport (>= 3.0)
110  
-      railties (>= 3.0)
111  
-      rspec-core (~> 2.13.0)
112  
-      rspec-expectations (~> 2.13.0)
113  
-      rspec-mocks (~> 2.13.0)
114  
-    sass (3.2.7)
115  
-    sass-rails (3.2.6)
116  
-      railties (~> 3.2.0)
117  
-      sass (>= 3.1.10)
118  
-      tilt (~> 1.3)
119  
-    shoulda-context (1.0.2)
120  
-    sprockets (2.2.2)
121  
-      hike (~> 1.2)
122  
-      multi_json (~> 1.0)
123  
-      rack (~> 1.0)
124  
-      tilt (~> 1.1, != 1.3.0)
125  
-    sqlite3 (1.3.7)
126  
-    strong_parameters (0.2.0)
127  
-      actionpack (~> 3.0)
128  
-      activemodel (~> 3.0)
129  
-      railties (~> 3.0)
130  
-    thor (0.17.0)
131  
-    tilt (1.3.6)
132  
-    treetop (1.4.12)
133  
-      polyglot
134  
-      polyglot (>= 0.3.1)
135  
-    tzinfo (0.3.37)
136  
-
137  
-PLATFORMS
138  
-  ruby
139  
-
140  
-DEPENDENCIES
141  
-  activerecord-jdbc-adapter
142  
-  activerecord-jdbcsqlite3-adapter
143  
-  appraisal (~> 0.4)
144  
-  aruba
145  
-  bundler (~> 1.1)
146  
-  cucumber (~> 1.1)
147  
-  jdbc-sqlite3
148  
-  jquery-rails
149  
-  jruby-openssl
150  
-  rails (~> 3.2.8)
151  
-  rake (>= 0.9.2)
152  
-  rspec-rails (~> 2.13)
153  
-  sass-rails
154  
-  shoulda-context (~> 1.0.0)
155  
-  shoulda-matchers!
156  
-  sqlite3
157  
-  strong_parameters
158  
-  therubyrhino
15  shoulda-matchers.gemspec
@@ -21,12 +21,13 @@ Gem::Specification.new do |s|
21 21
   s.add_dependency('activesupport', '>= 3.0.0')
22 22
   s.add_dependency('bourne', '~> 1.3')
23 23
 
24  
-  s.add_development_dependency('appraisal',   '~> 0.4')
25  
-  s.add_development_dependency('aruba')
26  
-  s.add_development_dependency('bundler',     '~> 1.1')
27  
-  s.add_development_dependency('cucumber',    '~> 1.1')
28  
-  s.add_development_dependency('rails',       '~> 3.0')
29  
-  s.add_development_dependency('rake',        '>= 0.9.2')
  24
+  s.add_development_dependency('appraisal', '~> 0.5')
  25
+  s.add_development_dependency('aruba', '~> 0.5')
  26
+  s.add_development_dependency('bundler', '~> 1.1')
  27
+  s.add_development_dependency('cucumber', '~> 1.1')
  28
+  s.add_development_dependency('rails', '~> 3.0')
  29
+  s.add_development_dependency('rake', '~> 10.0')
  30
+  s.add_development_dependency('rspec', '~> 2.13')
30 31
   s.add_development_dependency('rspec-rails', '~> 2.13')
31  
-  s.add_development_dependency('strong_parameters')
  32
+  s.add_development_dependency('strong_parameters', '~> 0.2')
32 33
 end
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.