rspec-expectations 2.14.5 → 2.99.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ module SpecHelperMethods
2
+ def expect_deprecation_with_call_site(file, line)
3
+ expect(RSpec.configuration.reporter).to receive(:deprecation) do |options|
4
+ expect(options[:call_site]).to include([file, line].join(':'))
5
+ end
6
+ end
7
+
8
+ def allow_deprecation
9
+ allow(RSpec.configuration.reporter).to receive(:deprecation)
10
+ end
11
+ end
metadata CHANGED
@@ -1,71 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rspec-expectations
3
- version: !ruby/object:Gem::Version
4
- version: 2.14.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.99.0.beta1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Steven Baker
8
8
  - David Chelimsky
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2014-02-01 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- version_requirements: &id001 !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ">="
19
- - !ruby/object:Gem::Version
12
+ date: 2013-11-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: diff-lcs
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ! '>='
19
+ - !ruby/object:Gem::Version
20
20
  version: 1.1.3
21
21
  - - <
22
- - !ruby/object:Gem::Version
23
- version: "2.0"
24
- prerelease: false
25
- name: diff-lcs
22
+ - !ruby/object:Gem::Version
23
+ version: '2.0'
26
24
  type: :runtime
27
- requirement: *id001
28
- - !ruby/object:Gem::Dependency
29
- version_requirements: &id002 !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: 10.0.0
34
25
  prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 1.1.3
31
+ - - <
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ - !ruby/object:Gem::Dependency
35
35
  name: rake
36
- type: :development
37
- requirement: *id002
38
- - !ruby/object:Gem::Dependency
39
- version_requirements: &id003 !ruby/object:Gem::Requirement
40
- requirements:
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
41
38
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: 1.1.9
39
+ - !ruby/object:Gem::Version
40
+ version: 10.0.0
41
+ type: :development
44
42
  prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 10.0.0
48
+ - !ruby/object:Gem::Dependency
45
49
  name: cucumber
46
- type: :development
47
- requirement: *id003
48
- - !ruby/object:Gem::Dependency
49
- version_requirements: &id004 !ruby/object:Gem::Requirement
50
- requirements:
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
51
52
  - - ~>
52
- - !ruby/object:Gem::Version
53
- version: "0.5"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.1.9
55
+ type: :development
54
56
  prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.9
62
+ - !ruby/object:Gem::Dependency
55
63
  name: aruba
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.5'
56
69
  type: :development
57
- requirement: *id004
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '0.5'
58
76
  description: rspec expectations (should[_not] and matchers)
59
77
  email: rspec-users@rubyforge.org
60
78
  executables: []
61
-
62
79
  extensions: []
63
-
64
80
  extra_rdoc_files: []
65
-
66
- files:
81
+ files:
67
82
  - lib/rspec-expectations.rb
68
83
  - lib/rspec/expectations.rb
84
+ - lib/rspec/expectations/caller_filter.rb
69
85
  - lib/rspec/expectations/deprecation.rb
70
86
  - lib/rspec/expectations/differ.rb
71
87
  - lib/rspec/expectations/errors.rb
@@ -104,6 +120,7 @@ files:
104
120
  - lib/rspec/matchers/built_in/yield.rb
105
121
  - lib/rspec/matchers/compatibility.rb
106
122
  - lib/rspec/matchers/configuration.rb
123
+ - lib/rspec/matchers/differentiate_block_method_types.rb
107
124
  - lib/rspec/matchers/dsl.rb
108
125
  - lib/rspec/matchers/extensions/instance_eval_with_args.rb
109
126
  - lib/rspec/matchers/generated_descriptions.rb
@@ -169,6 +186,7 @@ files:
169
186
  - spec/rspec/matchers/configuration_spec.rb
170
187
  - spec/rspec/matchers/cover_spec.rb
171
188
  - spec/rspec/matchers/description_generation_spec.rb
189
+ - spec/rspec/matchers/differentiate_block_method_types_spec.rb
172
190
  - spec/rspec/matchers/dsl_spec.rb
173
191
  - spec/rspec/matchers/eq_spec.rb
174
192
  - spec/rspec/matchers/eql_spec.rb
@@ -192,37 +210,37 @@ files:
192
210
  - spec/rspec/matchers/yield_spec.rb
193
211
  - spec/spec_helper.rb
194
212
  - spec/support/classes.rb
213
+ - spec/support/helper_methods.rb
195
214
  - spec/support/in_sub_process.rb
196
215
  - spec/support/matchers.rb
197
216
  - spec/support/ruby_version.rb
198
217
  - spec/support/shared_examples.rb
199
218
  homepage: http://github.com/rspec/rspec-expectations
200
- licenses:
219
+ licenses:
201
220
  - MIT
202
221
  metadata: {}
203
-
204
222
  post_install_message:
205
- rdoc_options:
223
+ rdoc_options:
206
224
  - --charset=UTF-8
207
- require_paths:
225
+ require_paths:
208
226
  - lib
209
- required_ruby_version: !ruby/object:Gem::Requirement
210
- requirements:
211
- - &id005
212
- - ">="
213
- - !ruby/object:Gem::Version
214
- version: "0"
215
- required_rubygems_version: !ruby/object:Gem::Requirement
216
- requirements:
217
- - *id005
227
+ required_ruby_version: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - ! '>='
230
+ - !ruby/object:Gem::Version
231
+ version: '0'
232
+ required_rubygems_version: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ! '>'
235
+ - !ruby/object:Gem::Version
236
+ version: 1.3.1
218
237
  requirements: []
219
-
220
238
  rubyforge_project: rspec
221
- rubygems_version: 2.0.3
239
+ rubygems_version: 2.0.7
222
240
  signing_key:
223
241
  specification_version: 4
224
- summary: rspec-expectations-2.14.5
225
- test_files:
242
+ summary: rspec-expectations-2.99.0.beta1
243
+ test_files:
226
244
  - features/README.md
227
245
  - features/Upgrade.md
228
246
  - features/built_in_matchers/README.md
@@ -275,6 +293,7 @@ test_files:
275
293
  - spec/rspec/matchers/configuration_spec.rb
276
294
  - spec/rspec/matchers/cover_spec.rb
277
295
  - spec/rspec/matchers/description_generation_spec.rb
296
+ - spec/rspec/matchers/differentiate_block_method_types_spec.rb
278
297
  - spec/rspec/matchers/dsl_spec.rb
279
298
  - spec/rspec/matchers/eq_spec.rb
280
299
  - spec/rspec/matchers/eql_spec.rb
@@ -298,6 +317,7 @@ test_files:
298
317
  - spec/rspec/matchers/yield_spec.rb
299
318
  - spec/spec_helper.rb
300
319
  - spec/support/classes.rb
320
+ - spec/support/helper_methods.rb
301
321
  - spec/support/in_sub_process.rb
302
322
  - spec/support/matchers.rb
303
323
  - spec/support/ruby_version.rb