shoulda-matchers 2.8.0.rc1 → 2.8.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.hound.yml +3 -0
  3. data/.hound_config/ruby.yml +5 -0
  4. data/.travis.yml +4 -0
  5. data/.yardopts +1 -1
  6. data/Appraisals +5 -2
  7. data/Gemfile +1 -1
  8. data/Gemfile.lock +7 -5
  9. data/NEWS.md +24 -0
  10. data/README.md +9 -0
  11. data/gemfiles/3.0.gemfile +1 -1
  12. data/gemfiles/3.0.gemfile.lock +7 -5
  13. data/gemfiles/3.1.gemfile +1 -1
  14. data/gemfiles/3.1.gemfile.lock +7 -5
  15. data/gemfiles/3.1_1.9.2.gemfile +1 -3
  16. data/gemfiles/3.1_1.9.2.gemfile.lock +7 -12
  17. data/gemfiles/3.2.gemfile +1 -1
  18. data/gemfiles/3.2.gemfile.lock +7 -5
  19. data/gemfiles/3.2_1.9.2.gemfile +1 -3
  20. data/gemfiles/3.2_1.9.2.gemfile.lock +5 -10
  21. data/gemfiles/4.0.0.gemfile +1 -1
  22. data/gemfiles/4.0.0.gemfile.lock +7 -5
  23. data/gemfiles/4.0.1.gemfile +1 -1
  24. data/gemfiles/4.0.1.gemfile.lock +7 -5
  25. data/gemfiles/4.1.gemfile +1 -1
  26. data/gemfiles/4.1.gemfile.lock +7 -5
  27. data/gemfiles/4.2.gemfile +5 -3
  28. data/gemfiles/4.2.gemfile.lock +26 -8
  29. data/lib/shoulda/matchers/action_controller/set_flash_matcher.rb +2 -0
  30. data/lib/shoulda/matchers/active_model.rb +3 -2
  31. data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +44 -32
  32. data/lib/shoulda/matchers/active_model/helpers.rb +8 -22
  33. data/lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb +66 -19
  34. data/lib/shoulda/matchers/active_model/strict_validator.rb +51 -0
  35. data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +14 -13
  36. data/lib/shoulda/matchers/active_model/validator.rb +113 -0
  37. data/lib/shoulda/matchers/active_model/validator_with_captured_range_error.rb +12 -0
  38. data/lib/shoulda/matchers/active_record/association_matcher.rb +19 -1
  39. data/lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb +23 -2
  40. data/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb +14 -11
  41. data/lib/shoulda/matchers/active_record/have_db_column_matcher.rb +1 -0
  42. data/lib/shoulda/matchers/active_record/uniqueness/model.rb +1 -0
  43. data/lib/shoulda/matchers/active_record/uniqueness/namespace.rb +1 -0
  44. data/lib/shoulda/matchers/active_record/uniqueness/test_model_creator.rb +1 -0
  45. data/lib/shoulda/matchers/active_record/uniqueness/test_models.rb +1 -0
  46. data/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +22 -15
  47. data/lib/shoulda/matchers/matcher_context.rb +1 -0
  48. data/lib/shoulda/matchers/rails_shim.rb +22 -0
  49. data/lib/shoulda/matchers/util.rb +5 -0
  50. data/lib/shoulda/matchers/version.rb +1 -1
  51. data/script/update_gem_in_all_appraisals +15 -0
  52. data/shoulda-matchers.gemspec +1 -1
  53. data/spec/support/unit/helpers/active_model_helpers.rb +3 -1
  54. data/spec/support/unit/helpers/active_model_versions.rb +8 -0
  55. data/spec/support/unit/helpers/active_record_versions.rb +16 -0
  56. data/spec/support/unit/helpers/rails_versions.rb +4 -4
  57. data/spec/support/unit/matchers/fail_with_message_matcher.rb +9 -8
  58. data/spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb +74 -0
  59. data/spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb +75 -0
  60. data/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb +24 -0
  61. data/spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb +78 -5
  62. data/spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb +31 -2
  63. data/spec/unit_spec_helper.rb +2 -0
  64. metadata +11 -8
  65. data/lib/shoulda/matchers/active_model/exception_message_finder.rb +0 -58
  66. data/lib/shoulda/matchers/active_model/validation_message_finder.rb +0 -69
  67. data/spec/unit/shoulda/matchers/active_model/exception_message_finder_spec.rb +0 -111
  68. data/spec/unit/shoulda/matchers/active_model/validation_message_finder_spec.rb +0 -129
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ee8c0b0e1f256d925dbe3f9a4605c50e6ba6f10
4
- data.tar.gz: 57dd2a461fe108817bd4e0fa289eac15de7bdfb3
3
+ metadata.gz: 32080268ac2a3012ac2aa244c3ac77423ed70476
4
+ data.tar.gz: 4ceeb77988ab6611c4d969a1c4e8c4a05c9cbca4
5
5
  SHA512:
6
- metadata.gz: f91eb0eb49ac9fa2db0b2905b54c3402a023c2ac15d41ec3f4e303f7eb9c15d220fcb32ce68b823dac8c2950e767d7959118222cea6c9db0fce77b80f513d463
7
- data.tar.gz: 2a2ee684b5cba052bee3012048b59c4588b0da070e8fbeeac94a8913128d3dd02999558ba83b5cec85d0c28402f6cf7e13bf6a6634ca9c6dc8db5547606c4199
6
+ metadata.gz: b96f693aec168e4fa7e19991b0b0e8622b2e568d6ae052f8c2ad109b80f6e3b04ad354cf80db62378ccd7f77618f7eb1df1354195e12adcb473e1b2ba8d45403
7
+ data.tar.gz: c2c33d4404bd7dfa62f3fb72fa7f1a554cf414bcea7204fd691659dc55c4b82a86be6af059b58e7954194a7a348de37a2f0dadf23d9fb62f3503a0ed233a53db
data/.hound.yml ADDED
@@ -0,0 +1,3 @@
1
+ ruby:
2
+ enabled: true
3
+ config_file: .hound_config/ruby.yml
@@ -0,0 +1,5 @@
1
+ StringLiterals:
2
+ EnforcedStyle: single_quotes
3
+
4
+ AlignParameters:
5
+ EnforcedStyle: with_fixed_indentation
data/.travis.yml CHANGED
@@ -36,6 +36,8 @@ matrix:
36
36
  gemfile: gemfiles/4.0.1.gemfile
37
37
  - rvm: 2.0.0
38
38
  gemfile: gemfiles/4.1.gemfile
39
+ - rvm: 2.0.0
40
+ gemfile: gemfiles/4.2.gemfile
39
41
  - rvm: 2.1.4
40
42
  gemfile: gemfiles/3.2.gemfile
41
43
  - rvm: 2.1.4
@@ -44,6 +46,8 @@ matrix:
44
46
  gemfile: gemfiles/4.0.1.gemfile
45
47
  - rvm: 2.1.4
46
48
  gemfile: gemfiles/4.1.gemfile
49
+ - rvm: 2.1.4
50
+ gemfile: gemfiles/4.2.gemfile
47
51
  - rvm: rbx-19mode
48
52
  gemfile: gemfiles/3.2.gemfile
49
53
  - rvm: jruby-19mode
data/.yardopts CHANGED
@@ -1,7 +1,7 @@
1
1
  --no-private
2
2
  --protected
3
3
  --readme README.md
4
- --files lib/**/*.rb
4
+ --files NEWS.md
5
5
  --markup markdown
6
6
  --hide-tag return
7
7
  --hide-tag param
data/Appraisals CHANGED
@@ -115,11 +115,14 @@ if Gem::Requirement.new('> 1.9.2').satisfied_by?(ruby_version)
115
115
  appraise '4.2' do
116
116
  instance_eval(&rails_4)
117
117
  gem 'rails', '~> 4.2.0'
118
- gem 'jbuilder', '~> 2.0'
119
118
  gem 'sass-rails', '~> 5.0'
119
+ gem 'coffee-rails', '~> 4.1.0'
120
+ gem 'jbuilder', '~> 2.0'
120
121
  gem 'sdoc', '~> 0.4.0'
121
122
  gem 'bcrypt', '~> 3.1.7'
122
- gem 'protected_attributes', "~> 1.0.6"
123
+ gem 'byebug'
124
+ gem 'web-console', '~> 2.0'
123
125
  gem 'spring'
126
+ gem 'protected_attributes', "~> 1.0.6"
124
127
  end
125
128
  end
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ gem 'appraisal', '~> 1.0'
4
4
  gem 'aruba'
5
5
  gem 'bourne', '~> 1.3'
6
6
  gem 'bundler', '~> 1.1'
