rspec-core 2.13.1 → 2.14.0.rc1

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.
Files changed (112) hide show
  1. data/Changelog.md +80 -0
  2. data/exe/autospec +1 -1
  3. data/features/README.md +2 -2
  4. data/features/command_line/format_option.feature +8 -14
  5. data/features/command_line/line_number_appended_to_path.feature +4 -4
  6. data/features/command_line/line_number_option.feature +1 -1
  7. data/features/command_line/rake_task.feature +2 -2
  8. data/features/command_line/require_option.feature +43 -0
  9. data/features/command_line/ruby.feature +2 -2
  10. data/features/command_line/warnings_option.feature +27 -0
  11. data/features/configuration/backtrace_clean_patterns.feature +2 -2
  12. data/features/configuration/deprecation_stream.feature +58 -0
  13. data/features/configuration/pattern.feature +8 -0
  14. data/features/configuration/profile.feature +59 -2
  15. data/features/configuration/read_options_from_file.feature +8 -5
  16. data/features/configuration/run_all_when_everything_filtered.feature +20 -4
  17. data/features/example_groups/basic_structure.feature +1 -1
  18. data/features/example_groups/shared_context.feature +1 -1
  19. data/features/example_groups/shared_examples.feature +72 -0
  20. data/features/filtering/exclusion_filters.feature +10 -10
  21. data/features/formatters/custom_formatter.feature +1 -1
  22. data/features/hooks/before_and_after_hooks.feature +19 -19
  23. data/features/mock_framework_integration/use_any_framework.feature +6 -6
  24. data/features/mock_framework_integration/use_flexmock.feature +3 -3
  25. data/features/mock_framework_integration/use_mocha.feature +3 -3
  26. data/features/mock_framework_integration/use_rr.feature +3 -3
  27. data/features/mock_framework_integration/use_rspec.feature +3 -3
  28. data/features/subject/implicit_subject.feature +1 -1
  29. data/lib/rspec/core.rb +20 -3
  30. data/lib/rspec/core/backtrace_cleaner.rb +46 -0
  31. data/lib/rspec/core/backward_compatibility.rb +3 -13
  32. data/lib/rspec/core/configuration.rb +136 -49
  33. data/lib/rspec/core/configuration_options.rb +19 -8
  34. data/lib/rspec/core/deprecation.rb +18 -30
  35. data/lib/rspec/core/example.rb +3 -3
  36. data/lib/rspec/core/example_group.rb +4 -3
  37. data/lib/rspec/core/extensions/kernel.rb +1 -1
  38. data/lib/rspec/core/filter_manager.rb +1 -1
  39. data/lib/rspec/core/formatters.rb +1 -1
  40. data/lib/rspec/core/formatters/base_formatter.rb +10 -1
  41. data/lib/rspec/core/formatters/base_text_formatter.rb +47 -10
  42. data/lib/rspec/core/formatters/deprecation_formatter.rb +35 -0
  43. data/lib/rspec/core/formatters/helpers.rb +12 -5
  44. data/lib/rspec/core/formatters/html_formatter.rb +7 -6
  45. data/lib/rspec/core/formatters/html_printer.rb +13 -12
  46. data/lib/rspec/core/formatters/json_formatter.rb +1 -2
  47. data/lib/rspec/core/formatters/text_mate_formatter.rb +1 -1
  48. data/lib/rspec/core/hooks.rb +9 -0
  49. data/lib/rspec/core/memoized_helpers.rb +19 -8
  50. data/lib/rspec/core/metadata.rb +3 -1
  51. data/lib/rspec/core/mocking/with_flexmock.rb +1 -1
  52. data/lib/rspec/core/mocking/with_rr.rb +1 -1
  53. data/lib/rspec/core/option_parser.rb +6 -2
  54. data/lib/rspec/core/pending.rb +1 -0
  55. data/lib/rspec/core/rake_task.rb +11 -19
  56. data/lib/rspec/core/reporter.rb +33 -4
  57. data/lib/rspec/core/shared_example_group.rb +56 -16
  58. data/lib/rspec/core/shared_example_group/collection.rb +42 -0
  59. data/lib/rspec/core/version.rb +1 -1
  60. data/lib/rspec/core/world.rb +2 -3
  61. data/spec/autotest/rspec_spec.rb +2 -2
  62. data/spec/rspec/core/backtrace_cleaner_spec.rb +68 -0
  63. data/spec/rspec/core/configuration_options_spec.rb +15 -4
  64. data/spec/rspec/core/configuration_spec.rb +202 -19
  65. data/spec/rspec/core/deprecation_spec.rb +41 -0
  66. data/spec/rspec/core/deprecations_spec.rb +10 -12
  67. data/spec/rspec/core/drb_command_line_spec.rb +1 -1
  68. data/spec/rspec/core/example_group_spec.rb +37 -36
  69. data/spec/rspec/core/example_spec.rb +25 -4
  70. data/spec/rspec/core/filter_manager_spec.rb +6 -6
  71. data/spec/rspec/core/formatters/base_text_formatter_spec.rb +101 -36
  72. data/spec/rspec/core/formatters/deprecation_formatter_spec.rb +78 -0
  73. data/spec/rspec/core/formatters/documentation_formatter_spec.rb +2 -2
  74. data/spec/rspec/core/formatters/helpers_spec.rb +23 -7
  75. data/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +20 -14
  76. data/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +69 -169
  77. data/spec/rspec/core/formatters/html_formatted-1.8.7.html +28 -23
  78. data/spec/rspec/core/formatters/html_formatted-1.9.2.html +42 -33
  79. data/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +17 -23
  80. data/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +57 -157
  81. data/spec/rspec/core/formatters/html_formatted-1.9.3.html +42 -33
  82. data/spec/rspec/core/formatters/html_formatted-2.0.0.html +42 -33
  83. data/spec/rspec/core/formatters/html_formatter_spec.rb +1 -0
  84. data/spec/rspec/core/formatters/progress_formatter_spec.rb +3 -3
  85. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +11 -14
  86. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +103 -203
  87. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +30 -25
  88. data/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +42 -33
  89. data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +20 -14
  90. data/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +103 -203
  91. data/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +42 -33
  92. data/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +42 -33
  93. data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +1 -0
  94. data/spec/rspec/core/memoized_helpers_spec.rb +28 -0
  95. data/spec/rspec/core/metadata_spec.rb +8 -3
  96. data/spec/rspec/core/option_parser_spec.rb +8 -0
  97. data/spec/rspec/core/project_initializer_spec.rb +2 -2
  98. data/spec/rspec/core/rake_task_spec.rb +8 -8
  99. data/spec/rspec/core/reporter_spec.rb +26 -6
  100. data/spec/rspec/core/resources/formatter_specs.rb +3 -3
  101. data/spec/rspec/core/shared_context_spec.rb +20 -0
  102. data/spec/rspec/core/shared_example_group/collection_spec.rb +70 -0
  103. data/spec/rspec/core/shared_example_group_spec.rb +4 -4
  104. data/spec/rspec/core/world_spec.rb +1 -3
  105. data/spec/rspec/core_spec.rb +20 -0
  106. data/spec/spec_helper.rb +29 -29
  107. data/spec/support/helper_methods.rb +9 -1
  108. data/spec/support/isolate_load_path_mutation.rb +6 -0
  109. data/spec/support/sandboxed_mock_space.rb +100 -0
  110. metadata +28 -13
  111. data/features/filtering/run_all_when_everything_filtered.feature +0 -46
  112. data/lib/rspec/core/load_path.rb +0 -3
