rspec-core 2.0.0.a1 → 2.0.0.a2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +34 -3
- data/Rakefile +32 -17
- data/bin/rspec +5 -7
- data/cucumber.yml +3 -2
- data/features-pending/example_groups/example_group_with_should_methods.feature +3 -1
- data/features/before_and_after_blocks/around.feature +34 -0
- data/features/example_groups/describe_aliases.feature +20 -0
- data/{features-pending → features}/example_groups/nested_groups.feature +6 -8
- data/features/expectations/customized_message.feature +6 -6
- data/{features-pending → features}/matchers/define_matcher.feature +9 -9
- data/features/mock_framework_integration/use_rspec.feature +1 -1
- data/features/mocks/block_local_expectations.feature +68 -0
- data/{features-pending → features}/mocks/mix_stubs_and_mocks.feature +5 -1
- data/features/support/env.rb +6 -18
- data/lib/rspec/core.rb +5 -5
- data/lib/rspec/core/advice.rb +49 -0
- data/lib/rspec/core/command_line_options.rb +4 -11
- data/lib/rspec/core/configuration.rb +20 -32
- data/lib/rspec/core/example.rb +48 -15
- data/lib/rspec/core/example_group.rb +68 -93
- data/lib/rspec/core/extensions/instance_exec.rb +31 -0
- data/lib/rspec/core/kernel_extensions.rb +3 -1
- data/lib/rspec/core/load_path.rb +4 -0
- data/lib/rspec/core/metadata.rb +78 -0
- data/lib/rspec/core/rake_task.rb +3 -4
- data/lib/rspec/core/ruby_project.rb +30 -0
- data/lib/rspec/core/runner.rb +6 -7
- data/lib/rspec/core/version.rb +2 -2
- data/lib/rspec/core/world.rb +6 -4
- data/rspec-core.gemspec +33 -14
- data/spec/rspec/core/command_line_options_spec.rb +10 -10
- data/spec/rspec/core/configuration_spec.rb +26 -21
- data/spec/rspec/core/example_group_spec.rb +243 -173
- data/spec/rspec/core/example_group_subject_spec.rb +1 -1
- data/spec/rspec/core/example_spec.rb +12 -22
- data/spec/rspec/core/formatters/base_formatter_spec.rb +1 -1
- data/spec/rspec/core/formatters/documentation_formatter_spec.rb +1 -1
- data/spec/rspec/core/formatters/progress_formatter_spec.rb +4 -3
- data/spec/rspec/core/kernel_extensions_spec.rb +1 -1
- data/spec/rspec/core/metadata_spec.rb +101 -0
- data/spec/rspec/core/mocha_spec.rb +2 -2
- data/spec/rspec/core/runner_spec.rb +5 -5
- data/spec/rspec/core/shared_behaviour_spec.rb +5 -5
- data/spec/rspec/core/world_spec.rb +8 -8
- data/spec/rspec/core_spec.rb +1 -1
- data/spec/spec_helper.rb +15 -8
- data/specs.watchr +57 -0
- metadata +53 -15
- data/VERSION +0 -1
- data/VERSION.yml +0 -5
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.0.0.
|
4
|
+
version: 2.0.0.a2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chelimsky
|
@@ -10,11 +10,40 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2010-01-24 00:00:00 -06:00
|
14
14
|
default_executable: rspec
|
15
|
-
dependencies:
|
16
|
-
|
17
|
-
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rspec-expectations
|
18
|
+
type: :development
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 2.0.0.a2
|
25
|
+
version:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rspec-mocks
|
28
|
+
type: :development
|
29
|
+
version_requirement:
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 2.0.0.a2
|
35
|
+
version:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: cucumber
|
38
|
+
type: :development
|
39
|
+
version_requirement:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.5.3
|
45
|
+
version:
|
46
|
+
description:
|
18
47
|
email: dchelimsky@gmail.com;chad.humphries@gmail.com
|
19
48
|
executables:
|
20
49
|
- rspec
|
@@ -30,8 +59,6 @@ files:
|
|
30
59
|
- README.markdown
|
31
60
|
- Rakefile
|
32
61
|
- TODO.markdown
|
33
|
-
- VERSION
|
34
|
-
- VERSION.yml
|
35
62
|
- bin/rspec
|
36
63
|
- cucumber.yml
|
37
64
|
- example_specs/failing/README.txt
|
@@ -85,7 +112,6 @@ files:
|
|
85
112
|
- features-pending/command_line/line_number_option_with_example_with_no_name.feature
|
86
113
|
- features-pending/example_groups/example_group_with_should_methods.feature
|
87
114
|
- features-pending/example_groups/implicit_docstrings.feature
|
88
|
-
- features-pending/example_groups/nested_groups.feature
|
89
115
|
- features-pending/expectations/expect_change.feature
|
90
116
|
- features-pending/expectations/expect_error.feature
|
91
117
|
- features-pending/extensions/custom_example_group.feature
|
@@ -96,19 +122,23 @@ files:
|
|
96
122
|
- features-pending/interop/test_but_not_test_unit.feature
|
97
123
|
- features-pending/interop/test_case_with_should_methods.feature
|
98
124
|
- features-pending/matchers/define_diffable_matcher.feature
|
99
|
-
- features-pending/matchers/define_matcher.feature
|
100
125
|
- features-pending/matchers/define_matcher_with_fluent_interface.feature
|
101
|
-
- features-pending/mocks/mix_stubs_and_mocks.feature
|
102
126
|
- features-pending/mocks/stub_implementation.feature
|
103
127
|
- features-pending/pending/pending_examples.feature
|
104
128
|
- features-pending/runner/specify_line_number.feature
|
129
|
+
- features/before_and_after_blocks/around.feature
|
105
130
|
- features/before_and_after_blocks/before_and_after_blocks.feature
|
131
|
+
- features/example_groups/describe_aliases.feature
|
132
|
+
- features/example_groups/nested_groups.feature
|
106
133
|
- features/expectations/customized_message.feature
|
134
|
+
- features/matchers/define_matcher.feature
|
107
135
|
- features/matchers/define_matcher_outside_rspec.feature
|
108
136
|
- features/mock_framework_integration/use_flexmock.feature
|
109
137
|
- features/mock_framework_integration/use_mocha.feature
|
110
138
|
- features/mock_framework_integration/use_rr.feature
|
111
139
|
- features/mock_framework_integration/use_rspec.feature
|
140
|
+
- features/mocks/block_local_expectations.feature
|
141
|
+
- features/mocks/mix_stubs_and_mocks.feature
|
112
142
|
- features/step_definitions/running_rspec_steps.rb
|
113
143
|
- features/subject/explicit_subject.feature
|
114
144
|
- features/subject/implicit_subject.feature
|
@@ -116,6 +146,7 @@ files:
|
|
116
146
|
- features/support/matchers/smart_match.rb
|
117
147
|
- lib/rspec/autorun.rb
|
118
148
|
- lib/rspec/core.rb
|
149
|
+
- lib/rspec/core/advice.rb
|
119
150
|
- lib/rspec/core/backward_compatibility.rb
|
120
151
|
- lib/rspec/core/command_line_options.rb
|
121
152
|
- lib/rspec/core/configuration.rb
|
@@ -123,23 +154,27 @@ files:
|
|
123
154
|
- lib/rspec/core/example.rb
|
124
155
|
- lib/rspec/core/example_group.rb
|
125
156
|
- lib/rspec/core/example_group_subject.rb
|
157
|
+
- lib/rspec/core/extensions/instance_exec.rb
|
126
158
|
- lib/rspec/core/formatters.rb
|
127
159
|
- lib/rspec/core/formatters/base_formatter.rb
|
128
160
|
- lib/rspec/core/formatters/base_text_formatter.rb
|
129
161
|
- lib/rspec/core/formatters/documentation_formatter.rb
|
130
162
|
- lib/rspec/core/formatters/progress_formatter.rb
|
131
163
|
- lib/rspec/core/kernel_extensions.rb
|
164
|
+
- lib/rspec/core/load_path.rb
|
165
|
+
- lib/rspec/core/metadata.rb
|
132
166
|
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
133
167
|
- lib/rspec/core/mocking/with_flexmock.rb
|
134
168
|
- lib/rspec/core/mocking/with_mocha.rb
|
135
169
|
- lib/rspec/core/mocking/with_rr.rb
|
136
170
|
- lib/rspec/core/mocking/with_rspec.rb
|
137
171
|
- lib/rspec/core/rake_task.rb
|
172
|
+
- lib/rspec/core/ruby_project.rb
|
138
173
|
- lib/rspec/core/runner.rb
|
139
174
|
- lib/rspec/core/shared_behaviour.rb
|
140
175
|
- lib/rspec/core/shared_behaviour_kernel_extensions.rb
|
141
|
-
- lib/rspec/core/world.rb
|
142
176
|
- lib/rspec/core/version.rb
|
177
|
+
- lib/rspec/core/world.rb
|
143
178
|
- rspec-core.gemspec
|
144
179
|
- script/console
|
145
180
|
- spec/resources/example_classes.rb
|
@@ -152,6 +187,7 @@ files:
|
|
152
187
|
- spec/rspec/core/formatters/documentation_formatter_spec.rb
|
153
188
|
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
154
189
|
- spec/rspec/core/kernel_extensions_spec.rb
|
190
|
+
- spec/rspec/core/metadata_spec.rb
|
155
191
|
- spec/rspec/core/mocha_spec.rb
|
156
192
|
- spec/rspec/core/resources/a_bar.rb
|
157
193
|
- spec/rspec/core/resources/a_foo.rb
|
@@ -165,6 +201,7 @@ files:
|
|
165
201
|
- spec/rspec/core_spec.rb
|
166
202
|
- spec/ruby_forker.rb
|
167
203
|
- spec/spec_helper.rb
|
204
|
+
- specs.watchr
|
168
205
|
has_rdoc: true
|
169
206
|
homepage: http://github.com/rspec/core
|
170
207
|
licenses: []
|
@@ -182,17 +219,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
219
|
version:
|
183
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
221
|
requirements:
|
185
|
-
- - "
|
222
|
+
- - ">"
|
186
223
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
224
|
+
version: 1.3.1
|
188
225
|
version:
|
189
226
|
requirements: []
|
190
227
|
|
191
|
-
rubyforge_project:
|
228
|
+
rubyforge_project: rspec
|
192
229
|
rubygems_version: 1.3.5
|
193
230
|
signing_key:
|
194
231
|
specification_version: 3
|
195
|
-
summary:
|
232
|
+
summary: Rspec runner and example group classes
|
196
233
|
test_files:
|
197
234
|
- spec/resources/example_classes.rb
|
198
235
|
- spec/rspec/core/command_line_options_spec.rb
|
@@ -204,6 +241,7 @@ test_files:
|
|
204
241
|
- spec/rspec/core/formatters/documentation_formatter_spec.rb
|
205
242
|
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
206
243
|
- spec/rspec/core/kernel_extensions_spec.rb
|
244
|
+
- spec/rspec/core/metadata_spec.rb
|
207
245
|
- spec/rspec/core/mocha_spec.rb
|
208
246
|
- spec/rspec/core/resources/a_bar.rb
|
209
247
|
- spec/rspec/core/resources/a_foo.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.0.0.a1
|