shoulda-matchers 1.5.2 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -6
- data/NEWS.md +6 -0
- data/README.md +2 -4
- data/features/rails_integration.feature +2 -2
- data/features/step_definitions/rails_steps.rb +2 -4
- data/gemfiles/3.0.gemfile.lock +2 -7
- data/gemfiles/3.1.gemfile.lock +2 -7
- data/gemfiles/3.2.gemfile.lock +2 -7
- data/lib/shoulda/matchers/integrations/rspec.rb +1 -1
- data/lib/shoulda/matchers/version.rb +1 -1
- data/shoulda-matchers.gemspec +0 -1
- metadata +5 -21
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (1.5.
|
4
|
+
shoulda-matchers (1.5.4)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
bourne (~> 1.3)
|
7
7
|
|
@@ -97,10 +97,6 @@ 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)
|
104
100
|
rspec-core (2.13.1)
|
105
101
|
rspec-expectations (2.13.0)
|
106
102
|
diff-lcs (>= 1.1.3, < 2.0)
|
@@ -144,7 +140,6 @@ DEPENDENCIES
|
|
144
140
|
jruby-openssl
|
145
141
|
rails (~> 3.0)
|
146
142
|
rake (>= 0.9.2)
|
147
|
-
rspec (~> 2.13)
|
148
143
|
rspec-rails (~> 2.13)
|
149
144
|
shoulda-context (~> 1.0.0)
|
150
145
|
shoulda-matchers!
|
data/NEWS.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# HEAD
|
2
2
|
|
3
|
+
# v 1.5.4
|
4
|
+
* Properly-released version of 1.5.3
|
5
|
+
|
6
|
+
# v 1.5.3 - yanked due to mis-release
|
7
|
+
* Alleviate the need to add `rspec` gem to your app
|
8
|
+
|
3
9
|
# v 1.5.1
|
4
10
|
* Bump version depedency of Bourne to allow for Mocha upgrade.
|
5
11
|
* Should fix incompatiblity with MiniTest.
|
data/README.md
CHANGED
@@ -85,11 +85,9 @@ group :test do
|
|
85
85
|
gem "shoulda-matchers"
|
86
86
|
end
|
87
87
|
|
88
|
-
# rspec-rails needs to be in the development group so that Rails generators
|
89
|
-
# work.
|
88
|
+
# `rspec-rails` needs to be in the development group so that Rails generators work.
|
90
89
|
group :development, :test do
|
91
|
-
gem "rspec"
|
92
|
-
gem "rspec-rails"
|
90
|
+
gem "rspec-rails", "~> 2.12"
|
93
91
|
end
|
94
92
|
```
|
95
93
|
|
@@ -62,7 +62,7 @@ Feature: integrate with Rails
|
|
62
62
|
And the output should contain "ExamplesController should assign @example"
|
63
63
|
|
64
64
|
Scenario: generate a rails application and use matchers in Rspec
|
65
|
-
When I configure the application to use rspec
|
65
|
+
When I configure the application to use rspec-rails
|
66
66
|
And I configure the application to use "shoulda-matchers" from this project
|
67
67
|
And I run the rspec generator
|
68
68
|
And I write to "spec/models/user_spec.rb" with:
|
@@ -88,7 +88,7 @@ Feature: integrate with Rails
|
|
88
88
|
And the output should contain "should assign @example"
|
89
89
|
|
90
90
|
Scenario: generate a Rails application that mixes Rspec and Test::Unit
|
91
|
-
When I configure the application to use rspec
|
91
|
+
When I configure the application to use rspec-rails in test and development
|
92
92
|
And I configure the application to use "shoulda-matchers" from this project in test and development
|
93
93
|
And I run the rspec generator
|
94
94
|
And I write to "spec/models/user_spec.rb" with:
|
@@ -52,16 +52,14 @@ When 'I run the rspec generator' do
|
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
|
-
When 'I configure the application to use rspec
|
56
|
-
append_to_gemfile %q(gem 'rspec', '~> 2.13')
|
55
|
+
When 'I configure the application to use rspec-rails' do
|
57
56
|
append_to_gemfile %q(gem 'rspec-rails', '~> 2.13')
|
58
57
|
steps %{And I run `bundle install --local`}
|
59
58
|
end
|
60
59
|
|
61
|
-
When 'I configure the application to use rspec
|
60
|
+
When 'I configure the application to use rspec-rails in test and development' do
|
62
61
|
append_to_gemfile <<-GEMFILE
|
63
62
|
group :test, :development do
|
64
|
-
gem 'rspec', '~> 2.13'
|
65
63
|
gem 'rspec-rails', '~> 2.13'
|
66
64
|
end
|
67
65
|
GEMFILE
|
data/gemfiles/3.0.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
|
-
remote: /Users/
|
2
|
+
remote: /Users/melissaxie/thoughtbot/shoulda-matchers
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (1.5.
|
4
|
+
shoulda-matchers (1.5.4)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
bourne (~> 1.3)
|
7
7
|
|
@@ -94,10 +94,6 @@ GEM
|
|
94
94
|
rake (10.0.3)
|
95
95
|
rdoc (3.12.2)
|
96
96
|
json (~> 1.4)
|
97
|
-
rspec (2.13.0)
|
98
|
-
rspec-core (~> 2.13.0)
|
99
|
-
rspec-expectations (~> 2.13.0)
|
100
|
-
rspec-mocks (~> 2.13.0)
|
101
97
|
rspec-core (2.13.1)
|
102
98
|
rspec-expectations (2.13.0)
|
103
99
|
diff-lcs (>= 1.1.3, < 2.0)
|
@@ -135,7 +131,6 @@ DEPENDENCIES
|
|
135
131
|
jruby-openssl
|
136
132
|
rails (~> 3.0.17)
|
137
133
|
rake (>= 0.9.2)
|
138
|
-
rspec (~> 2.13)
|
139
134
|
rspec-rails (~> 2.13)
|
140
135
|
shoulda-context (~> 1.0.0)
|
141
136
|
shoulda-matchers!
|
data/gemfiles/3.1.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
|
-
remote: /Users/
|
2
|
+
remote: /Users/melissaxie/thoughtbot/shoulda-matchers
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (1.5.
|
4
|
+
shoulda-matchers (1.5.4)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
bourne (~> 1.3)
|
7
7
|
|
@@ -102,10 +102,6 @@ GEM
|
|
102
102
|
rake (10.0.3)
|
103
103
|
rdoc (3.12.2)
|
104
104
|
json (~> 1.4)
|
105
|
-
rspec (2.13.0)
|
106
|
-
rspec-core (~> 2.13.0)
|
107
|
-
rspec-expectations (~> 2.13.0)
|
108
|
-
rspec-mocks (~> 2.13.0)
|
109
105
|
rspec-core (2.13.1)
|
110
106
|
rspec-expectations (2.13.0)
|
111
107
|
diff-lcs (>= 1.1.3, < 2.0)
|
@@ -155,7 +151,6 @@ DEPENDENCIES
|
|
155
151
|
jruby-openssl
|
156
152
|
rails (~> 3.1.8)
|
157
153
|
rake (>= 0.9.2)
|
158
|
-
rspec (~> 2.13)
|
159
154
|
rspec-rails (~> 2.13)
|
160
155
|
sass-rails
|
161
156
|
shoulda-context (~> 1.0.0)
|
data/gemfiles/3.2.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
|
-
remote: /Users/
|
2
|
+
remote: /Users/melissaxie/thoughtbot/shoulda-matchers
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (1.5.
|
4
|
+
shoulda-matchers (1.5.4)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
bourne (~> 1.3)
|
7
7
|
|
@@ -100,10 +100,6 @@ GEM
|
|
100
100
|
rake (10.0.3)
|
101
101
|
rdoc (3.12.2)
|
102
102
|
json (~> 1.4)
|
103
|
-
rspec (2.13.0)
|
104
|
-
rspec-core (~> 2.13.0)
|
105
|
-
rspec-expectations (~> 2.13.0)
|
106
|
-
rspec-mocks (~> 2.13.0)
|
107
103
|
rspec-core (2.13.1)
|
108
104
|
rspec-expectations (2.13.0)
|
109
105
|
diff-lcs (>= 1.1.3, < 2.0)
|
@@ -153,7 +149,6 @@ DEPENDENCIES
|
|
153
149
|
jruby-openssl
|
154
150
|
rails (~> 3.2.8)
|
155
151
|
rake (>= 0.9.2)
|
156
|
-
rspec (~> 2.13)
|
157
152
|
rspec-rails (~> 2.13)
|
158
153
|
sass-rails
|
159
154
|
shoulda-context (~> 1.0.0)
|
data/shoulda-matchers.gemspec
CHANGED
@@ -27,7 +27,6 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_development_dependency('cucumber', '~> 1.1')
|
28
28
|
s.add_development_dependency('rails', '~> 3.0')
|
29
29
|
s.add_development_dependency('rake', '>= 0.9.2')
|
30
|
-
s.add_development_dependency('rspec', '~> 2.13')
|
31
30
|
s.add_development_dependency('rspec-rails', '~> 2.13')
|
32
31
|
s.add_development_dependency('strong_parameters')
|
33
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2013-03-
|
17
|
+
date: 2013-03-21 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activesupport
|
@@ -144,22 +144,6 @@ dependencies:
|
|
144
144
|
- - ! '>='
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: 0.9.2
|
147
|
-
- !ruby/object:Gem::Dependency
|
148
|
-
name: rspec
|
149
|
-
requirement: !ruby/object:Gem::Requirement
|
150
|
-
none: false
|
151
|
-
requirements:
|
152
|
-
- - ~>
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '2.13'
|
155
|
-
type: :development
|
156
|
-
prerelease: false
|
157
|
-
version_requirements: !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
|
-
requirements:
|
160
|
-
- - ~>
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: '2.13'
|
163
147
|
- !ruby/object:Gem::Dependency
|
164
148
|
name: rspec-rails
|
165
149
|
requirement: !ruby/object:Gem::Requirement
|
@@ -325,7 +309,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
325
309
|
version: '0'
|
326
310
|
segments:
|
327
311
|
- 0
|
328
|
-
hash: -
|
312
|
+
hash: -725860603889119000
|
329
313
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
330
314
|
none: false
|
331
315
|
requirements:
|
@@ -334,10 +318,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
318
|
version: '0'
|
335
319
|
segments:
|
336
320
|
- 0
|
337
|
-
hash: -
|
321
|
+
hash: -725860603889119000
|
338
322
|
requirements: []
|
339
323
|
rubyforge_project:
|
340
|
-
rubygems_version: 1.8.
|
324
|
+
rubygems_version: 1.8.25
|
341
325
|
signing_key:
|
342
326
|
specification_version: 3
|
343
327
|
summary: Making tests easy on the fingers and eyes
|