@@ -48,13 +48,13 @@ describe "a failing spec with odd backtraces" do
48
48
  ["/foo.html.erb:1:in `<main>': foo (RuntimeError)",
49
49
  " from /lib/ruby/1.9.1/erb.rb:753:in `eval'"]
50
50
  end
51
-
51
+
52
52
  def e.message
53
- # Redefining message steps around this behaviour
53
+ # Redefining message steps around this behaviour
54
54
  # on JRuby: http://jira.codehaus.org/browse/JRUBY-5637
55
55
  self.class.name
56
56
  end
57
-
57
+
58
58
  raise e
59
59
  end
60
60
  end
@@ -34,6 +34,26 @@ describe RSpec::SharedContext do
34
34
  expect(after_all_hook).to be_true
35
35
  end
36
36
 
37
+ it "runs the before each hooks in configuration before those of the shared context" do
38
+ ordered_hooks = []
39
+ RSpec.configure do |c|
40
+ c.before(:each) { ordered_hooks << "config" }
41
+ end
42
+
43
+ shared_context("before each stuff", :example => :before_each_hook_order) do
44
+ before(:each) { ordered_hooks << "shared_context"}
45
+ end
46
+
47
+ group = RSpec::Core::ExampleGroup.describe :example => :before_each_hook_order do
48
+ before(:each) { ordered_hooks << "example_group" }
49
+ example {}
50
+ end
51
+
52
+ group.run
53
+
54
+ expect(ordered_hooks).to be == ["config", "shared_context", "example_group"]
55
+ end
56
+
37
57
  it "supports let" do
