rspec-core 2.12.2 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +31 -0
- data/README.md +11 -10
- data/features/command_line/example_name_option.feature +6 -10
- data/features/command_line/tag.feature +15 -8
- data/features/configuration/backtrace_clean_patterns.feature +102 -0
- data/features/configuration/failure_exit_code.feature +36 -0
- data/features/configuration/order_and_seed.feature +3 -0
- data/features/configuration/output_stream.feature +24 -0
- data/features/configuration/pattern.feature +30 -0
- data/features/configuration/profile.feature +163 -0
- data/features/configuration/run_all_when_everything_filtered.feature +60 -0
- data/features/configuration/show_failures_in_pending_blocks.feature +61 -0
- data/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
- data/features/filtering/exclusion_filters.feature +1 -2
- data/features/formatters/configurable_colors.feature +31 -0
- data/features/step_definitions/additional_cli_steps.rb +21 -0
- data/features/subject/explicit_subject.feature +19 -0
- data/lib/autotest/rspec2.rb +1 -1
- data/lib/rspec/core.rb +1 -2
- data/lib/rspec/core/configuration.rb +33 -3
- data/lib/rspec/core/configuration_options.rb +5 -5
- data/lib/rspec/core/deprecation.rb +1 -1
- data/lib/rspec/core/example.rb +2 -2
- data/lib/rspec/core/example_group.rb +1 -3
- data/lib/rspec/core/formatters/base_text_formatter.rb +93 -27
- data/lib/rspec/core/formatters/documentation_formatter.rb +3 -3
- data/lib/rspec/core/formatters/progress_formatter.rb +3 -3
- data/lib/rspec/core/memoized_helpers.rb +425 -0
- data/lib/rspec/core/metadata.rb +6 -2
- data/lib/rspec/core/option_parser.rb +8 -2
- data/lib/rspec/core/pending.rb +7 -0
- data/lib/rspec/core/shared_context.rb +1 -1
- data/lib/rspec/core/version.rb +1 -1
- data/spec/autotest/failed_results_re_spec.rb +4 -4
- data/spec/autotest/rspec_spec.rb +25 -20
- data/spec/command_line/order_spec.rb +21 -21
- data/spec/rspec/core/command_line_spec.rb +6 -6
- data/spec/rspec/core/configuration_options_spec.rb +86 -72
- data/spec/rspec/core/configuration_spec.rb +161 -156
- data/spec/rspec/core/deprecations_spec.rb +4 -4
- data/spec/rspec/core/drb_command_line_spec.rb +9 -9
- data/spec/rspec/core/drb_options_spec.rb +46 -33
- data/spec/rspec/core/dsl_spec.rb +3 -3
- data/spec/rspec/core/example_group_spec.rb +156 -124
- data/spec/rspec/core/example_spec.rb +68 -52
- data/spec/rspec/core/filter_manager_spec.rb +36 -36
- data/spec/rspec/core/formatters/base_formatter_spec.rb +9 -9
- data/spec/rspec/core/formatters/base_text_formatter_spec.rb +104 -42
- data/spec/rspec/core/formatters/documentation_formatter_spec.rb +4 -4
- data/spec/rspec/core/formatters/helpers_spec.rb +13 -13
- data/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +5 -17
- data/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +159 -44
- data/spec/rspec/core/formatters/html_formatted-1.8.7.html +14 -14
- data/spec/rspec/core/formatters/html_formatted-1.9.2.html +20 -20
- data/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +5 -5
- data/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +159 -44
- data/spec/rspec/core/formatters/html_formatted-1.9.3.html +20 -20
- data/spec/rspec/core/formatters/{html_formatted-1.9.2-jruby.html → html_formatted-2.0.0.html} +24 -18
- data/spec/rspec/core/formatters/html_formatter_spec.rb +9 -5
- data/spec/rspec/core/formatters/json_formatter_spec.rb +9 -9
- data/spec/rspec/core/formatters/progress_formatter_spec.rb +4 -4
- data/spec/rspec/core/formatters/snippet_extractor_spec.rb +3 -3
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +5 -17
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +159 -44
- data/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +16 -16
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +23 -23
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +5 -17
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +159 -44
- data/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +23 -23
- data/spec/rspec/core/formatters/{text_mate_formatted-1.9.2-jruby.html → text_mate_formatted-2.0.0.html} +25 -19
- data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +8 -4
- data/spec/rspec/core/hooks_filtering_spec.rb +16 -16
- data/spec/rspec/core/hooks_spec.rb +11 -11
- data/spec/rspec/core/kernel_extensions_spec.rb +1 -1
- data/spec/rspec/core/memoized_helpers_spec.rb +458 -0
- data/spec/rspec/core/metadata_spec.rb +74 -74
- data/spec/rspec/core/option_parser_spec.rb +27 -27
- data/spec/rspec/core/pending_example_spec.rb +32 -32
- data/spec/rspec/core/project_initializer_spec.rb +8 -8
- data/spec/rspec/core/rake_task_spec.rb +16 -16
- data/spec/rspec/core/reporter_spec.rb +3 -3
- data/spec/rspec/core/resources/formatter_specs.rb +4 -4
- data/spec/rspec/core/ruby_project_spec.rb +4 -2
- data/spec/rspec/core/shared_context_spec.rb +34 -7
- data/spec/rspec/core/shared_example_group_spec.rb +14 -14
- data/spec/rspec/core/world_spec.rb +9 -9
- data/spec/rspec/core_spec.rb +5 -5
- data/spec/spec_helper.rb +4 -0
- data/spec/support/shared_example_groups.rb +4 -4
- data/spec/support/spec_files.rb +2 -2
- metadata +158 -150
- data/lib/rspec/core/let.rb +0 -110
- data/lib/rspec/core/subject.rb +0 -223
- data/spec/rspec/core/let_spec.rb +0 -55
- data/spec/rspec/core/subject_spec.rb +0 -255
@@ -28,10 +28,10 @@ describe RSpec::SharedContext do
|
|
28
28
|
|
29
29
|
group.run
|
30
30
|
|
31
|
-
before_all_hook.
|
32
|
-
before_each_hook.
|
33
|
-
after_each_hook.
|
34
|
-
after_all_hook.
|
31
|
+
expect(before_all_hook).to be_true
|
32
|
+
expect(before_each_hook).to be_true
|
33
|
+
expect(after_each_hook).to be_true
|
34
|
+
expect(after_all_hook).to be_true
|
35
35
|
end
|
36
36
|
|
37
37
|
it "supports let" do
|
@@ -43,7 +43,34 @@ describe RSpec::SharedContext do
|
|
43
43
|
include shared
|
44
44
|
end
|
45
45
|
|
46
|
-
group.new.foo.
|
46
|
+
expect(group.new.foo).to eq('foo')
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'supports explicit subjects' do
|
50
|
+
shared = Module.new do
|
51
|
+
extend RSpec::SharedContext
|
52
|
+
subject { 17 }
|
53
|
+
end
|
54
|
+
|
55
|
+
group = RSpec::Core::ExampleGroup.describe do
|
56
|
+
include shared
|
57
|
+
end
|
58
|
+
|
59
|
+
expect(group.new.subject).to eq(17)
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'supports `its` with an implicit subject' do
|
63
|
+
shared = Module.new do
|
64
|
+
extend RSpec::SharedContext
|
65
|
+
its(:size) { should eq 0 }
|
66
|
+
end
|
67
|
+
|
68
|
+
group = RSpec::Core::ExampleGroup.describe(Array) do
|
69
|
+
include shared
|
70
|
+
end
|
71
|
+
|
72
|
+
group.run
|
73
|
+
expect(group.children.first.examples.first.execution_result).to include(:status => "passed")
|
47
74
|
end
|
48
75
|
|
49
76
|
%w[describe context].each do |method_name|
|
@@ -60,8 +87,8 @@ describe RSpec::SharedContext do
|
|
60
87
|
|
61
88
|
group.run
|
62
89
|
|
63
|
-
group.children.length.
|
64
|
-
group.children.first.examples.length.
|
90
|
+
expect(group.children.length).to eq(1)
|
91
|
+
expect(group.children.first.examples.length).to eq(1)
|
65
92
|
end
|
66
93
|
end
|
67
94
|
end
|
@@ -14,7 +14,7 @@ module RSpec::Core
|
|
14
14
|
%w[share_examples_for shared_examples_for shared_examples shared_context].each do |shared_method_name|
|
15
15
|
describe shared_method_name do
|
16
16
|
it "is exposed to the global namespace" do
|
17
|
-
Kernel.
|
17
|
+
expect(Kernel).to respond_to(shared_method_name)
|
18
18
|
end
|
19
19
|
|
20
20
|
it "displays a warning when adding a second shared example group with the same name" do
|
@@ -27,7 +27,7 @@ module RSpec::Core
|
|
27
27
|
|
28
28
|
group.send(shared_method_name, 'some shared group') {}
|
29
29
|
second_declaration = [__FILE__, __LINE__ - 1].join(':')
|
30
|
-
warning.
|
30
|
+
expect(warning).to include('some shared group', original_declaration, second_declaration)
|
31
31
|
end
|
32
32
|
|
33
33
|
["name", :name, ExampleModule, ExampleClass].each do |object|
|
@@ -46,9 +46,9 @@ module RSpec::Core
|
|
46
46
|
implementation = Proc.new { def bar; 'bar'; end }
|
47
47
|
send(shared_method_name, :foo => :bar, &implementation)
|
48
48
|
a = RSpec.configuration.include_or_extend_modules.first
|
49
|
-
a[0].
|
50
|
-
Class.new.extend(a[1]).new.bar.
|
51
|
-
a[2].
|
49
|
+
expect(a[0]).to eq(:extend)
|
50
|
+
expect(Class.new.extend(a[1]).new.bar).to eq('bar')
|
51
|
+
expect(a[2]).to eq(:foo => :bar)
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
@@ -63,9 +63,9 @@ module RSpec::Core
|
|
63
63
|
implementation = Proc.new { def bar; 'bar'; end }
|
64
64
|
send(shared_method_name, "name", :foo => :bar, &implementation)
|
65
65
|
a = RSpec.configuration.include_or_extend_modules.first
|
66
|
-
a[0].
|
67
|
-
Class.new.extend(a[1]).new.bar.
|
68
|
-
a[2].
|
66
|
+
expect(a[0]).to eq(:extend)
|
67
|
+
expect(Class.new.extend(a[1]).new.bar).to eq('bar')
|
68
|
+
expect(a[2]).to eq(:foo => :bar)
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
@@ -75,21 +75,21 @@ module RSpec::Core
|
|
75
75
|
before { RSpec.stub(:warn) }
|
76
76
|
|
77
77
|
it "is exposed to the global namespace" do
|
78
|
-
Kernel.
|
78
|
+
expect(Kernel).to respond_to("share_as")
|
79
79
|
end
|
80
80
|
|
81
81
|
it "adds examples to current example_group using include", :compat => 'rspec-1.2' do
|
82
82
|
share_as('Cornucopia') do
|
83
83
|
it "is plentiful" do
|
84
|
-
5.
|
84
|
+
expect(5).to eq(4)
|
85
85
|
end
|
86
86
|
end
|
87
87
|
group = ExampleGroup.describe('group') { include Cornucopia }
|
88
88
|
phantom_group = group.children.first
|
89
|
-
phantom_group.description.
|
90
|
-
phantom_group.metadata[:shared_group_name].
|
91
|
-
phantom_group.examples.length.
|
92
|
-
phantom_group.examples.first.metadata[:description].
|
89
|
+
expect(phantom_group.description).to eql("")
|
90
|
+
expect(phantom_group.metadata[:shared_group_name]).to eql('Cornucopia')
|
91
|
+
expect(phantom_group.examples.length).to eq(1)
|
92
|
+
expect(phantom_group.examples.first.metadata[:description]).to eq("is plentiful")
|
93
93
|
end
|
94
94
|
end
|
95
95
|
end
|
@@ -14,8 +14,8 @@ module RSpec::Core
|
|
14
14
|
world.example_groups << :example_group
|
15
15
|
world.shared_example_groups[:shared] = :example_group
|
16
16
|
world.reset
|
17
|
-
world.example_groups.
|
18
|
-
world.shared_example_groups.
|
17
|
+
expect(world.example_groups).to be_empty
|
18
|
+
expect(world.shared_example_groups).to be_empty
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
@@ -23,7 +23,7 @@ module RSpec::Core
|
|
23
23
|
it "contains all registered example groups" do
|
24
24
|
group = RSpec::Core::ExampleGroup.describe("group"){}
|
25
25
|
world.register(group)
|
26
|
-
world.example_groups.
|
26
|
+
expect(world.example_groups).to include(group)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -51,23 +51,23 @@ module RSpec::Core
|
|
51
51
|
before { world.register(group) }
|
52
52
|
|
53
53
|
it "returns nil if no example or group precedes the line" do
|
54
|
-
world.preceding_declaration_line(group_declaration_line - 1).
|
54
|
+
expect(world.preceding_declaration_line(group_declaration_line - 1)).to be_nil
|
55
55
|
end
|
56
56
|
|
57
57
|
it "returns the argument line number if a group starts on that line" do
|
58
|
-
world.preceding_declaration_line(group_declaration_line).
|
58
|
+
expect(world.preceding_declaration_line(group_declaration_line)).to eq(group_declaration_line)
|
59
59
|
end
|
60
60
|
|
61
61
|
it "returns the argument line number if an example starts on that line" do
|
62
|
-
world.preceding_declaration_line(example_declaration_line).
|
62
|
+
expect(world.preceding_declaration_line(example_declaration_line)).to eq(example_declaration_line)
|
63
63
|
end
|
64
64
|
|
65
65
|
it "returns line number of a group that immediately precedes the argument line" do
|
66
|
-
world.preceding_declaration_line(group_declaration_line + 1).
|
66
|
+
expect(world.preceding_declaration_line(group_declaration_line + 1)).to eq(group_declaration_line)
|
67
67
|
end
|
68
68
|
|
69
69
|
it "returns line number of an example that immediately precedes the argument line" do
|
70
|
-
world.preceding_declaration_line(example_declaration_line + 1).
|
70
|
+
expect(world.preceding_declaration_line(example_declaration_line + 1)).to eq(example_declaration_line)
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
@@ -80,7 +80,7 @@ module RSpec::Core
|
|
80
80
|
end
|
81
81
|
|
82
82
|
it 'return line number of group if a group start on that line' do
|
83
|
-
world.preceding_declaration_line(second_group_declaration_line).
|
83
|
+
expect(world.preceding_declaration_line(second_group_declaration_line)).to eq(second_group_declaration_line)
|
84
84
|
end
|
85
85
|
end
|
86
86
|
end
|
data/spec/rspec/core_spec.rb
CHANGED
@@ -3,21 +3,21 @@ require 'spec_helper'
|
|
3
3
|
describe RSpec do
|
4
4
|
describe "::configuration" do
|
5
5
|
it "returns the same object every time" do
|
6
|
-
RSpec.configuration.
|
6
|
+
expect(RSpec.configuration).to equal(RSpec.configuration)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
describe "::configure" do
|
11
11
|
it "yields the current configuration" do
|
12
12
|
RSpec.configure do |config|
|
13
|
-
config.
|
13
|
+
expect(config).to equal(RSpec::configuration)
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
describe "::world" do
|
19
19
|
it "returns the same object every time" do
|
20
|
-
RSpec.world.
|
20
|
+
expect(RSpec.world).to equal(RSpec.world)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -28,8 +28,8 @@ describe RSpec do
|
|
28
28
|
|
29
29
|
RSpec.reset
|
30
30
|
|
31
|
-
RSpec.configuration.
|
32
|
-
RSpec.world.
|
31
|
+
expect(RSpec.configuration).not_to equal(config_before_reset)
|
32
|
+
expect(RSpec.world).not_to equal(world_before_reset)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -105,6 +105,10 @@ Spork.prefork do
|
|
105
105
|
:file_path => /spec\/command_line/
|
106
106
|
}
|
107
107
|
|
108
|
+
c.expect_with :rspec do |expectations|
|
109
|
+
expectations.syntax = :expect
|
110
|
+
end
|
111
|
+
|
108
112
|
# runtime options
|
109
113
|
c.treat_symbols_as_metadata_keys_with_true_values = true
|
110
114
|
c.color = !in_editor?
|
@@ -7,12 +7,12 @@ shared_examples_for "metadata hash builder" do
|
|
7
7
|
end
|
8
8
|
|
9
9
|
it 'treats symbols as metadata keys with a true value' do
|
10
|
-
hash[:foo].
|
11
|
-
hash[:bar].
|
10
|
+
expect(hash[:foo]).to be(true)
|
11
|
+
expect(hash[:bar]).to be(true)
|
12
12
|
end
|
13
13
|
|
14
14
|
it 'still processes hash values normally' do
|
15
|
-
hash[:bazz].
|
15
|
+
expect(hash[:bazz]).to be(23)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
@@ -30,7 +30,7 @@ shared_examples_for "metadata hash builder" do
|
|
30
30
|
end
|
31
31
|
|
32
32
|
it 'does not treat symbols as metadata keys' do
|
33
|
-
metadata_hash(:foo, :bar, :key => 'value').
|
33
|
+
expect(metadata_hash(:foo, :bar, :key => 'value')).not_to include(:foo, :bar)
|
34
34
|
end
|
35
35
|
|
36
36
|
it 'does not print a warning if there are no symbol arguments' do
|
data/spec/support/spec_files.rb
CHANGED
@@ -12,7 +12,7 @@ shared_context "spec files" do
|
|
12
12
|
f.write %q{
|
13
13
|
describe "passing spec" do
|
14
14
|
it "passes" do
|
15
|
-
1.
|
15
|
+
expect(1).to eq(1)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
}
|
@@ -24,7 +24,7 @@ shared_context "spec files" do
|
|
24
24
|
f.write %q{
|
25
25
|
describe "failing spec" do
|
26
26
|
it "fails" do
|
27
|
-
1.
|
27
|
+
expect(1).to eq(2)
|
28
28
|
end
|
29
29
|
end
|
30
30
|
}
|
metadata
CHANGED
@@ -1,178 +1,170 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
hash: 59
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 2
|
8
|
-
- 12
|
9
|
-
- 2
|
10
|
-
version: 2.12.2
|
5
|
+
version: 2.13.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Steven Baker
|
14
9
|
- David Chelimsky
|
15
10
|
- Chad Humphries
|
16
11
|
autorequire:
|
17
12
|
bindir: exe
|
18
13
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
none: false
|
25
|
-
requirements:
|
14
|
+
date: 2013-02-23 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 79
|
29
|
-
segments:
|
30
|
-
- 10
|
31
|
-
- 0
|
32
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 10.0.0
|
22
|
+
none: false
|
34
23
|
prerelease: false
|
35
|
-
type: :development
|
36
24
|
name: rake
|
37
|
-
requirement:
|
38
|
-
|
39
|
-
|
25
|
+
requirement: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 10.0.0
|
40
30
|
none: false
|
41
|
-
|
31
|
+
type: :development
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
42
35
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 1
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 1
|
48
|
-
- 9
|
36
|
+
- !ruby/object:Gem::Version
|
49
37
|
version: 1.1.9
|
38
|
+
none: false
|
50
39
|
prerelease: false
|
51
|
-
type: :development
|
52
40
|
name: cucumber
|
53
|
-
requirement:
|
54
|
-
|
55
|
-
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.9
|
56
46
|
none: false
|
57
|
-
|
47
|
+
type: :development
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
58
51
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 25
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
- 4
|
64
|
-
- 11
|
52
|
+
- !ruby/object:Gem::Version
|
65
53
|
version: 0.4.11
|
54
|
+
none: false
|
66
55
|
prerelease: false
|
67
|
-
type: :development
|
68
56
|
name: aruba
|
69
|
-
requirement:
|
70
|
-
|
71
|
-
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.4.11
|
72
62
|
none: false
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
- 6
|
80
|
-
- 2
|
63
|
+
type: :development
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
81
69
|
version: 4.6.2
|
70
|
+
none: false
|
82
71
|
prerelease: false
|
83
|
-
type: :development
|
84
72
|
name: ZenTest
|
85
|
-
requirement:
|
86
|
-
|
87
|
-
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - '='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 4.6.2
|
88
78
|
none: false
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
- 5
|
96
|
-
- 2
|
79
|
+
type: :development
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - '='
|
84
|
+
- !ruby/object:Gem::Version
|
97
85
|
version: 1.5.2
|
86
|
+
none: false
|
98
87
|
prerelease: false
|
99
|
-
type: :development
|
100
88
|
name: nokogiri
|
101
|
-
requirement:
|
102
|
-
|
103
|
-
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - '='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.5.2
|
104
94
|
none: false
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
- 0
|
112
|
-
- 0
|
95
|
+
type: :development
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - '='
|
100
|
+
- !ruby/object:Gem::Version
|
113
101
|
version: 1.0.0
|
102
|
+
none: false
|
114
103
|
prerelease: false
|
115
|
-
type: :development
|
116
104
|
name: syntax
|
117
|
-
requirement:
|
118
|
-
|
119
|
-
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - '='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.0.0
|
120
110
|
none: false
|
121
|
-
|
111
|
+
type: :development
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
122
115
|
- - ~>
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
hash: 43
|
125
|
-
segments:
|
126
|
-
- 0
|
127
|
-
- 13
|
128
|
-
- 0
|
116
|
+
- !ruby/object:Gem::Version
|
129
117
|
version: 0.13.0
|
118
|
+
none: false
|
130
119
|
prerelease: false
|
131
|
-
type: :development
|
132
120
|
name: mocha
|
133
|
-
requirement:
|
134
|
-
|
135
|
-
|
121
|
+
requirement: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.13.0
|
136
126
|
none: false
|
137
|
-
|
127
|
+
type: :development
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
138
131
|
- - ~>
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
hash: 31
|
141
|
-
segments:
|
142
|
-
- 1
|
143
|
-
- 0
|
144
|
-
- 4
|
132
|
+
- !ruby/object:Gem::Version
|
145
133
|
version: 1.0.4
|
134
|
+
none: false
|
146
135
|
prerelease: false
|
147
|
-
type: :development
|
148
136
|
name: rr
|
149
|
-
requirement:
|
150
|
-
|
151
|
-
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 1.0.4
|
152
142
|
none: false
|
153
|
-
|
143
|
+
type: :development
|
144
|
+
- !ruby/object:Gem::Dependency
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
154
147
|
- - ~>
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
hash: 59
|
157
|
-
segments:
|
158
|
-
- 0
|
159
|
-
- 9
|
160
|
-
- 0
|
148
|
+
- !ruby/object:Gem::Version
|
161
149
|
version: 0.9.0
|
150
|
+
none: false
|
162
151
|
prerelease: false
|
163
|
-
type: :development
|
164
152
|
name: flexmock
|
165
|
-
requirement:
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.9.0
|
158
|
+
none: false
|
159
|
+
type: :development
|
166
160
|
description: BDD for Ruby. RSpec runner and example groups.
|
167
161
|
email: rspec-users@rubyforge.org
|
168
|
-
executables:
|
162
|
+
executables:
|
169
163
|
- autospec
|
170
164
|
- rspec
|
171
165
|
extensions: []
|
172
|
-
|
173
166
|
extra_rdoc_files: []
|
174
|
-
|
175
|
-
files:
|
167
|
+
files:
|
176
168
|
- lib/autotest/discover.rb
|
177
169
|
- lib/autotest/rspec2.rb
|
178
170
|
- lib/rspec/autorun.rb
|
@@ -204,8 +196,8 @@ files:
|
|
204
196
|
- lib/rspec/core/formatters/snippet_extractor.rb
|
205
197
|
- lib/rspec/core/formatters/text_mate_formatter.rb
|
206
198
|
- lib/rspec/core/hooks.rb
|
207
|
-
- lib/rspec/core/let.rb
|
208
199
|
- lib/rspec/core/load_path.rb
|
200
|
+
- lib/rspec/core/memoized_helpers.rb
|
209
201
|
- lib/rspec/core/metadata.rb
|
210
202
|
- lib/rspec/core/metadata_hash_builder.rb
|
211
203
|
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
@@ -222,7 +214,6 @@ files:
|
|
222
214
|
- lib/rspec/core/runner.rb
|
223
215
|
- lib/rspec/core/shared_context.rb
|
224
216
|
- lib/rspec/core/shared_example_group.rb
|
225
|
-
- lib/rspec/core/subject.rb
|
226
217
|
- lib/rspec/core/version.rb
|
227
218
|
- lib/rspec/core/world.rb
|
228
219
|
- README.md
|
@@ -246,10 +237,19 @@ files:
|
|
246
237
|
- features/command_line/ruby.feature
|
247
238
|
- features/command_line/tag.feature
|
248
239
|
- features/configuration/alias_example_to.feature
|
240
|
+
- features/configuration/backtrace_clean_patterns.feature
|
249
241
|
- features/configuration/custom_settings.feature
|
250
242
|
- features/configuration/default_path.feature
|
251
243
|
- features/configuration/fail_fast.feature
|
244
|
+
- features/configuration/failure_exit_code.feature
|
245
|
+
- features/configuration/order_and_seed.feature
|
246
|
+
- features/configuration/output_stream.feature
|
247
|
+
- features/configuration/pattern.feature
|
248
|
+
- features/configuration/profile.feature
|
252
249
|
- features/configuration/read_options_from_file.feature
|
250
|
+
- features/configuration/run_all_when_everything_filtered.feature
|
251
|
+
- features/configuration/show_failures_in_pending_blocks.feature
|
252
|
+
- features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature
|
253
253
|
- features/example_groups/basic_structure.feature
|
254
254
|
- features/example_groups/shared_context.feature
|
255
255
|
- features/example_groups/shared_examples.feature
|
@@ -258,6 +258,7 @@ files:
|
|
258
258
|
- features/filtering/if_and_unless.feature
|
259
259
|
- features/filtering/inclusion_filters.feature
|
260
260
|
- features/filtering/run_all_when_everything_filtered.feature
|
261
|
+
- features/formatters/configurable_colors.feature
|
261
262
|
- features/formatters/custom_formatter.feature
|
262
263
|
- features/formatters/json_formatter.feature
|
263
264
|
- features/formatters/text_formatter.feature
|
@@ -305,11 +306,11 @@ files:
|
|
305
306
|
- spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
|
306
307
|
- spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html
|
307
308
|
- spec/rspec/core/formatters/html_formatted-1.8.7.html
|
308
|
-
- spec/rspec/core/formatters/html_formatted-1.9.2-jruby.html
|
309
309
|
- spec/rspec/core/formatters/html_formatted-1.9.2.html
|
310
310
|
- spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html
|
311
311
|
- spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html
|
312
312
|
- spec/rspec/core/formatters/html_formatted-1.9.3.html
|
313
|
+
- spec/rspec/core/formatters/html_formatted-2.0.0.html
|
313
314
|
- spec/rspec/core/formatters/html_formatter_spec.rb
|
314
315
|
- spec/rspec/core/formatters/json_formatter_spec.rb
|
315
316
|
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
@@ -317,16 +318,16 @@ files:
|
|
317
318
|
- spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html
|
318
319
|
- spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html
|
319
320
|
- spec/rspec/core/formatters/text_mate_formatted-1.8.7.html
|
320
|
-
- spec/rspec/core/formatters/text_mate_formatted-1.9.2-jruby.html
|
321
321
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.2.html
|
322
322
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html
|
323
323
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html
|
324
324
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.3.html
|
325
|
+
- spec/rspec/core/formatters/text_mate_formatted-2.0.0.html
|
325
326
|
- spec/rspec/core/formatters/text_mate_formatter_spec.rb
|
326
327
|
- spec/rspec/core/hooks_filtering_spec.rb
|
327
328
|
- spec/rspec/core/hooks_spec.rb
|
328
329
|
- spec/rspec/core/kernel_extensions_spec.rb
|
329
|
-
- spec/rspec/core/
|
330
|
+
- spec/rspec/core/memoized_helpers_spec.rb
|
330
331
|
- spec/rspec/core/metadata_spec.rb
|
331
332
|
- spec/rspec/core/option_parser_spec.rb
|
332
333
|
- spec/rspec/core/pending_example_spec.rb
|
@@ -344,7 +345,6 @@ files:
|
|
344
345
|
- spec/rspec/core/runner_spec.rb
|
345
346
|
- spec/rspec/core/shared_context_spec.rb
|
346
347
|
- spec/rspec/core/shared_example_group_spec.rb
|
347
|
-
- spec/rspec/core/subject_spec.rb
|
348
348
|
- spec/rspec/core/world_spec.rb
|
349
349
|
- spec/rspec/core_spec.rb
|
350
350
|
- spec/spec_helper.rb
|
@@ -358,39 +358,38 @@ files:
|
|
358
358
|
- exe/autospec
|
359
359
|
- exe/rspec
|
360
360
|
homepage: http://github.com/rspec/rspec-core
|
361
|
-
licenses:
|
361
|
+
licenses:
|
362
362
|
- MIT
|
363
363
|
post_install_message:
|
364
|
-
rdoc_options:
|
364
|
+
rdoc_options:
|
365
365
|
- --charset=UTF-8
|
366
|
-
require_paths:
|
366
|
+
require_paths:
|
367
367
|
- lib
|
368
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
segments:
|
368
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
369
|
+
requirements:
|
370
|
+
- - ! '>='
|
371
|
+
- !ruby/object:Gem::Version
|
372
|
+
version: '0'
|
373
|
+
segments:
|
375
374
|
- 0
|
376
|
-
|
377
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
375
|
+
hash: 3060570395561359548
|
378
376
|
none: false
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
377
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
378
|
+
requirements:
|
379
|
+
- - ! '>='
|
380
|
+
- !ruby/object:Gem::Version
|
381
|
+
version: '0'
|
382
|
+
segments:
|
384
383
|
- 0
|
385
|
-
|
384
|
+
hash: 3060570395561359548
|
385
|
+
none: false
|
386
386
|
requirements: []
|
387
|
-
|
388
387
|
rubyforge_project: rspec
|
389
388
|
rubygems_version: 1.8.24
|
390
389
|
signing_key:
|
391
390
|
specification_version: 3
|
392
|
-
summary: rspec-core-2.
|
393
|
-
test_files:
|
391
|
+
summary: rspec-core-2.13.0
|
392
|
+
test_files:
|
394
393
|
- features/Autotest.md
|
395
394
|
- features/README.md
|
396
395
|
- features/Upgrade.md
|
@@ -407,10 +406,19 @@ test_files:
|
|
407
406
|
- features/command_line/ruby.feature
|
408
407
|
- features/command_line/tag.feature
|
409
408
|
- features/configuration/alias_example_to.feature
|
409
|
+
- features/configuration/backtrace_clean_patterns.feature
|
410
410
|
- features/configuration/custom_settings.feature
|
411
411
|
- features/configuration/default_path.feature
|
412
412
|
- features/configuration/fail_fast.feature
|
413
|
+
- features/configuration/failure_exit_code.feature
|
414
|
+
- features/configuration/order_and_seed.feature
|
415
|
+
- features/configuration/output_stream.feature
|
416
|
+
- features/configuration/pattern.feature
|
417
|
+
- features/configuration/profile.feature
|
413
418
|
- features/configuration/read_options_from_file.feature
|
419
|
+
- features/configuration/run_all_when_everything_filtered.feature
|
420
|
+
- features/configuration/show_failures_in_pending_blocks.feature
|
421
|
+
- features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature
|
414
422
|
- features/example_groups/basic_structure.feature
|
415
423
|
- features/example_groups/shared_context.feature
|
416
424
|
- features/example_groups/shared_examples.feature
|
@@ -419,6 +427,7 @@ test_files:
|
|
419
427
|
- features/filtering/if_and_unless.feature
|
420
428
|
- features/filtering/inclusion_filters.feature
|
421
429
|
- features/filtering/run_all_when_everything_filtered.feature
|
430
|
+
- features/formatters/configurable_colors.feature
|
422
431
|
- features/formatters/custom_formatter.feature
|
423
432
|
- features/formatters/json_formatter.feature
|
424
433
|
- features/formatters/text_formatter.feature
|
@@ -466,11 +475,11 @@ test_files:
|
|
466
475
|
- spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
|
467
476
|
- spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html
|
468
477
|
- spec/rspec/core/formatters/html_formatted-1.8.7.html
|
469
|
-
- spec/rspec/core/formatters/html_formatted-1.9.2-jruby.html
|
470
478
|
- spec/rspec/core/formatters/html_formatted-1.9.2.html
|
471
479
|
- spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html
|
472
480
|
- spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html
|
473
481
|
- spec/rspec/core/formatters/html_formatted-1.9.3.html
|
482
|
+
- spec/rspec/core/formatters/html_formatted-2.0.0.html
|
474
483
|
- spec/rspec/core/formatters/html_formatter_spec.rb
|
475
484
|
- spec/rspec/core/formatters/json_formatter_spec.rb
|
476
485
|
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
@@ -478,16 +487,16 @@ test_files:
|
|
478
487
|
- spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html
|
479
488
|
- spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html
|
480
489
|
- spec/rspec/core/formatters/text_mate_formatted-1.8.7.html
|
481
|
-
- spec/rspec/core/formatters/text_mate_formatted-1.9.2-jruby.html
|
482
490
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.2.html
|
483
491
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html
|
484
492
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html
|
485
493
|
- spec/rspec/core/formatters/text_mate_formatted-1.9.3.html
|
494
|
+
- spec/rspec/core/formatters/text_mate_formatted-2.0.0.html
|
486
495
|
- spec/rspec/core/formatters/text_mate_formatter_spec.rb
|
487
496
|
- spec/rspec/core/hooks_filtering_spec.rb
|
488
497
|
- spec/rspec/core/hooks_spec.rb
|
489
498
|
- spec/rspec/core/kernel_extensions_spec.rb
|
490
|
-
- spec/rspec/core/
|
499
|
+
- spec/rspec/core/memoized_helpers_spec.rb
|
491
500
|
- spec/rspec/core/metadata_spec.rb
|
492
501
|
- spec/rspec/core/option_parser_spec.rb
|
493
502
|
- spec/rspec/core/pending_example_spec.rb
|
@@ -505,7 +514,6 @@ test_files:
|
|
505
514
|
- spec/rspec/core/runner_spec.rb
|
506
515
|
- spec/rspec/core/shared_context_spec.rb
|
507
516
|
- spec/rspec/core/shared_example_group_spec.rb
|
508
|
-
- spec/rspec/core/subject_spec.rb
|
509
517
|
- spec/rspec/core/world_spec.rb
|
510
518
|
- spec/rspec/core_spec.rb
|
511
519
|
- spec/spec_helper.rb
|