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.
Files changed (95) hide show
  1. data/Changelog.md +31 -0
  2. data/README.md +11 -10
  3. data/features/command_line/example_name_option.feature +6 -10
  4. data/features/command_line/tag.feature +15 -8
  5. data/features/configuration/backtrace_clean_patterns.feature +102 -0
  6. data/features/configuration/failure_exit_code.feature +36 -0
  7. data/features/configuration/order_and_seed.feature +3 -0
  8. data/features/configuration/output_stream.feature +24 -0
  9. data/features/configuration/pattern.feature +30 -0
  10. data/features/configuration/profile.feature +163 -0
  11. data/features/configuration/run_all_when_everything_filtered.feature +60 -0
  12. data/features/configuration/show_failures_in_pending_blocks.feature +61 -0
  13. data/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
  14. data/features/filtering/exclusion_filters.feature +1 -2
  15. data/features/formatters/configurable_colors.feature +31 -0
  16. data/features/step_definitions/additional_cli_steps.rb +21 -0
  17. data/features/subject/explicit_subject.feature +19 -0
  18. data/lib/autotest/rspec2.rb +1 -1
  19. data/lib/rspec/core.rb +1 -2
  20. data/lib/rspec/core/configuration.rb +33 -3
  21. data/lib/rspec/core/configuration_options.rb +5 -5
  22. data/lib/rspec/core/deprecation.rb +1 -1
  23. data/lib/rspec/core/example.rb +2 -2
  24. data/lib/rspec/core/example_group.rb +1 -3
  25. data/lib/rspec/core/formatters/base_text_formatter.rb +93 -27
  26. data/lib/rspec/core/formatters/documentation_formatter.rb +3 -3
  27. data/lib/rspec/core/formatters/progress_formatter.rb +3 -3
  28. data/lib/rspec/core/memoized_helpers.rb +425 -0
  29. data/lib/rspec/core/metadata.rb +6 -2
  30. data/lib/rspec/core/option_parser.rb +8 -2
  31. data/lib/rspec/core/pending.rb +7 -0
  32. data/lib/rspec/core/shared_context.rb +1 -1
  33. data/lib/rspec/core/version.rb +1 -1
  34. data/spec/autotest/failed_results_re_spec.rb +4 -4
  35. data/spec/autotest/rspec_spec.rb +25 -20
  36. data/spec/command_line/order_spec.rb +21 -21
  37. data/spec/rspec/core/command_line_spec.rb +6 -6
  38. data/spec/rspec/core/configuration_options_spec.rb +86 -72
  39. data/spec/rspec/core/configuration_spec.rb +161 -156
  40. data/spec/rspec/core/deprecations_spec.rb +4 -4
  41. data/spec/rspec/core/drb_command_line_spec.rb +9 -9
  42. data/spec/rspec/core/drb_options_spec.rb +46 -33
  43. data/spec/rspec/core/dsl_spec.rb +3 -3
  44. data/spec/rspec/core/example_group_spec.rb +156 -124
  45. data/spec/rspec/core/example_spec.rb +68 -52
  46. data/spec/rspec/core/filter_manager_spec.rb +36 -36
  47. data/spec/rspec/core/formatters/base_formatter_spec.rb +9 -9
  48. data/spec/rspec/core/formatters/base_text_formatter_spec.rb +104 -42
  49. data/spec/rspec/core/formatters/documentation_formatter_spec.rb +4 -4
  50. data/spec/rspec/core/formatters/helpers_spec.rb +13 -13
  51. data/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +5 -17
  52. data/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +159 -44
  53. data/spec/rspec/core/formatters/html_formatted-1.8.7.html +14 -14
  54. data/spec/rspec/core/formatters/html_formatted-1.9.2.html +20 -20
  55. data/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +5 -5
  56. data/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +159 -44
  57. data/spec/rspec/core/formatters/html_formatted-1.9.3.html +20 -20
  58. data/spec/rspec/core/formatters/{html_formatted-1.9.2-jruby.html → html_formatted-2.0.0.html} +24 -18
  59. data/spec/rspec/core/formatters/html_formatter_spec.rb +9 -5
  60. data/spec/rspec/core/formatters/json_formatter_spec.rb +9 -9
  61. data/spec/rspec/core/formatters/progress_formatter_spec.rb +4 -4
  62. data/spec/rspec/core/formatters/snippet_extractor_spec.rb +3 -3
  63. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +5 -17
  64. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +159 -44
  65. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +16 -16
  66. data/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +23 -23
  67. data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +5 -17
  68. data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +159 -44
  69. data/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +23 -23
  70. data/spec/rspec/core/formatters/{text_mate_formatted-1.9.2-jruby.html → text_mate_formatted-2.0.0.html} +25 -19
  71. data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +8 -4
  72. data/spec/rspec/core/hooks_filtering_spec.rb +16 -16
  73. data/spec/rspec/core/hooks_spec.rb +11 -11
  74. data/spec/rspec/core/kernel_extensions_spec.rb +1 -1
  75. data/spec/rspec/core/memoized_helpers_spec.rb +458 -0
  76. data/spec/rspec/core/metadata_spec.rb +74 -74
  77. data/spec/rspec/core/option_parser_spec.rb +27 -27
  78. data/spec/rspec/core/pending_example_spec.rb +32 -32
  79. data/spec/rspec/core/project_initializer_spec.rb +8 -8
  80. data/spec/rspec/core/rake_task_spec.rb +16 -16
  81. data/spec/rspec/core/reporter_spec.rb +3 -3
  82. data/spec/rspec/core/resources/formatter_specs.rb +4 -4
  83. data/spec/rspec/core/ruby_project_spec.rb +4 -2
  84. data/spec/rspec/core/shared_context_spec.rb +34 -7
  85. data/spec/rspec/core/shared_example_group_spec.rb +14 -14
  86. data/spec/rspec/core/world_spec.rb +9 -9
  87. data/spec/rspec/core_spec.rb +5 -5
  88. data/spec/spec_helper.rb +4 -0
  89. data/spec/support/shared_example_groups.rb +4 -4
  90. data/spec/support/spec_files.rb +2 -2
  91. metadata +158 -150
  92. data/lib/rspec/core/let.rb +0 -110
  93. data/lib/rspec/core/subject.rb +0 -223
  94. data/spec/rspec/core/let_spec.rb +0 -55
  95. 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.should be_true