38
58
  shared = Module.new do
39
59
  extend RSpec::SharedContext
@@ -0,0 +1,70 @@
1
+ require 'spec_helper'
2
+
3
+ module RSpec::Core::SharedExampleGroup
4
+ describe Collection do
5
+
6
+ # this represents:
7
+ #
8
+ # shared_examples "top level group"
9
+ #
10
+ # context do
11
+ # shared_examples "nested level one"
12
+ # end
13
+ #
14
+ # context do
15
+ # shared_examples "nested level two"
16
+ # end
17
+ #
18
+ let(:examples) do
19
+ Hash.new { |hash,k| hash[k] = Hash.new }.tap do |hash|
20
+ hash["main"] = { "top level group" => example_1 }
21
+ hash["nested 1"] = { "nested level one" => example_2 }
22
+ hash["nested 2"] = { "nested level two" => example_3 }
23
+ end
24
+ end
25
+ (1..3).each { |num| let("example_#{num}") { double "example #{num}" } }
26
+
27
+ context 'setup with one source, which is the top level' do
28
+
29
+ let(:collection) { Collection.new ['main'], examples }
30
+
31
+ it 'fetches examples from the top level' do
32
+ expect(collection['top level group']).to eq example_1
33
+ end
34
+
35
+ it 'fetches examples across the nested context' do
36
+ RSpec.stub(:warn_deprecation)
37
+ expect(collection['nested level two']).to eq example_3
38
+ end
39
+
40
+ it 'warns about deprecation when you fetch across nested contexts' do
41
+ RSpec.should_receive(:warn_deprecation)
42
+ collection['nested level two']
43
+ end
44
+ end
45
+
46
+ context 'setup with multiple sources' do
47
+
48
+ let(:collection) { Collection.new ['main','nested 1'], examples }
49
+
50
+ it 'fetches examples from the context' do
51
+ expect(collection['nested level one']).to eq example_2
52
+ end
53
+
54
+ it 'fetches examples from main' do
55
+ expect(collection['top level group']).to eq example_1
56
+ end
57
+
58
+ it 'fetches examples across the nested context' do
59
+ RSpec.stub(:warn_deprecation)
60
+ expect(collection['nested level two']).to eq example_3
61
+ end
62
+
63
+ it 'warns about deprecation when you fetch across nested contexts' do
64
+ RSpec.should_receive(:warn_deprecation)
65
+ collection['nested level two']
66
+ end
67
+
68
+ end
69
+ end
70
+ end
@@ -33,10 +33,10 @@ module RSpec::Core
33
33
  ["name", :name, ExampleModule, ExampleClass].each do |object|
34
34
  type = object.class.name.downcase
35
35
  context "given a #{type}" do
36
- it "captures the given #{type} and block in the World's collection of shared example groups" do
36
+ it "captures the given #{type} and block in the collection of shared example groups" do
37
37
  implementation = lambda {}
38
- RSpec.world.shared_example_groups.should_receive(:[]=).with(object, implementation)
39
38
  send(shared_method_name, object, &implementation)