7
- gem 'pry'
7
+ gem 'pry-nav'
8
8
  gem 'rails', '~> 3.0'
9
9
  gem 'rake', '>= 0.9.2'
10
10
  gem 'rspec-rails', '>= 2.99.0'
data/Gemfile.lock CHANGED
@@ -70,10 +70,12 @@ GEM
70
70
  multi_test (0.1.1)
71
71
  polyglot (0.3.3)
72
72
  posix-spawn (0.3.8)
73
- pry (0.9.12.6)
74
- coderay (~> 1.0)
75
- method_source (~> 0.8)
73
+ pry (0.10.1)
74
+ coderay (~> 1.1.0)
75
+ method_source (~> 0.8.1)
76
76
  slop (~> 3.4)
77
+ pry-nav (0.2.4)
78
+ pry (>= 0.9.10, < 0.11.0)
77
79
  pygments.rb (0.3.7)
78
80
  posix-spawn (~> 0.3.6)
79
81
  yajl-ruby (~> 1.1.0)
@@ -120,7 +122,7 @@ GEM
120
122
  rspec-support (~> 3.0.0)
121
123
  rspec-support (3.0.3)
122
124
  shoulda-context (1.2.0)
123
- slop (3.4.7)
125
+ slop (3.6.0)
124
126
  sprockets (2.2.2)
125
127
  hike (~> 1.2)
126
128
  multi_json (~> 1.0)
@@ -149,7 +151,7 @@ DEPENDENCIES
149
151
  bundler (~> 1.1)
150
152
  jdbc-sqlite3
151
153
  jruby-openssl
152
- pry
154
+ pry-nav
153
155
  pygments.rb
154
156
  rails (~> 3.0)
155
157
  rake (>= 0.9.2)
