rspec 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +22 -0
- data/Manifest.txt +9 -4
- data/Rakefile +13 -12
- data/Upgrade.rdoc +1 -1
- data/features/command_line/line_number_option.feature +56 -0
- data/features/command_line/line_number_option_with_example_with_no_name.feature +22 -0
- data/features/mocks/stub_implementation.feature +26 -0
- data/lib/autotest/rspec.rb +7 -7
- data/lib/spec/autorun.rb +1 -1
- data/lib/spec/deprecation.rb +3 -3
- data/lib/spec/dsl.rb +0 -1
- data/lib/spec/dsl/main.rb +6 -6
- data/lib/spec/example.rb +28 -29
- data/lib/spec/example/args_and_options.rb +1 -1
- data/lib/spec/example/before_and_after_hooks.rb +10 -10
- data/lib/spec/example/errors.rb +8 -3
- data/lib/spec/example/example_group.rb +0 -1
- data/lib/spec/example/example_group_factory.rb +3 -3
- data/lib/spec/example/example_group_hierarchy.rb +10 -10
- data/lib/spec/example/example_group_methods.rb +37 -29
- data/lib/spec/example/example_group_proxy.rb +9 -10
- data/lib/spec/example/example_matcher.rb +3 -3
- data/lib/spec/example/example_methods.rb +11 -11
- data/lib/spec/example/example_proxy.rb +5 -5
- data/lib/spec/example/module_reopening_fix.rb +7 -7
- data/lib/spec/example/pending.rb +1 -1
- data/lib/spec/example/predicate_matchers.rb +0 -1
- data/lib/spec/example/shared_example_group.rb +5 -5
- data/lib/spec/example/subject.rb +12 -16
- data/lib/spec/expectations/extensions/kernel.rb +1 -1
- data/lib/spec/expectations/fail_with.rb +4 -0
- data/lib/spec/matchers/generated_descriptions.rb +4 -16
- data/lib/spec/matchers/match.rb +5 -4
- data/lib/spec/matchers/matcher.rb +21 -3
- data/lib/spec/matchers/operator_matcher.rb +1 -1
- data/lib/spec/mocks/errors.rb +1 -1
- data/lib/spec/mocks/message_expectation.rb +3 -2
- data/lib/spec/mocks/methods.rb +8 -5
- data/lib/spec/mocks/proxy.rb +2 -2
- data/lib/spec/rake/spectask.rb +9 -3
- data/lib/spec/runner.rb +1 -1
- data/lib/spec/runner/{spec_parser.rb → line_number_query.rb} +20 -9
- data/lib/spec/runner/options.rb +10 -2
- data/lib/spec/version.rb +3 -2
- data/spec/autotest/failed_results_re_spec.rb +7 -0
- data/spec/spec/example/example_group_methods_spec.rb +61 -0
- data/spec/spec/example/example_matcher_spec.rb +7 -0
- data/spec/spec/example/example_methods_spec.rb +35 -7
- data/spec/spec/expectations/fail_with_spec.rb +18 -1
- data/spec/spec/matchers/match_spec.rb +20 -0
- data/spec/spec/matchers/matcher_spec.rb +27 -28
- data/spec/spec/matchers/operator_matcher_spec.rb +1 -1
- data/spec/spec/mocks/bug_report_10263_spec.rb +4 -1
- data/spec/spec/mocks/bug_report_830_spec.rb +21 -0
- data/spec/spec/mocks/options_hash_spec.rb +1 -1
- data/spec/spec/mocks/stub_chain_spec.rb +7 -0
- data/spec/spec/mocks/stub_implementation_spec.rb +31 -0
- data/spec/spec/rake/spectask_spec.rb +150 -0
- data/spec/spec/runner/{spec_parser/spec_parser_fixture.rb → line_number_query/line_number_query_fixture.rb} +4 -4
- data/spec/spec/runner/{spec_parser_spec.rb → line_number_query_spec.rb} +31 -10
- data/spec/spec/runner/option_parser_spec.rb +1 -1
- data/spec/spec/runner/options_spec.rb +33 -25
- metadata +15 -10
- data/.autotest +0 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RSpec Development Team
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-22 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 2.1.0
|
34
34
|
version:
|
35
35
|
description: Behaviour Driven Development for Ruby.
|
36
36
|
email:
|
@@ -46,7 +46,6 @@ extra_rdoc_files:
|
|
46
46
|
- TODO.txt
|
47
47
|
- examples/failing/README.txt
|
48
48
|
files:
|
49
|
-
- .autotest
|
50
49
|
- .document
|
51
50
|
- History.rdoc
|
52
51
|
- License.txt
|
@@ -107,6 +106,8 @@ files:
|
|
107
106
|
- examples/passing/yielding_example.rb
|
108
107
|
- examples/ruby1.9.compatibility/access_to_constants_spec.rb
|
109
108
|
- features/before_and_after_blocks/before_and_after_blocks.feature
|
109
|
+
- features/command_line/line_number_option.feature
|
110
|
+
- features/command_line/line_number_option_with_example_with_no_name.feature
|
110
111
|
- features/example_groups/example_group_with_should_methods.feature
|
111
112
|
- features/example_groups/implicit_docstrings.feature
|
112
113
|
- features/example_groups/nested_groups.feature
|
@@ -126,6 +127,7 @@ files:
|
|
126
127
|
- features/mock_framework_integration/use_mocha.feature
|
127
128
|
- features/mock_framework_integration/use_rr.feature
|
128
129
|
- features/mocks/mix_stubs_and_mocks.feature
|
130
|
+
- features/mocks/stub_implementation.feature
|
129
131
|
- features/pending/pending_examples.feature
|
130
132
|
- features/runner/specify_line_number.feature
|
131
133
|
- features/step_definitions/running_rspec_steps.rb
|
@@ -246,10 +248,10 @@ files:
|
|
246
248
|
- lib/spec/runner/formatter/text_mate_formatter.rb
|
247
249
|
- lib/spec/runner/heckle_runner.rb
|
248
250
|
- lib/spec/runner/heckle_runner_unsupported.rb
|
251
|
+
- lib/spec/runner/line_number_query.rb
|
249
252
|
- lib/spec/runner/option_parser.rb
|
250
253
|
- lib/spec/runner/options.rb
|
251
254
|
- lib/spec/runner/reporter.rb
|
252
|
-
- lib/spec/runner/spec_parser.rb
|
253
255
|
- lib/spec/test/unit.rb
|
254
256
|
- lib/spec/version.rb
|
255
257
|
- resources/helpers/cmdline.rb
|
@@ -338,6 +340,7 @@ files:
|
|
338
340
|
- spec/spec/mocks/bug_report_7805_spec.rb
|
339
341
|
- spec/spec/mocks/bug_report_8165_spec.rb
|
340
342
|
- spec/spec/mocks/bug_report_8302_spec.rb
|
343
|
+
- spec/spec/mocks/bug_report_830_spec.rb
|
341
344
|
- spec/spec/mocks/failing_argument_matchers_spec.rb
|
342
345
|
- spec/spec/mocks/hash_including_matcher_spec.rb
|
343
346
|
- spec/spec/mocks/hash_not_including_matcher_spec.rb
|
@@ -355,10 +358,12 @@ files:
|
|
355
358
|
- spec/spec/mocks/precise_counts_spec.rb
|
356
359
|
- spec/spec/mocks/record_messages_spec.rb
|
357
360
|
- spec/spec/mocks/stub_chain_spec.rb
|
361
|
+
- spec/spec/mocks/stub_implementation_spec.rb
|
358
362
|
- spec/spec/mocks/stub_spec.rb
|
359
363
|
- spec/spec/mocks/stubbed_message_expectations_spec.rb
|
360
364
|
- spec/spec/mocks/twice_counts_spec.rb
|
361
365
|
- spec/spec/package/bin_spec_spec.rb
|
366
|
+
- spec/spec/rake/spectask_spec.rb
|
362
367
|
- spec/spec/runner/class_and_argument_parser_spec.rb
|
363
368
|
- spec/spec/runner/command_line_spec.rb
|
364
369
|
- spec/spec/runner/configuration_spec.rb
|
@@ -391,6 +396,8 @@ files:
|
|
391
396
|
- spec/spec/runner/formatter/text_mate_formatter_spec.rb
|
392
397
|
- spec/spec/runner/heckle_runner_spec.rb
|
393
398
|
- spec/spec/runner/heckler_spec.rb
|
399
|
+
- spec/spec/runner/line_number_query/line_number_query_fixture.rb
|
400
|
+
- spec/spec/runner/line_number_query_spec.rb
|
394
401
|
- spec/spec/runner/noisy_backtrace_tweaker_spec.rb
|
395
402
|
- spec/spec/runner/option_parser_spec.rb
|
396
403
|
- spec/spec/runner/options_spec.rb
|
@@ -406,8 +413,6 @@ files:
|
|
406
413
|
- spec/spec/runner/resources/utf8_encoded.rb
|
407
414
|
- spec/spec/runner/spec.opts
|
408
415
|
- spec/spec/runner/spec_drb.opts
|
409
|
-
- spec/spec/runner/spec_parser/spec_parser_fixture.rb
|
410
|
-
- spec/spec/runner/spec_parser_spec.rb
|
411
416
|
- spec/spec/runner/spec_spaced.opts
|
412
417
|
- spec/spec/runner_spec.rb
|
413
418
|
- spec/spec/spec_classes.rb
|
@@ -420,7 +425,7 @@ licenses: []
|
|
420
425
|
post_install_message: |
|
421
426
|
**************************************************
|
422
427
|
|
423
|
-
Thank you for installing rspec-1.2.
|
428
|
+
Thank you for installing rspec-1.2.7
|
424
429
|
|
425
430
|
Please be sure to read History.rdoc and Upgrade.rdoc
|
426
431
|
for useful information about this release.
|
@@ -447,9 +452,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
447
452
|
requirements: []
|
448
453
|
|
449
454
|
rubyforge_project: rspec
|
450
|
-
rubygems_version: 1.3.
|
455
|
+
rubygems_version: 1.3.4
|
451
456
|
signing_key:
|
452
457
|
specification_version: 3
|
453
|
-
summary: rspec 1.2.
|
458
|
+
summary: rspec 1.2.7
|
454
459
|
test_files: []
|
455
460
|
|