39
+ expect(SharedExampleGroup::Registry.shared_example_groups[self][object]).to eq implementation
40
40
  end
41
41
  end
42
42
  end
@@ -55,8 +55,8 @@ module RSpec::Core
55
55
  context "given a string and a hash" do
56
56
  it "captures the given string and block in the World's collection of shared example groups" do
57
57
  implementation = lambda {}
58
- RSpec.world.shared_example_groups.should_receive(:[]=).with("name", implementation)
59
58
  send(shared_method_name, "name", :foo => :bar, &implementation)
59
+ expect(SharedExampleGroup::Registry.shared_example_groups[self]["name"]).to eq implementation
60
60
  end
61
61
 
62
62
  it "delegates extend on configuration" do
@@ -72,7 +72,7 @@ module RSpec::Core
72
72
  end
73
73
 
74
74
  describe "#share_as" do
75
- before { RSpec.stub(:warn) }
75
+ before { allow(RSpec).to receive(:deprecate) }
76
76
 
77
77
  it "is exposed to the global namespace" do
78
78
  expect(Kernel).to respond_to("share_as")
@@ -10,12 +10,10 @@ module RSpec::Core
10
10
  let(:world) { RSpec::Core::World.new(configuration) }
11
11
 
12
12
  describe '#reset' do
13
- it 'clears #example_groups and #shared_example_groups' do
13
+ it 'clears #example_groups' do
14
14
  world.example_groups << :example_group
15
- world.shared_example_groups[:shared] = :example_group
16
15
  world.reset
17
16
  expect(world.example_groups).to be_empty
18
- expect(world.shared_example_groups).to be_empty
19
17
  end
20
18
  end
21
19
 
@@ -7,6 +7,16 @@ describe RSpec do
7
7
  end
8
8
  end
9
9
 
10
+ describe "::configuration=" do
11
+ it "sets the configuration object" do
12
+ configuration = RSpec::Core::Configuration.new
13
+
14
+ RSpec.configuration = configuration
15
+
16
+ expect(RSpec.configuration).to equal(configuration)
17
+ end
18
+ end
19
+
10
20
  describe "::configure" do
11
21
  it "yields the current configuration" do
12
22
  RSpec.configure do |config|
@@ -21,6 +31,16 @@ describe RSpec do
21
31
  end
22
32
  end
23
33
 
34
+ describe "::world=" do
35
+ it "sets the world object" do
36
+ world = RSpec::Core::World.new
37
+
38
+ RSpec.world = world
39
+
40
+ expect(RSpec.world).to equal(world)
41
+ end
42
+ end
43
+
24
44
  describe "::reset" do
25
45
  it "resets the configuration and world objects" do
26
46
  config_before_reset = RSpec.configuration
@@ -35,37 +35,37 @@ Spork.prefork do
35
35
  end
36
36
  end
37
37
 
38
- def sandboxed(&block)
39
- @orig_config = RSpec.configuration
40
- @orig_world = RSpec.world
41
- new_config = RSpec::Core::Configuration.new
42
- new_world = RSpec::Core::World.new(new_config)
43
- RSpec.instance_variable_set(:@configuration, new_config)
44
- RSpec.instance_variable_set(:@world, new_world)
45
- object = Object.new
46
- object.extend(RSpec::Core::SharedExampleGroup)
47
-
48
- (class << RSpec::Core::ExampleGroup; self; end).class_eval do
49
- alias_method :orig_run, :run
50
- def run(reporter=nil)
51
- @orig_mock_space = RSpec::Mocks::space
52
- RSpec::Mocks::space = RSpec::Mocks::Space.new
53
- orig_run(reporter || NullObject.new)
54
- ensure
55
- RSpec::Mocks::space = @orig_mock_space
38
+ module Sandboxing
39
+ def self.sandboxed(&block)
40
+ @orig_config = RSpec.configuration
41
+ @orig_world = RSpec.world
42
+ new_config = RSpec::Core::Configuration.new
43
+ new_world = RSpec::Core::World.new(new_config)
44
+ RSpec.configuration = new_config
45
+ RSpec.world = new_world
46
+ object = Object.new
47
+ object.extend(RSpec::Core::SharedExampleGroup)
48
+
49
+ (class << RSpec::Core::ExampleGroup; self; end).class_eval do
50
+ alias_method :orig_run, :run
51
+ def run(reporter=nil)
52
+ orig_run(reporter || NullObject.new)
53
+ end
56
54
  end