32
- before_each_hook.should be_true
33
- after_each_hook.should be_true
34
- after_all_hook.should be_true
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.should eq('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.should eq(1)
64
- group.children.first.examples.length.should eq(1)
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.should respond_to(shared_method_name)
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.should include('some shared group', original_declaration, second_declaration)
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].should eq(:extend)
50
- Class.new.extend(a[1]).new.bar.should eq('bar')
51
- a[2].should eq(:foo => :bar)
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].should eq(:extend)
67
- Class.new.extend(a[1]).new.bar.should eq('bar')
68
- a[2].should eq(:foo => :bar)
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.should respond_to("share_as")
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.should eq(4)
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.should eql("")
90
- phantom_group.metadata[:shared_group_name].should eql('Cornucopia')
91
- phantom_group.examples.length.should eq(1)
92
- phantom_group.examples.first.metadata[:description].should eq("is plentiful")
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.should be_empty
18
- world.shared_example_groups.should be_empty
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.should include(group)
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).should be_nil
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).should eq(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).should eq(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).should eq(group_declaration_line)
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).should eq(example_declaration_line)
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).should eq(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
@@ -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.should equal(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.should equal(RSpec::configuration)
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.should equal(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.should_not equal(config_before_reset)
32
- RSpec.world.should_not equal(world_before_reset)
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
@@ -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].should be(true)
11
- hash[:bar].should be(true)
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].should be(23)
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').should_not include(:foo, :bar)
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
@@ -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.should eq(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.should eq(2)
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
- segments:
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
- date: 2012-12-14 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
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: *id001
38
- - !ruby/object:Gem::Dependency
39
- version_requirements: &id002 !ruby/object:Gem::Requirement
25
+ requirement: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 10.0.0
40
30
  none: false
41
- requirements:
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: *id002
54
- - !ruby/object:Gem::Dependency
55
- version_requirements: &id003 !ruby/object:Gem::Requirement
41
+ requirement: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.1.9
56
46
  none: false
57
- requirements:
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: *id003
70
- - !ruby/object:Gem::Dependency
71
- version_requirements: &id004 !ruby/object:Gem::Requirement
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.4.11
72
62
  none: false
73
- requirements:
74
- - - "="
75
- - !ruby/object:Gem::Version
76
- hash: 35
77
- segments:
78
- - 4
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: *id004
86
- - !ruby/object:Gem::Dependency
87
- version_requirements: &id005 !ruby/object:Gem::Requirement
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - '='
76
+ - !ruby/object:Gem::Version
77
+ version: 4.6.2
88
78
  none: false
89
- requirements:
90
- - - "="
91
- - !ruby/object:Gem::Version
92
- hash: 7
93
- segments:
94
- - 1
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: *id005
102
- - !ruby/object:Gem::Dependency
103
- version_requirements: &id006 !ruby/object:Gem::Requirement
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - '='
92
+ - !ruby/object:Gem::Version
93
+ version: 1.5.2
104
94
  none: false
105
- requirements:
106
- - - "="
107
- - !ruby/object:Gem::Version
108
- hash: 23
109
- segments:
110
- - 1
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: *id006
118
- - !ruby/object:Gem::Dependency
119
- version_requirements: &id007 !ruby/object:Gem::Requirement
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 1.0.0
120
110
  none: false
121
- requirements:
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: *id007
134
- - !ruby/object:Gem::Dependency
135
- version_requirements: &id008 !ruby/object:Gem::Requirement
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 0.13.0
136
126
  none: false
137
- requirements:
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: *id008
150
- - !ruby/object:Gem::Dependency
151
- version_requirements: &id009 !ruby/object:Gem::Requirement
137
+ requirement: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 1.0.4
152
142
  none: false
153
- requirements:
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: *id009
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/let_spec.rb
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
- none: false
370
- requirements:
371
- - - ">="
372
- - !ruby/object:Gem::Version
373
- hash: 3
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
- version: "0"
377
- required_rubygems_version: !ruby/object:Gem::Requirement
375
+ hash: 3060570395561359548
378
376
  none: false
379
- requirements:
380
- - - ">="
381
- - !ruby/object:Gem::Version
382
- hash: 3
383
- segments:
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
- version: "0"
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.12.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/let_spec.rb
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