data/NEWS.md CHANGED
@@ -1,3 +1,27 @@
1
+ # 2.8.0.rc2
2
+
3
+ ### Bug fixes
4
+
5
+ * Fix `allow_value`, `validate_numericality_of` and `validate_inclusion_of` so
6
+ that they handle RangeErrors emitted from ActiveRecord 4.2. These exceptions
7
+ arise whenever we attempt to set an attribute using a value that lies outside
8
+ the range of the column (assuming the column is an integer). RangeError is now
9
+ treated specially, failing the test instead of bubbling up as an error.
10
+ ([#634], [#637], [#642])
11
+
12
+ ### Features
13
+
14
+ * Update `dependent` qualifier on association matchers to support `:destroy`,
15
+ `:delete`, `:nullify`, `:restrict`, `:restrict_with_exception`, and
16
+ `:restrict_with_error`. You can also pass `true` or `false` to assert that
17
+ the association has (or has not) been declared with *any* dependent option.
18
+ ([#631])
19
+
20
+ [#631]: https://github.com/thoughtbot/shoulda-matchers/pull/631
21
+ [#634]: https://github.com/thoughtbot/shoulda-matchers/pull/634
22
+ [#637]: https://github.com/thoughtbot/shoulda-matchers/pull/637
23
+ [#642]: https://github.com/thoughtbot/shoulda-matchers/pull/642
24
+
1
25
  # 2.8.0.rc1
2
26
 
3
27
  ### Deprecations
data/README.md CHANGED
@@ -72,6 +72,15 @@ complex, and error-prone.
72
72
  makes assertions on the `session` hash.
73
73
  * **[set_flash](lib/shoulda/matchers/action_controller/set_flash_matcher.rb)**
74
74
  makes assertions on the `flash` hash.
75
+ * **[use_after_action](lib/shoulda/matchers/action_controller/use_after_action.rb)**
76
+ tests that a `after_action` callback is defined in your controller. (Aliased
77
+ as *use_after_filter*.)
78
+ * **[use_around_action](lib/shoulda/matchers/action_controller/use_around_action.rb)**
79
+ tests that a `around_action` callback is defined in your controller. (Aliased
80
+ as *use_around_filter*.)
81
+ * **[use_before_action](lib/shoulda/matchers/action_controller/use_before_action.rb)**
82
+ tests that a `before_action` callback is defined in your controller. (Aliased
83
+ as *use_before_filter*.)
75
84
 
76
85
  ### Independent Matchers
77
86
 
data/gemfiles/3.0.gemfile CHANGED
@@ -6,7 +6,7 @@ gem "appraisal", "~> 1.0"
6
6
  gem "aruba"
7
7
  gem "bourne", "~> 1.3"
8
8
  gem "bundler", "~> 1.1"
9
- gem "pry"
9
+ gem "pry-nav"
10
10
  gem "rails", "~> 3.0.17"
11
11
  gem "rake", ">= 0.9.2"
12
12
  gem "rspec-rails", "2.99.0"
@@ -82,10 +82,12 @@ GEM
82
82
  powerbar (1.0.11)
83
83
  ansi (~> 1.4.0)
84
84
  hashie (>= 1.1.0)
85
- pry (0.9.12.6)
86
- coderay (~> 1.0)
87
- method_source (~> 0.8)
85
+ pry (0.10.1)
86
+ coderay (~> 1.1.0)
87
+ method_source (~> 0.8.1)
88
88
  slop (~> 3.4)
89
+ pry-nav (0.2.4)
90
+ pry (>= 0.9.10, < 0.11.0)
89
91
  pygments.rb (0.6.0)
90
92
  posix-spawn (~> 0.3.6)
91
93
  yajl-ruby (~> 1.1.0)
@@ -128,7 +130,7 @@ GEM
128
130
  rspec-expectations (~> 2.99.0)
129
131
  rspec-mocks (~> 2.99.0)
130
132
  shoulda-context (1.2.0)
131
- slop (3.4.7)
133
+ slop (3.6.0)
132
134
  sqlite3 (1.3.7)
133
135
  strong_parameters (0.2.0)
134
136
  actionpack (~> 3.0)
@@ -157,7 +159,7 @@ DEPENDENCIES
157
159
  jruby-openssl
158
160
  minitest (~> 4.0)
159
161
  minitest-reporters
160
- pry
162
+ pry-nav
161
163
  pygments.rb
162
164
  rails (~> 3.0.17)
163
165
  rake (>= 0.9.2)
data/gemfiles/3.1.gemfile CHANGED
@@ -6,7 +6,7 @@ gem "appraisal", "~> 1.0"
6
6
  gem "aruba"
7
7
  gem "bourne", "~> 1.3"
8
8
  gem "bundler", "~> 1.1"
9
- gem "pry"
9
+ gem "pry-nav"
10
10
  gem "rails", "~> 3.1.8"
11
11
  gem "rake", ">= 0.9.2"
12
12
  gem "rspec-rails", "2.99.0"
@@ -94,10 +94,12 @@ GEM
94
94
  powerbar (1.0.11)
95
95
  ansi (~> 1.4.0)
96
96
  hashie (>= 1.1.0)
97
- pry (0.9.12.6)
98
- coderay (~> 1.0)
99
- method_source (~> 0.8)
97
+ pry (0.10.1)
98
+ coderay (~> 1.1.0)
99
+ method_source (~> 0.8.1)
100
100
  slop (~> 3.4)
101
+ pry-nav (0.2.4)
102
+ pry (>= 0.9.10, < 0.11.0)
101
103
  pygments.rb (0.6.0)
102
104
  posix-spawn (~> 0.3.6)
103
105
  yajl-ruby (~> 1.1.0)
@@ -151,7 +153,7 @@ GEM
151
153
  sass (>= 3.1.10)
152
154
  tilt (~> 1.3.2)
153
155
  shoulda-context (1.2.0)
154
- slop (3.4.7)
156
+ slop (3.6.0)
155
157
  sprockets (2.0.4)
156
158
  hike (~> 1.2)
157
159
  rack (~> 1.0)
@@ -193,7 +195,7 @@ DEPENDENCIES
193
195
  jruby-openssl
194
196
  minitest (~> 4.0)
195
197
  minitest-reporters
196
- pry
198
+ pry-nav
197
199
  pygments.rb
198
200
  rails (~> 3.1.8)
199
201
  rake (>= 0.9.2)
@@ -6,7 +6,7 @@ gem "appraisal", "~> 1.0"
6
6
  gem "aruba"
7
7
  gem "bourne", "~> 1.3"
8
8
  gem "bundler", "~> 1.1"
9
- gem "pry"
9
+ gem "pry-nav"
10
10
  gem "rails", "~> 3.1.8"
11
11
  gem "rake", ">= 0.9.2"
12
12
  gem "rspec-rails", "2.99.0"
@@ -30,5 +30,3 @@ gem "sass-rails", "~> 3.1.5"
30
30
  gem "coffee-rails", "~> 3.1.1"
31
31
  gem "uglifier", ">= 1.0.3"
32
32
  gem "turn", "0.8.2"
33
-
34
- gemspec :path => "../"
@@ -1,9 +1,3 @@
1
- PATH
2
- remote: .././
3
- specs:
4
- shoulda-matchers (2.7.0)
5
- activesupport (>= 3.0.0)
6
-
7
1
  GEM
8
2
  remote: https://rubygems.org/
9
3
  specs:
@@ -100,10 +94,12 @@ GEM
100
94
  powerbar (1.0.11)
101
95
  ansi (~> 1.4.0)
102
96
  hashie (>= 1.1.0)
103
- pry (0.9.12.6)
104
- coderay (~> 1.0)
105
- method_source (~> 0.8)
97
+ pry (0.10.1)
98
+ coderay (~> 1.1.0)
99
+ method_source (~> 0.8.1)
106
100
  slop (~> 3.4)
101
+ pry-nav (0.2.4)
102
+ pry (>= 0.9.10, < 0.11.0)
107
103
  pygments.rb (0.6.0)
108
104
  posix-spawn (~> 0.3.6)
109
105
  yajl-ruby (~> 1.1.0)
@@ -157,7 +153,7 @@ GEM
157
153
  sass (>= 3.1.10)
158
154
  tilt (~> 1.3.2)
159
155
  shoulda-context (1.2.0)
160
- slop (3.4.7)
156
+ slop (3.6.0)
161
157
  sprockets (2.0.4)
162
158
  hike (~> 1.2)
163
159
  rack (~> 1.0)
@@ -199,7 +195,7 @@ DEPENDENCIES
199
195
  jruby-openssl
200
196
  minitest (~> 4.0)
201
197
  minitest-reporters
202
- pry
198
+ pry-nav
203
199
  pygments.rb
204
200
  rails (~> 3.1.8)
205
201
  rake (>= 0.9.2)
@@ -207,7 +203,6 @@ DEPENDENCIES
207
203
  rspec-rails (= 2.99.0)
208
204
  sass-rails (~> 3.1.5)
209
205
  shoulda-context (~> 1.2.0)
210
- shoulda-matchers!
211
206
  sqlite3
212
207
  strong_parameters
213
208
  therubyrhino
data/gemfiles/3.2.gemfile CHANGED
@@ -6,7 +6,7 @@ gem "appraisal", "~> 1.0"
6
6
  gem "aruba"
7
7
  gem "bourne", "~> 1.3"
8
8
  gem "bundler", "~> 1.1"
9
- gem "pry"
9
+ gem "pry-nav"
10
10
  gem "rails", "~> 3.2.13"
11
11
  gem "rake", ">= 0.9.2"
12
12
  gem "rspec-rails", "2.99.0"
@@ -94,10 +94,12 @@ GEM
94
94
  powerbar (1.0.11)
95
95
  ansi (~> 1.4.0)
96
96
  hashie (>= 1.1.0)
97
- pry (0.9.12.6)
98
- coderay (~> 1.0)
99
- method_source (~> 0.8)
97
+ pry (0.10.1)
98
+ coderay (~> 1.1.0)
99
+ method_source (~> 0.8.1)
100
100
  slop (~> 3.4)
101
+ pry-nav (0.2.4)
102
+ pry (>= 0.9.10, < 0.11.0)
101
103
  pygments.rb (0.6.0)
102
104
  posix-spawn (~> 0.3.6)
103
105
  yajl-ruby (~> 1.1.0)
@@ -148,7 +150,7 @@ GEM
148
150
  sass (>= 3.1.10)
149
151
  tilt (~> 1.3)
150
152
  shoulda-context (1.2.0)
151
- slop (3.4.7)
153
+ slop (3.6.0)
152
154
  spring (1.1.3)
153
155
  spring-commands-rspec (1.0.2)
154
156
  spring (>= 0.9.1)
@@ -192,7 +194,7 @@ DEPENDENCIES
192
194
  jruby-openssl
193
195
  minitest (~> 4.0)
194
196
  minitest-reporters
195
- pry
197
+ pry-nav
196
198
  pygments.rb
197
199
  rails (~> 3.2.13)
198
200
  rake (>= 0.9.2)
@@ -6,7 +6,7 @@ gem "appraisal", "~> 1.0"
6
6
  gem "aruba"
7
7
  gem "bourne", "~> 1.3"
8
8
  gem "bundler", "~> 1.1"
9
- gem "pry"
9
+ gem "pry-nav"
10
10
  gem "rails", "~> 3.2.13"
11
11
  gem "rake", ">= 0.9.2"
12
12
  gem "rspec-rails", "2.99.0"
@@ -29,5 +29,3 @@ gem "jquery-rails"
29
29
  gem "sass-rails", "~> 3.2.3"
30
30
  gem "coffee-rails", "~> 3.2.1"
31
31
  gem "uglifier", ">= 1.0.3"
32
-
33
- gemspec :path => "../"
@@ -1,9 +1,3 @@
1
- PATH
2
- remote: .././
3
- specs:
4
- shoulda-matchers (2.7.0)
5
- activesupport (>= 3.0.0)
6
-
7
1
  GEM
8
2
  remote: https://rubygems.org/
9
3
  specs:
@@ -99,10 +93,12 @@ GEM
99
93
  powerbar (1.0.11)
100
94
  ansi (~> 1.4.0)
101
95
  hashie (>= 1.1.0)
102
- pry (0.10.0)
96
+ pry (0.10.1)
103
97
  coderay (~> 1.1.0)
104
98
  method_source (~> 0.8.1)
105
99
  slop (~> 3.4)
100
+ pry-nav (0.2.4)
101
+ pry (>= 0.9.10, < 0.11.0)
106
102
  pygments.rb (0.6.0)
107
103
  posix-spawn (~> 0.3.6)
108
104
  yajl-ruby (~> 1.1.0)
@@ -153,7 +149,7 @@ GEM
153
149
  sass (>= 3.1.10)
154
150
  tilt (~> 1.3)
155
151
  shoulda-context (1.2.1)
156
- slop (3.5.0)
152
+ slop (3.6.0)
157
153
  sprockets (2.2.2)
158
154
  hike (~> 1.2)
159
155
  multi_json (~> 1.0)
@@ -195,7 +191,7 @@ DEPENDENCIES
195
191
  jruby-openssl
196
192
  minitest (~> 4.0)
197
193
  minitest-reporters
198
- pry
194
+ pry-nav
199
195
  pygments.rb
200
196
  rails (~> 3.2.13)
201
197
  rake (>= 0.9.2)
@@ -203,7 +199,6 @@ DEPENDENCIES
203
199
  rspec-rails (= 2.99.0)
204
200
  sass-rails (~> 3.2.3)
205
201
  shoulda-context (~> 1.2.0)
206
- shoulda-matchers!
207
202
  sqlite3
208
203
  strong_parameters
209
204
  therubyrhino
@@ -6,7 +6,7 @@ gem "appraisal", "~> 1.0"
6
6
  gem "aruba"
7
7
  gem "bourne", "~> 1.3"
8
8
  gem "bundler", "~> 1.1"
9
- gem "pry"
9
+ gem "pry-nav"
10
10
  gem "rails", "4.0.0"
11
11
  gem "rake", ">= 0.9.2"
12
12
  gem "rspec-rails", "~> 3.0.1"
@@ -98,10 +98,12 @@ GEM
98
98
  hashie (>= 1.1.0)
99
99
  protected_attributes (1.0.3)
100
100
  activemodel (>= 4.0.0, < 5.0)
101
- pry (0.9.12.6)
102
- coderay (~> 1.0)
103
- method_source (~> 0.8)
101
+ pry (0.10.1)
102
+ coderay (~> 1.1.0)
103
+ method_source (~> 0.8.1)
104
104
  slop (~> 3.4)
105
+ pry-nav (0.2.4)
106
+ pry (>= 0.9.10, < 0.11.0)
105
107
  pygments.rb (0.6.0)
106
108
  posix-spawn (~> 0.3.6)
107
109
  yajl-ruby (~> 1.1.0)
@@ -153,7 +155,7 @@ GEM
153
155
  json (~> 1.8)
154
156
  rdoc (~> 4.0, < 5.0)
155
157
  shoulda-context (1.2.0)
156
- slop (3.4.7)
158
+ slop (3.6.0)
157
159
  spring (1.1.3)
158
160
  spring-commands-rspec (1.0.2)
159
161
  spring (>= 0.9.1)
@@ -202,7 +204,7 @@ DEPENDENCIES
202
204
  jruby-openssl
203
205
  minitest-reporters
204
206
  protected_attributes
205
- pry
207
+ pry-nav
206
208
  pygments.rb
207
209
  rails (= 4.0.0)
208
210
  rake (>= 0.9.2)