57
- end
58
55
 
59
- object.instance_eval(&block)
60
- ensure
61
- (class << RSpec::Core::ExampleGroup; self; end).class_eval do
62
- remove_method :run
63
- alias_method :run, :orig_run
64
- remove_method :orig_run
65
- end
56
+ RSpec::Core::SandboxedMockSpace.sandboxed do
57
+ object.instance_eval(&block)
58
+ end
59
+ ensure
60
+ (class << RSpec::Core::ExampleGroup; self; end).class_eval do
61
+ remove_method :run
62
+ alias_method :run, :orig_run
63
+ remove_method :orig_run
64
+ end
66
65
 
67
- RSpec.instance_variable_set(:@configuration, @orig_config)
68
- RSpec.instance_variable_set(:@world, @orig_world)
66
+ RSpec.configuration = @orig_config
67
+ RSpec.world = @orig_world
68
+ end
69
69
  end
70
70
 
71
71
  def in_editor?
@@ -99,7 +99,7 @@ Spork.prefork do
99
99
  RSpec.configure do |c|
100
100
  # structural
101
101
  c.alias_it_behaves_like_to 'it_has_behavior'
102
- c.around {|example| sandboxed { example.run }}
102
+ c.around {|example| Sandboxing.sandboxed { example.run }}
103
103
  c.include(RSpecHelpers)
