rspec-core 2.99.0 → 2.99.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/Changelog.md +14 -0
- data/lib/rspec/core.rb +33 -0
- data/lib/rspec/core/example.rb +4 -6
- data/lib/rspec/core/rake_task.rb +1 -0
- data/lib/rspec/core/runner.rb +16 -1
- data/lib/rspec/core/version.rb +1 -1
- data/spec/command_line/order_spec.rb +10 -0
- data/spec/rspec/core/memoized_helpers_spec.rb +12 -0
- data/spec/rspec/core/runner_spec.rb +36 -1
- data/spec/rspec/core_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +87 -87
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MzBjODk5ZmU4ZTEzODk0ZmIyMTkwOTFiNWNhZTg2YWU4Yjc5ZjcxN2JkYWFm
|
10
|
-
YWE4ODk3YWFkZTkwM2M2NGZlZTFjYjI1ODRmNGIyOWY0YjQ0ZjMwNDhjNTUz
|
11
|
-
MDBjZDA3NjI2YWM1NmM2NGVlYzM1ZDE0ZDlmMjVlMmFkZGQ0NTU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTkwMmUxMzViOWE1MjQ2NTMzMTEwZWU1ODY4ODgxYjBlZjdkNjU3ODM2NDc5
|
14
|
-
YWRkNjA2M2U0NDE1OWJiOTNiN2E3ZTg3MDk4OTdlOTUwODk2M2JlMzBkZjU1
|
15
|
-
ODZlMjY4MjBkNWQ3YzgzMTUzNmJjZTFkMDllNTlkZTBmYjU0YjU=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 64d5f3074738a6b968d844fd5a07d7c748e50d47
|
4
|
+
data.tar.gz: d18fa7f7f048fe6de7695c62db9abadaf5ee3f62
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 03b2e42bb17c7dc9ec4167d8b1cc80e43991c7cfd94c91dee3d9a8332b21e7f3e52e92dd72bbd05da69a92f0d00f3b7e308989dab42cfd6aa79fa0a5dd25ccf2
|
7
|
+
data.tar.gz: 2e6ac446dc238f94461b51e98ebe967e91bc4530e81b36b5b56e45318b14de660a32e6526c2a2828a009f3ed04ec5329c596ffc8377a87ebaa3459975431fa1e
|
data/Changelog.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
### 2.99.1 / 2014-06-19
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0...v2.99.1)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Add missing deprecation warning for when `RSpec::Core::Runner` is used
|
7
|
+
multiple times in the same process. In 2.x RSpec's global state was
|
8
|
+
automatically cleared between runs but in 3.0 you need to call `RSpec.reset`
|
9
|
+
manually in these situations. (Sam Phippen, #1587)
|
10
|
+
* Prevent deprecation being accidentally issues when doubles used with `be_`
|
11
|
+
matchers due to automatically generated descriptions. (Jon Rowe, #1573)
|
12
|
+
* Load `rspec/core` when loading `rspec/core/rake_task` to ensure we can
|
13
|
+
issue deprecations correctly. (Jon Rowe, #1612)
|
14
|
+
|
1
15
|
### 2.99.0 / 2014-06-01
|
2
16
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.rc1...v2.99.0)
|
3
17
|
|
data/lib/rspec/core.rb
CHANGED
@@ -45,6 +45,14 @@ require_rspec['core/version']
|
|
45
45
|
module RSpec
|
46
46
|
autoload :SharedContext, 'rspec/core/shared_context'
|
47
47
|
|
48
|
+
class << self
|
49
|
+
# @private
|
50
|
+
# Counts the number of times RSpec.reset needs to be called to prevent
|
51
|
+
# a warning about reset's no longer being implicitly invoked.
|
52
|
+
attr_accessor :resets_required
|
53
|
+
RSpec.resets_required = 0
|
54
|
+
end
|
55
|
+
|
48
56
|
# @private
|
49
57
|
def self.wants_to_quit
|
50
58
|
# Used internally to determine what to do when a SIGINT is received
|
@@ -70,9 +78,34 @@ module RSpec
|
|
70
78
|
end
|
71
79
|
|
72
80
|
# @private
|
81
|
+
# Query to check if the user has called RSpec.reset
|
82
|
+
def self.user_has_called_reset?
|
83
|
+
@user_has_called_reset ||= false
|
84
|
+
end
|
85
|
+
|
86
|
+
# @private
|
87
|
+
# Warns that RSpec 3.0.0 will no longer call reset for users
|
88
|
+
def self.warn_about_calling_reset
|
89
|
+
RSpec.warn_deprecation(<<-EOD)
|
90
|
+
Calling `RSpec::Core::Runner.run` will no longer implicitly invoke
|
91
|
+
`RSpec.reset` as of RSpec 3.0.0. If you need RSpec to be reset between your
|
92
|
+
calls to `RSpec::Core::Runner.run` please invoke `RSpec.reset` manually in the
|
93
|
+
appropriate place.
|
94
|
+
EOD
|
95
|
+
end
|
96
|
+
|
97
|
+
# @public
|
73
98
|
# Used internally to ensure examples get reloaded between multiple runs in
|
74
99
|
# the same process.
|
75
100
|
def self.reset
|
101
|
+
RSpec.resets_required -= 1
|
102
|
+
internal_reset
|
103
|
+
end
|
104
|
+
|
105
|
+
# @private
|
106
|
+
# @see RSpec.reset
|
107
|
+
# Warns if the user has invoked RSpec.run twice in the same process.
|
108
|
+
def self.internal_reset
|
76
109
|
@world = nil
|
77
110
|
@configuration = nil
|
78
111
|
end
|
data/lib/rspec/core/example.rb
CHANGED
@@ -119,6 +119,7 @@ module RSpec
|
|
119
119
|
rescue Exception => e
|
120
120
|
set_exception(e)
|
121
121
|
ensure
|
122
|
+
assign_generated_description
|
122
123
|
run_after_each
|
123
124
|
end
|
124
125
|
end
|
@@ -130,12 +131,6 @@ module RSpec
|
|
130
131
|
@example_group_instance.instance_variable_set(ivar, nil)
|
131
132
|
end
|
132
133
|
@example_group_instance = nil
|
133
|
-
|
134
|
-
begin
|
135
|
-
assign_generated_description
|
136
|
-
rescue Exception => e
|
137
|
-
set_exception(e, "while assigning the example description")
|
138
|
-
end
|
139
134
|
end
|
140
135
|
|
141
136
|
finish(reporter)
|
@@ -313,6 +308,9 @@ An error occurred #{context}
|
|
313
308
|
if metadata[:description_args].empty? and !pending?
|
314
309
|
metadata[:description_args] << RSpec::Matchers.generated_description
|
315
310
|
end
|
311
|
+
rescue Exception => e
|
312
|
+
set_exception(e, "while assigning the example description")
|
313
|
+
ensure
|
316
314
|
RSpec::Matchers.clear_generated_description
|
317
315
|
end
|
318
316
|
|
data/lib/rspec/core/rake_task.rb
CHANGED
data/lib/rspec/core/runner.rb
CHANGED
@@ -47,6 +47,18 @@ module RSpec
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
|
51
|
+
# @private
|
52
|
+
# Warns that RSpec 3.0.0 will no longer call reset for users
|
53
|
+
def self.warn_about_calling_reset
|
54
|
+
RSpec.configuration.deprecation_stream.puts(<<-EOD)
|
55
|
+
Calling `RSpec::Core::Runner.run` will no longer implicitly invoke
|
56
|
+
`RSpec.reset` as of RSpec 3.0.0. If you need RSpec to be reset between your
|
57
|
+
calls to `RSpec::Core::Runner.run` please invoke `RSpec.reset` manually in the
|
58
|
+
appropriate place.
|
59
|
+
EOD
|
60
|
+
end
|
61
|
+
|
50
62
|
# Run a suite of RSpec examples.
|
51
63
|
#
|
52
64
|
# This is used internally by RSpec to run a suite, but is available
|
@@ -64,6 +76,8 @@ module RSpec
|
|
64
76
|
# #### Returns
|
65
77
|
# * +Fixnum+ - exit status code (0/1)
|
66
78
|
def self.run(args, err=$stderr, out=$stdout)
|
79
|
+
warn_about_calling_reset if RSpec.resets_required > 0
|
80
|
+
RSpec.resets_required += 1
|
67
81
|
trap_interrupt
|
68
82
|
options = ConfigurationOptions.new(args)
|
69
83
|
options.parse_options
|
@@ -89,8 +103,9 @@ module RSpec
|
|
89
103
|
new(options).run(err, out)
|
90
104
|
end
|
91
105
|
ensure
|
92
|
-
RSpec.
|
106
|
+
RSpec.internal_reset
|
93
107
|
end
|
94
108
|
end
|
109
|
+
|
95
110
|
end
|
96
111
|
end
|
data/lib/rspec/core/version.rb
CHANGED
@@ -81,6 +81,14 @@ describe 'command line', :ui do
|
|
81
81
|
"""
|
82
82
|
end
|
83
83
|
|
84
|
+
after do
|
85
|
+
RSpec.resets_required = 0
|
86
|
+
end
|
87
|
+
|
88
|
+
before do
|
89
|
+
RSpec.resets_required = 0
|
90
|
+
end
|
91
|
+
|
84
92
|
describe '--order rand' do
|
85
93
|
it 'runs the examples and groups in a different order each time' do
|
86
94
|
run_command 'tmp/aruba/spec/order_spec.rb --order rand -f doc'
|
@@ -200,5 +208,7 @@ describe 'command line', :ui do
|
|
200
208
|
|
201
209
|
def run_command(cmd)
|
202
210
|
RSpec::Core::Runner.run(cmd.split, stderr, stdout)
|
211
|
+
ensure
|
212
|
+
RSpec.reset
|
203
213
|
end
|
204
214
|
end
|
@@ -106,6 +106,18 @@ module RSpec::Core
|
|
106
106
|
expect(example_yielded_to_subject).to eq example_yielded_to_example
|
107
107
|
end
|
108
108
|
|
109
|
+
context "doesn't issue a deprecation when used with doubles" do
|
110
|
+
subject do
|
111
|
+
Struct.new(:value) do
|
112
|
+
def working_with?(double)
|
113
|
+
double.value >= value
|
114
|
+
end
|
115
|
+
end.new 1
|
116
|
+
end
|
117
|
+
|
118
|
+
it { should be_working_with double(:value => 10) }
|
119
|
+
end
|
120
|
+
|
109
121
|
[false, nil].each do |falsy_value|
|
110
122
|
context "with a value of #{falsy_value.inspect}" do
|
111
123
|
it "is evaluated once per example" do
|
@@ -26,10 +26,45 @@ module RSpec::Core
|
|
26
26
|
let(:err) { StringIO.new }
|
27
27
|
let(:out) { StringIO.new }
|
28
28
|
|
29
|
+
after { RSpec.resets_required = 0 }
|
30
|
+
before { RSpec.resets_required = 0 }
|
31
|
+
|
29
32
|
it "tells RSpec to reset" do
|
30
33
|
RSpec.configuration.stub(:files_to_run => [])
|
31
|
-
RSpec.should_receive(:
|
34
|
+
RSpec.should_receive(:internal_reset)
|
35
|
+
RSpec::Core::Runner.run([], err, out)
|
36
|
+
end
|
37
|
+
|
38
|
+
it "does not issue a deprecation warning at the end of the first run" do
|
39
|
+
RSpec.configuration.stub(:files_to_run => [])
|
40
|
+
RSpec.should_receive(:internal_reset)
|
41
|
+
allow(RSpec.configuration).to receive(:deprecation_stream).and_return(err)
|
32
42
|
RSpec::Core::Runner.run([], err, out)
|
43
|
+
expect(err.string).to eq("")
|
44
|
+
end
|
45
|
+
|
46
|
+
it "issues a deprecation if warn is invoked twice and reset is not called manually" do
|
47
|
+
RSpec.configuration.stub(:files_to_run => [])
|
48
|
+
RSpec::Core::Runner.run([], err, out)
|
49
|
+
RSpec.configuration.stub(:files_to_run => [])
|
50
|
+
allow(RSpec.configuration).to receive(:deprecation_stream).and_return(err)
|
51
|
+
RSpec::Core::Runner.run([], err, out)
|
52
|
+
expect(err.string).to match(/no longer implicitly/)
|
53
|
+
end
|
54
|
+
|
55
|
+
context "when the user manually invokes reset" do
|
56
|
+
after { RSpec.instance_variable_set(:@reset_called_by_user, false) }
|
57
|
+
|
58
|
+
it "does not issue a deprecation warning" do
|
59
|
+
RSpec.configuration.stub(:files_to_run => [])
|
60
|
+
RSpec::Core::Runner.run([], err, out)
|
61
|
+
RSpec.configuration.stub(:files_to_run => [])
|
62
|
+
RSpec.reset
|
63
|
+
RSpec.configuration.stub(:files_to_run => [])
|
64
|
+
allow(RSpec.configuration).to receive(:deprecation_stream).and_return(err)
|
65
|
+
RSpec::Core::Runner.run([], err, out)
|
66
|
+
expect(err.string).to eq("")
|
67
|
+
end
|
33
68
|
end
|
34
69
|
|
35
70
|
context "with --drb or -X" do
|
data/spec/rspec/core_spec.rb
CHANGED
@@ -56,7 +56,7 @@ describe RSpec do
|
|
56
56
|
config_before_reset = RSpec.configuration
|
57
57
|
world_before_reset = RSpec.world
|
58
58
|
|
59
|
-
RSpec.
|
59
|
+
RSpec.internal_reset
|
60
60
|
|
61
61
|
expect(RSpec.configuration).not_to equal(config_before_reset)
|
62
62
|
expect(RSpec.world).not_to equal(world_before_reset)
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.99.
|
4
|
+
version: 2.99.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -10,76 +10,76 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-06-
|
13
|
+
date: 2014-06-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - ~>
|
19
|
+
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 10.0.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - ~>
|
26
|
+
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 10.0.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: cucumber
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - ~>
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 1.1.9
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - ~>
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.1.9
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: minitest
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ~>
|
47
|
+
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '4.7'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - ~>
|
54
|
+
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '4.7'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: aruba
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - ~>
|
61
|
+
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0.5'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - ~>
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0.5'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: ZenTest
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - ~>
|
75
|
+
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '4.6'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- - ~>
|
82
|
+
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '4.6'
|
85
85
|
- !ruby/object:Gem::Dependency
|
@@ -114,42 +114,42 @@ dependencies:
|
|
114
114
|
name: mocha
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - ~>
|
117
|
+
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: 0.13.0
|
120
120
|
type: :development
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
|
-
- - ~>
|
124
|
+
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 0.13.0
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: rr
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
|
-
- - ~>
|
131
|
+
- - "~>"
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: 1.0.4
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- - ~>
|
138
|
+
- - "~>"
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: 1.0.4
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: flexmock
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - ~>
|
145
|
+
- - "~>"
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: 0.9.0
|
148
148
|
type: :development
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- - ~>
|
152
|
+
- - "~>"
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: 0.9.0
|
155
155
|
description: BDD for Ruby. RSpec runner and example groups.
|
@@ -160,69 +160,13 @@ executables:
|
|
160
160
|
extensions: []
|
161
161
|
extra_rdoc_files: []
|
162
162
|
files:
|
163
|
-
-
|
164
|
-
-
|
165
|
-
- lib/rspec/autorun.rb
|
166
|
-
- lib/rspec/core.rb
|
167
|
-
- lib/rspec/core/backtrace_cleaner.rb
|
168
|
-
- lib/rspec/core/backward_compatibility.rb
|
169
|
-
- lib/rspec/core/caller_filter.rb
|
170
|
-
- lib/rspec/core/command_line.rb
|
171
|
-
- lib/rspec/core/configuration.rb
|
172
|
-
- lib/rspec/core/configuration_options.rb
|
173
|
-
- lib/rspec/core/deprecated_mutable_array_proxy.rb
|
174
|
-
- lib/rspec/core/deprecation.rb
|
175
|
-
- lib/rspec/core/drb_command_line.rb
|
176
|
-
- lib/rspec/core/drb_options.rb
|
177
|
-
- lib/rspec/core/dsl.rb
|
178
|
-
- lib/rspec/core/example.rb
|
179
|
-
- lib/rspec/core/example_group.rb
|
180
|
-
- lib/rspec/core/extensions/instance_eval_with_args.rb
|
181
|
-
- lib/rspec/core/extensions/kernel.rb
|
182
|
-
- lib/rspec/core/extensions/module_eval_with_args.rb
|
183
|
-
- lib/rspec/core/extensions/ordered.rb
|
184
|
-
- lib/rspec/core/filter_manager.rb
|
185
|
-
- lib/rspec/core/formatters.rb
|
186
|
-
- lib/rspec/core/formatters/base_formatter.rb
|
187
|
-
- lib/rspec/core/formatters/base_text_formatter.rb
|
188
|
-
- lib/rspec/core/formatters/console_codes.rb
|
189
|
-
- lib/rspec/core/formatters/deprecation_formatter.rb
|
190
|
-
- lib/rspec/core/formatters/documentation_formatter.rb
|
191
|
-
- lib/rspec/core/formatters/helpers.rb
|
192
|
-
- lib/rspec/core/formatters/html_formatter.rb
|
193
|
-
- lib/rspec/core/formatters/html_printer.rb
|
194
|
-
- lib/rspec/core/formatters/json_formatter.rb
|
195
|
-
- lib/rspec/core/formatters/progress_formatter.rb
|
196
|
-
- lib/rspec/core/formatters/snippet_extractor.rb
|
197
|
-
- lib/rspec/core/formatters/text_mate_formatter.rb
|
198
|
-
- lib/rspec/core/hooks.rb
|
199
|
-
- lib/rspec/core/memoized_helpers.rb
|
200
|
-
- lib/rspec/core/metadata.rb
|
201
|
-
- lib/rspec/core/metadata_hash_builder.rb
|
202
|
-
- lib/rspec/core/minitest_assertions_adapter.rb
|
203
|
-
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
204
|
-
- lib/rspec/core/mocking/with_flexmock.rb
|
205
|
-
- lib/rspec/core/mocking/with_mocha.rb
|
206
|
-
- lib/rspec/core/mocking/with_rr.rb
|
207
|
-
- lib/rspec/core/mocking/with_rspec.rb
|
208
|
-
- lib/rspec/core/option_parser.rb
|
209
|
-
- lib/rspec/core/pending.rb
|
210
|
-
- lib/rspec/core/project_initializer.rb
|
211
|
-
- lib/rspec/core/rake_task.rb
|
212
|
-
- lib/rspec/core/reporter.rb
|
213
|
-
- lib/rspec/core/ruby_project.rb
|
214
|
-
- lib/rspec/core/runner.rb
|
215
|
-
- lib/rspec/core/shared_context.rb
|
216
|
-
- lib/rspec/core/shared_example_group.rb
|
217
|
-
- lib/rspec/core/shared_example_group/collection.rb
|
218
|
-
- lib/rspec/core/test_unit_assertions_adapter.rb
|
219
|
-
- lib/rspec/core/version.rb
|
220
|
-
- lib/rspec/core/world.rb
|
221
|
-
- README.md
|
222
|
-
- License.txt
|
163
|
+
- ".document"
|
164
|
+
- ".yardopts"
|
223
165
|
- Changelog.md
|
224
|
-
- .
|
225
|
-
- .
|
166
|
+
- License.txt
|
167
|
+
- README.md
|
168
|
+
- exe/autospec
|
169
|
+
- exe/rspec
|
226
170
|
- features/Autotest.md
|
227
171
|
- features/README.md
|
228
172
|
- features/Upgrade.md
|
@@ -289,6 +233,64 @@ files:
|
|
289
233
|
- features/subject/one_liner_syntax.feature
|
290
234
|
- features/support/env.rb
|
291
235
|
- features/support/rubinius.rb
|
236
|
+
- lib/autotest/discover.rb
|
237
|
+
- lib/autotest/rspec2.rb
|
238
|
+
- lib/rspec/autorun.rb
|
239
|
+
- lib/rspec/core.rb
|
240
|
+
- lib/rspec/core/backtrace_cleaner.rb
|
241
|
+
- lib/rspec/core/backward_compatibility.rb
|
242
|
+
- lib/rspec/core/caller_filter.rb
|
243
|
+
- lib/rspec/core/command_line.rb
|
244
|
+
- lib/rspec/core/configuration.rb
|
245
|
+
- lib/rspec/core/configuration_options.rb
|
246
|
+
- lib/rspec/core/deprecated_mutable_array_proxy.rb
|
247
|
+
- lib/rspec/core/deprecation.rb
|
248
|
+
- lib/rspec/core/drb_command_line.rb
|
249
|
+
- lib/rspec/core/drb_options.rb
|
250
|
+
- lib/rspec/core/dsl.rb
|
251
|
+
- lib/rspec/core/example.rb
|
252
|
+
- lib/rspec/core/example_group.rb
|
253
|
+
- lib/rspec/core/extensions/instance_eval_with_args.rb
|
254
|
+
- lib/rspec/core/extensions/kernel.rb
|
255
|
+
- lib/rspec/core/extensions/module_eval_with_args.rb
|
256
|
+
- lib/rspec/core/extensions/ordered.rb
|
257
|
+
- lib/rspec/core/filter_manager.rb
|
258
|
+
- lib/rspec/core/formatters.rb
|
259
|
+
- lib/rspec/core/formatters/base_formatter.rb
|
260
|
+
- lib/rspec/core/formatters/base_text_formatter.rb
|
261
|
+
- lib/rspec/core/formatters/console_codes.rb
|
262
|
+
- lib/rspec/core/formatters/deprecation_formatter.rb
|
263
|
+
- lib/rspec/core/formatters/documentation_formatter.rb
|
264
|
+
- lib/rspec/core/formatters/helpers.rb
|
265
|
+
- lib/rspec/core/formatters/html_formatter.rb
|
266
|
+
- lib/rspec/core/formatters/html_printer.rb
|
267
|
+
- lib/rspec/core/formatters/json_formatter.rb
|
268
|
+
- lib/rspec/core/formatters/progress_formatter.rb
|
269
|
+
- lib/rspec/core/formatters/snippet_extractor.rb
|
270
|
+
- lib/rspec/core/formatters/text_mate_formatter.rb
|
271
|
+
- lib/rspec/core/hooks.rb
|
272
|
+
- lib/rspec/core/memoized_helpers.rb
|
273
|
+
- lib/rspec/core/metadata.rb
|
274
|
+
- lib/rspec/core/metadata_hash_builder.rb
|
275
|
+
- lib/rspec/core/minitest_assertions_adapter.rb
|
276
|
+
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
277
|
+
- lib/rspec/core/mocking/with_flexmock.rb
|
278
|
+
- lib/rspec/core/mocking/with_mocha.rb
|
279
|
+
- lib/rspec/core/mocking/with_rr.rb
|
280
|
+
- lib/rspec/core/mocking/with_rspec.rb
|
281
|
+
- lib/rspec/core/option_parser.rb
|
282
|
+
- lib/rspec/core/pending.rb
|
283
|
+
- lib/rspec/core/project_initializer.rb
|
284
|
+
- lib/rspec/core/rake_task.rb
|
285
|
+
- lib/rspec/core/reporter.rb
|
286
|
+
- lib/rspec/core/ruby_project.rb
|
287
|
+
- lib/rspec/core/runner.rb
|
288
|
+
- lib/rspec/core/shared_context.rb
|
289
|
+
- lib/rspec/core/shared_example_group.rb
|
290
|
+
- lib/rspec/core/shared_example_group/collection.rb
|
291
|
+
- lib/rspec/core/test_unit_assertions_adapter.rb
|
292
|
+
- lib/rspec/core/version.rb
|
293
|
+
- lib/rspec/core/world.rb
|
292
294
|
- spec/autotest/discover_spec.rb
|
293
295
|
- spec/autotest/failed_results_re_spec.rb
|
294
296
|
- spec/autotest/rspec_spec.rb
|
@@ -358,33 +360,31 @@ files:
|
|
358
360
|
- spec/support/shared_example_groups.rb
|
359
361
|
- spec/support/silence_dsl_deprecations.rb
|
360
362
|
- spec/support/spec_files.rb
|
361
|
-
- exe/autospec
|
362
|
-
- exe/rspec
|
363
363
|
homepage: http://github.com/rspec/rspec-core
|
364
364
|
licenses:
|
365
365
|
- MIT
|
366
366
|
metadata: {}
|
367
367
|
post_install_message:
|
368
368
|
rdoc_options:
|
369
|
-
- --charset=UTF-8
|
369
|
+
- "--charset=UTF-8"
|
370
370
|
require_paths:
|
371
371
|
- lib
|
372
372
|
required_ruby_version: !ruby/object:Gem::Requirement
|
373
373
|
requirements:
|
374
|
-
- -
|
374
|
+
- - ">="
|
375
375
|
- !ruby/object:Gem::Version
|
376
376
|
version: '0'
|
377
377
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
378
378
|
requirements:
|
379
|
-
- -
|
379
|
+
- - ">="
|
380
380
|
- !ruby/object:Gem::Version
|
381
381
|
version: '0'
|
382
382
|
requirements: []
|
383
383
|
rubyforge_project: rspec
|
384
|
-
rubygems_version: 2.
|
384
|
+
rubygems_version: 2.2.2
|
385
385
|
signing_key:
|
386
386
|
specification_version: 4
|
387
|
-
summary: rspec-core-2.99.
|
387
|
+
summary: rspec-core-2.99.1
|
388
388
|
test_files:
|
389
389
|
- features/Autotest.md
|
390
390
|
- features/README.md
|