104
104
  c.include Aruba::Api, :example_group => {
105
105
  :file_path => /spec\/command_line/
@@ -3,9 +3,17 @@ module RSpecHelpers
3
3
  RSpec::Core::Metadata.relative_path(path)
4
4
  end
5
5
 
6
+ def ignoring_warnings
7
+ original = $VERBOSE
8
+ $VERBOSE = nil
9
+ result = yield
10
+ $VERBOSE = original
11
+ result
12
+ end
13
+
6
14
  def safely
7
15
  Thread.new do
8
- $SAFE = 3
16
+ ignoring_warnings { $SAFE = 3 }
9
17
  yield
10
18
  end.join
11
19
 
@@ -0,0 +1,6 @@
1
+ shared_context "isolate load path mutation" do
2
+ original_load_path = nil
3
+ before { original_load_path = $LOAD_PATH.dup }
4
+ after { $LOAD_PATH.replace(original_load_path) }
5
+ end
6
+
@@ -0,0 +1,100 @@
1
+ require 'rspec/mocks'
2
+
3
+ module RSpec
4
+ module Core
5
+ # Because rspec-core dog-foods itself, rspec-core's spec suite has
6
+ # examples that define example groups and examples and run them. The
7
+ # usual lifetime of an RSpec::Mocks::Proxy is for one example
8
+ # (the proxy cache gets cleared between each example), but since the
9
+ # specs in rspec-core's suite sometimes create test doubles and pass
10
+ # them to examples a spec defines and runs, the test double's proxy
11
+ # must live beyond the inner example: it must live for the scope
12
+ # of wherever it got defined. Here we implement the necessary semantics
13
+ # for rspec-core's specs:
14
+ #
15
+ # - #verify_all and #reset_all affect only mocks that were created
16
+ # within the current scope.
17
+ # - Mock proxies live for the duration of the scope in which they are
18
+ # created.
19
+ #
20
+ # Thus, mock proxies created in an inner example live for only that
21
+ # example, but mock proxies created in an outer example can be used
22
+ # in an inner example but will only be reset/verified when the outer
23
+ # example completes.
24
+ class SandboxedMockSpace < ::RSpec::Mocks::Space
25
+ def self.sandboxed
26
+ orig_space = RSpec::Mocks.space
27
+ RSpec::Mocks.space = RSpec::Core::SandboxedMockSpace.new
28
+
29
+ RSpec::Core::Example.class_eval do
30
+ alias_method :orig_run, :run
31
+ def run(*args)
32
+ RSpec::Mocks.space.sandboxed do
33
+ orig_run(*args)
34
+ end
35
+ end
36
+ end
37
+
38
+ yield
39
+ ensure
40
+ RSpec::Core::Example.class_eval do
41
+ remove_method :run
42
+ alias_method :run, :orig_run
43
+ remove_method :orig_run
44
+ end
45
+
46
+ RSpec::Mocks.space = orig_space
47
+ end
48
+
49
+ class Sandbox
50
+ attr_reader :proxies
51
+
52
+ def initialize
53
+ @proxies = Set.new
54
+ end
55
+
56
+ def verify_all
57
+ @proxies.each { |p| p.verify }
58
+ end
59
+
60
+ def reset_all
61
+ @proxies.each { |p| p.reset }
62
+ end
63
+ end
64
+
65
+ def initialize
66
+ @sandbox_stack = []
67
+ super
68
+ end
69
+
70
+ def sandboxed
71
+ @sandbox_stack << Sandbox.new
72
+ yield
73
+ ensure
74
+ @sandbox_stack.pop
75
+ end
76
+
77
+ def verify_all
78
+ return super unless sandbox = @sandbox_stack.last
79
+ sandbox.verify_all
80
+ end
81
+
82
+ def reset_all
83
+ return super unless sandbox = @sandbox_stack.last
84
+ sandbox.reset_all
85
+ end
86
+
87
+ def proxy_for(object)
88
+ new_proxy = !proxies.has_key?(object.__id__)
89
+ proxy = super
90
+
91
+ if new_proxy && sandbox = @sandbox_stack.last
92
+ sandbox.proxies << proxy
93
+ end
94
+
95
+ proxy
96
+ end
97
+ end
98
+ end
99
+ end
100
+
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-core
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.13.1
4
+ prerelease: 7
5
+ version: 2.14.0.rc1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Steven Baker
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2013-03-12 00:00:00.000000000 Z
14
+ date: 2013-05-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  version_requirements: !ruby/object:Gem::Requirement
@@ -169,6 +169,7 @@ files:
169
169
  - lib/autotest/rspec2.rb
170
170
  - lib/rspec/autorun.rb
171
171
  - lib/rspec/core.rb
172
+ - lib/rspec/core/backtrace_cleaner.rb
172
173
  - lib/rspec/core/backward_compatibility.rb
173
174
  - lib/rspec/core/command_line.rb
174
175
  - lib/rspec/core/configuration.rb
@@ -187,6 +188,7 @@ files:
187
188
  - lib/rspec/core/formatters.rb
188
189
  - lib/rspec/core/formatters/base_formatter.rb
189
190
  - lib/rspec/core/formatters/base_text_formatter.rb
191
+ - lib/rspec/core/formatters/deprecation_formatter.rb
190
192
  - lib/rspec/core/formatters/documentation_formatter.rb
191
193
  - lib/rspec/core/formatters/helpers.rb
192
194
  - lib/rspec/core/formatters/html_formatter.rb
@@ -196,7 +198,6 @@ files:
196
198
  - lib/rspec/core/formatters/snippet_extractor.rb
197
199
  - lib/rspec/core/formatters/text_mate_formatter.rb
198
200
  - lib/rspec/core/hooks.rb
199
- - lib/rspec/core/load_path.rb
200
201
  - lib/rspec/core/memoized_helpers.rb
201
202
  - lib/rspec/core/metadata.rb
202
203
  - lib/rspec/core/metadata_hash_builder.rb
@@ -214,6 +215,7 @@ files:
214
215
  - lib/rspec/core/runner.rb
215
216
  - lib/rspec/core/shared_context.rb
216
217
  - lib/rspec/core/shared_example_group.rb
218
+ - lib/rspec/core/shared_example_group/collection.rb
217
219
  - lib/rspec/core/version.rb
218
220
  - lib/rspec/core/world.rb
219
221
  - README.md
@@ -234,12 +236,15 @@ files:
234
236
  - features/command_line/order.feature
235
237
  - features/command_line/pattern_option.feature
236
238
  - features/command_line/rake_task.feature
239
+ - features/command_line/require_option.feature
237
240
  - features/command_line/ruby.feature
238
241
  - features/command_line/tag.feature
242
+ - features/command_line/warnings_option.feature
239
243
  - features/configuration/alias_example_to.feature
240
244
  - features/configuration/backtrace_clean_patterns.feature
241
245
  - features/configuration/custom_settings.feature
242
246
  - features/configuration/default_path.feature
247
+ - features/configuration/deprecation_stream.feature
243
248
  - features/configuration/fail_fast.feature
244
249
  - features/configuration/failure_exit_code.feature
245
250
  - features/configuration/order_and_seed.feature
@@ -257,7 +262,6 @@ files:
257
262
  - features/filtering/exclusion_filters.feature
258
263
  - features/filtering/if_and_unless.feature
259
264
  - features/filtering/inclusion_filters.feature
260
- - features/filtering/run_all_when_everything_filtered.feature
261
265
  - features/formatters/configurable_colors.feature
262
266
  - features/formatters/custom_formatter.feature
263
267
  - features/formatters/json_formatter.feature
@@ -288,10 +292,12 @@ files:
288
292
  - spec/autotest/failed_results_re_spec.rb
289
293
  - spec/autotest/rspec_spec.rb
290
294
  - spec/command_line/order_spec.rb
295
+ - spec/rspec/core/backtrace_cleaner_spec.rb
291
296
  - spec/rspec/core/command_line_spec.rb
292
297
  - spec/rspec/core/command_line_spec_output.txt
293
298
  - spec/rspec/core/configuration_options_spec.rb
294
299
  - spec/rspec/core/configuration_spec.rb
300
+ - spec/rspec/core/deprecation_spec.rb
295
301
  - spec/rspec/core/deprecations_spec.rb
296
302
  - spec/rspec/core/drb_command_line_spec.rb
297
303
  - spec/rspec/core/drb_options_spec.rb
@@ -301,6 +307,7 @@ files:
301
307
  - spec/rspec/core/filter_manager_spec.rb
302
308
  - spec/rspec/core/formatters/base_formatter_spec.rb
303
309
  - spec/rspec/core/formatters/base_text_formatter_spec.rb
310
+ - spec/rspec/core/formatters/deprecation_formatter_spec.rb
304
311
  - spec/rspec/core/formatters/documentation_formatter_spec.rb
305
312
  - spec/rspec/core/formatters/helpers_spec.rb
306
313
  - spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
@@ -344,15 +351,18 @@ files:
344
351
  - spec/rspec/core/ruby_project_spec.rb
345
352
  - spec/rspec/core/runner_spec.rb
346
353
  - spec/rspec/core/shared_context_spec.rb
354
+ - spec/rspec/core/shared_example_group/collection_spec.rb
347
355
  - spec/rspec/core/shared_example_group_spec.rb
348
356
  - spec/rspec/core/world_spec.rb
349
357
  - spec/rspec/core_spec.rb
350
358
  - spec/spec_helper.rb
351
359
  - spec/support/config_options_helper.rb
352
360
  - spec/support/helper_methods.rb
361
+ - spec/support/isolate_load_path_mutation.rb
353
362
  - spec/support/isolated_directory.rb
354
363
  - spec/support/isolated_home_directory.rb
355
364
  - spec/support/matchers.rb
365
+ - spec/support/sandboxed_mock_space.rb
356
366
  - spec/support/shared_example_groups.rb
357
367
  - spec/support/spec_files.rb
358
368
  - exe/autospec
@@ -372,23 +382,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
372
382
  version: '0'
373
383
  segments:
374
384
  - 0
375
- hash: 4384848023819144247
385
+ hash: 56049946215868305
376
386
  none: false
377
387
  required_rubygems_version: !ruby/object:Gem::Requirement
378
388
  requirements:
379
- - - ! '>='
389
+ - - ! '>'
380
390
  - !ruby/object:Gem::Version
381
- version: '0'
382
- segments:
383
- - 0
384
- hash: 4384848023819144247
391
+ version: 1.3.1
385
392
  none: false
386
393
  requirements: []
387
394
  rubyforge_project: rspec
388
395
  rubygems_version: 1.8.24
389
396
  signing_key:
390
397
  specification_version: 3
391
- summary: rspec-core-2.13.1
398
+ summary: rspec-core-2.14.0.rc1
392
399
  test_files:
393
400
  - features/Autotest.md
394
401
  - features/README.md
@@ -403,12 +410,15 @@ test_files:
403
410
  - features/command_line/order.feature
404
411
  - features/command_line/pattern_option.feature
405
412
  - features/command_line/rake_task.feature
413
+ - features/command_line/require_option.feature
406
414
  - features/command_line/ruby.feature
407
415
  - features/command_line/tag.feature
416
+ - features/command_line/warnings_option.feature
408
417
  - features/configuration/alias_example_to.feature
409
418
  - features/configuration/backtrace_clean_patterns.feature
410
419
  - features/configuration/custom_settings.feature
411
420
  - features/configuration/default_path.feature
421
+ - features/configuration/deprecation_stream.feature
412
422
  - features/configuration/fail_fast.feature
413
423
  - features/configuration/failure_exit_code.feature
414
424
  - features/configuration/order_and_seed.feature
@@ -426,7 +436,6 @@ test_files:
426
436
  - features/filtering/exclusion_filters.feature
427
437
  - features/filtering/if_and_unless.feature
428
438
  - features/filtering/inclusion_filters.feature
429
- - features/filtering/run_all_when_everything_filtered.feature
430
439
  - features/formatters/configurable_colors.feature
431
440
  - features/formatters/custom_formatter.feature
432
441
  - features/formatters/json_formatter.feature
@@ -457,10 +466,12 @@ test_files:
457
466
  - spec/autotest/failed_results_re_spec.rb
458
467
  - spec/autotest/rspec_spec.rb
459
468
  - spec/command_line/order_spec.rb
469
+ - spec/rspec/core/backtrace_cleaner_spec.rb
460
470
  - spec/rspec/core/command_line_spec.rb
461
471
  - spec/rspec/core/command_line_spec_output.txt
462
472
  - spec/rspec/core/configuration_options_spec.rb
463
473
  - spec/rspec/core/configuration_spec.rb
474
+ - spec/rspec/core/deprecation_spec.rb
464
475
  - spec/rspec/core/deprecations_spec.rb
465
476
  - spec/rspec/core/drb_command_line_spec.rb
466
477
  - spec/rspec/core/drb_options_spec.rb
@@ -470,6 +481,7 @@ test_files:
470
481
  - spec/rspec/core/filter_manager_spec.rb
471
482
  - spec/rspec/core/formatters/base_formatter_spec.rb
472
483
  - spec/rspec/core/formatters/base_text_formatter_spec.rb
484
+ - spec/rspec/core/formatters/deprecation_formatter_spec.rb
473
485
  - spec/rspec/core/formatters/documentation_formatter_spec.rb
474
486
  - spec/rspec/core/formatters/helpers_spec.rb
475
487
  - spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
@@ -513,15 +525,18 @@ test_files:
513
525
  - spec/rspec/core/ruby_project_spec.rb
514
526
  - spec/rspec/core/runner_spec.rb
515
527
  - spec/rspec/core/shared_context_spec.rb
528
+ - spec/rspec/core/shared_example_group/collection_spec.rb
516
529
  - spec/rspec/core/shared_example_group_spec.rb
517
530
  - spec/rspec/core/world_spec.rb
518
531
  - spec/rspec/core_spec.rb
519
532
  - spec/spec_helper.rb
520
533
  - spec/support/config_options_helper.rb
521
534
  - spec/support/helper_methods.rb
535
+ - spec/support/isolate_load_path_mutation.rb
522
536
  - spec/support/isolated_directory.rb
523
537
  - spec/support/isolated_home_directory.rb
524
538
  - spec/support/matchers.rb
539
+ - spec/support/sandboxed_mock_space.rb
525
540
  - spec/support/shared_example_groups.rb
526
541
  - spec/support/spec_files.rb
527
542
  has_rdoc: