rspec-core 2.0.0.beta.9 → 2.0.0.beta.10

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 (83) hide show
  1. data/VERSION +1 -1
  2. data/features/configuration/custom_settings.feature +86 -0
  3. data/features/formatters/custom_formatter.feature +1 -1
  4. data/lib/rspec/core.rb +6 -1
  5. data/lib/rspec/core/backward_compatibility.rb +3 -5
  6. data/lib/rspec/core/command_line.rb +52 -0
  7. data/lib/rspec/core/configuration.rb +106 -118
  8. data/lib/rspec/core/configuration_options.rb +30 -88
  9. data/lib/rspec/core/deprecation.rb +3 -4
  10. data/lib/rspec/core/drb_command_line.rb +29 -0
  11. data/lib/rspec/core/formatters/base_formatter.rb +3 -8
  12. data/lib/rspec/core/formatters/base_text_formatter.rb +2 -2
  13. data/lib/rspec/core/formatters/documentation_formatter.rb +2 -2
  14. data/lib/rspec/core/kernel_extensions.rb +1 -1
  15. data/lib/rspec/core/metadata.rb +11 -11
  16. data/lib/rspec/core/option_parser.rb +84 -0
  17. data/lib/rspec/core/runner.rb +17 -42
  18. data/lib/rspec/core/world.rb +2 -2
  19. data/lib/rspec/monkey.rb +1 -0
  20. data/lib/rspec/monkey/spork/test_framework/rspec.rb +7 -0
  21. data/rspec-core.gemspec +18 -59
  22. data/spec/rspec/core/configuration_options_spec.rb +91 -7
  23. data/spec/rspec/core/configuration_spec.rb +52 -18
  24. data/spec/rspec/core/deprecations_spec.rb +4 -2
  25. data/spec/rspec/core/drb_command_line_spec.rb +151 -0
  26. data/spec/rspec/core/formatters/base_formatter_spec.rb +2 -1
  27. data/spec/rspec/core/formatters/base_text_formatter_spec.rb +1 -2
  28. data/spec/rspec/core/formatters/documentation_formatter_spec.rb +1 -2
  29. data/spec/rspec/core/formatters/progress_formatter_spec.rb +1 -2
  30. data/spec/rspec/core/resources/a_spec.rb +1 -1
  31. data/spec/rspec/core/runner_spec.rb +38 -27
  32. data/spec/rspec/core/shared_example_group_spec.rb +1 -1
  33. data/spec/spec_helper.rb +56 -41
  34. metadata +17 -58
  35. data/example_specs/failing/README.txt +0 -7
  36. data/example_specs/failing/diffing_spec.rb +0 -38
  37. data/example_specs/failing/failing_implicit_docstrings_example.rb +0 -19
  38. data/example_specs/failing/failure_in_after.rb +0 -10
  39. data/example_specs/failing/failure_in_before.rb +0 -10
  40. data/example_specs/failing/mocking_example.rb +0 -40
  41. data/example_specs/failing/mocking_with_flexmock.rb +0 -26
  42. data/example_specs/failing/mocking_with_mocha.rb +0 -25
  43. data/example_specs/failing/mocking_with_rr.rb +0 -27
  44. data/example_specs/failing/partial_mock_example.rb +0 -20
  45. data/example_specs/failing/pending_example.rb +0 -9
  46. data/example_specs/failing/predicate_example.rb +0 -34
  47. data/example_specs/failing/raising_example.rb +0 -47
  48. data/example_specs/failing/spec_helper.rb +0 -1
  49. data/example_specs/failing/syntax_error_example.rb +0 -7
  50. data/example_specs/failing/team_spec.rb +0 -43
  51. data/example_specs/failing/timeout_behaviour.rb +0 -7
  52. data/example_specs/passing/custom_formatter.rb +0 -12
  53. data/example_specs/passing/custom_matchers.rb +0 -54
  54. data/example_specs/passing/dynamic_spec.rb +0 -9
  55. data/example_specs/passing/file_accessor.rb +0 -19
  56. data/example_specs/passing/file_accessor_spec.rb +0 -38
  57. data/example_specs/passing/filtered_formatter.rb +0 -18
  58. data/example_specs/passing/filtered_formatter_example.rb +0 -31
  59. data/example_specs/passing/greeter_spec.rb +0 -31
  60. data/example_specs/passing/helper_method_example.rb +0 -14
  61. data/example_specs/passing/implicit_docstrings_example.rb +0 -18
  62. data/example_specs/passing/io_processor.rb +0 -8
  63. data/example_specs/passing/io_processor_spec.rb +0 -21
  64. data/example_specs/passing/mocking_example.rb +0 -27
  65. data/example_specs/passing/multi_threaded_example_group_runner.rb +0 -26
  66. data/example_specs/passing/nested_classes_example.rb +0 -36
  67. data/example_specs/passing/options_example.rb +0 -31
  68. data/example_specs/passing/options_formatter.rb +0 -20
  69. data/example_specs/passing/partial_mock_example.rb +0 -29
  70. data/example_specs/passing/pending_example.rb +0 -20
  71. data/example_specs/passing/predicate_example.rb +0 -27
  72. data/example_specs/passing/shared_example_group_example.rb +0 -81
  73. data/example_specs/passing/shared_stack_examples.rb +0 -36
  74. data/example_specs/passing/spec_helper.rb +0 -1
  75. data/example_specs/passing/stack.rb +0 -36
  76. data/example_specs/passing/stack_spec.rb +0 -64
  77. data/example_specs/passing/stack_spec_with_nested_example_groups.rb +0 -67
  78. data/example_specs/passing/stubbing_example.rb +0 -69
  79. data/example_specs/passing/subject_example.rb +0 -45
  80. data/example_specs/passing/yielding_example.rb +0 -33
  81. data/example_specs/ruby1.9.compatibility/access_to_constants_spec.rb +0 -85
  82. data/example_specs/spec_helper.rb +0 -10
  83. data/features/configuration/custom_options.feature +0 -71
@@ -2,7 +2,9 @@ require "spec_helper"
2
2
 
3
3
  describe "deprecations" do
4
4
  describe "Spec" do
5
- RSpec.should_receive(:warn).with /Spec .* RSpec/i
6
- Spec
5
+ it "is deprecated" do
6
+ RSpec.should_receive(:warn_deprecation).with /Spec .* RSpec/i
7
+ Spec
8
+ end
7
9
  end
8
10
  end
@@ -0,0 +1,151 @@
1
+ require "spec_helper"
2
+
3
+ describe "::DRbCommandLine" do
4
+ before do
5
+ RSpec.stub(:configuration).and_return(RSpec::Core::Configuration.new)
6
+ end
7
+
8
+ context "without server running" do
9
+ it "prints error" do
10
+ err = out = StringIO.new
11
+ RSpec::Core::DRbCommandLine.new([]).run(err, out)
12
+
13
+ err.rewind
14
+ err.read.should =~ /No DRb server is running/
15
+ end
16
+
17
+ it "returns false" do
18
+ err = out = StringIO.new
19
+ result = RSpec::Core::DRbCommandLine.new([]).run(err, out)
20
+ result.should be_false
21
+ end
22
+ end
23
+
24
+ describe "--drb-port" do
25
+ def config_options_object(*args)
26
+ RSpec::Core::DRbCommandLine.new(args)
27
+ end
28
+
29
+ def with_RSPEC_DRB_set_to(val)
30
+ original = ENV['RSPEC_DRB']
31
+ ENV['RSPEC_DRB'] = val
32
+ begin
33
+ yield
34
+ ensure
35
+ ENV['RSPEC_DRB'] = original
36
+ end
37
+ end
38
+
39
+ context "without RSPEC_DRB environment variable set" do
40
+ it "defaults to 8989" do
41
+ with_RSPEC_DRB_set_to(nil) do
42
+ RSpec::Core::DRbCommandLine.new([]).drb_port.should == 8989
43
+ end
44
+ end
45
+
46
+ it "sets the DRb port" do
47
+ with_RSPEC_DRB_set_to(nil) do
48
+ RSpec::Core::DRbCommandLine.new(["--drb-port", "1234"]).drb_port.should == 1234
49
+ RSpec::Core::DRbCommandLine.new(["--drb-port", "5678"]).drb_port.should == 5678
50
+ end
51
+ end
52
+ end
53
+
54
+ context "with RSPEC_DRB environment variable set" do
55
+
56
+ context "without config variable set" do
57
+ it "uses RSPEC_DRB value" do
58
+ with_RSPEC_DRB_set_to('9000') do
59
+ RSpec::Core::DRbCommandLine.new([]).drb_port.should == "9000"
60
+ end
61
+ end
62
+ end
63
+
64
+ context "and config variable set" do
65
+ it "uses configured value" do
66
+ with_RSPEC_DRB_set_to('9000') do
67
+ RSpec::Core::DRbCommandLine.new(%w[--drb-port 5678]).drb_port.should == 5678
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
73
+
74
+ context "with server running" do
75
+ class ::FakeDrbSpecServer
76
+ def self.run(argv, err, out)
77
+ RSpec::Core::CommandLine.new(argv).run(err, out)
78
+ end
79
+ end
80
+
81
+ def dummy_spec_filename
82
+ @dummy_spec_filename ||= File.expand_path(File.dirname(__FILE__)) + "/_dummy_spec#{@drb_example_file_counter}.rb"
83
+ end
84
+
85
+ before(:all) do
86
+ @drb_port = 8990
87
+ @drb_example_file_counter = 0
88
+ DRb::start_service("druby://127.0.0.1:#{@drb_port}", ::FakeDrbSpecServer)
89
+ end
90
+
91
+ before(:each) do
92
+ @drb_example_file_counter += 1
93
+ create_dummy_spec_file
94
+ end
95
+
96
+ after(:each) do
97
+ File.delete(dummy_spec_filename)
98
+ end
99
+
100
+ after(:all) do
101
+ DRb::stop_service
102
+ end
103
+
104
+ def create_dummy_spec_file
105
+ File.open(dummy_spec_filename, 'w') do |f|
106
+ f.write %q{
107
+ describe "DUMMY CONTEXT for 'DrbCommandLine with -c option'" do
108
+ it "should be output with green bar" do
109
+ true.should be_true
110
+ end
111
+
112
+ it "should be output with red bar" do
113
+ raise("I want to see a red bar!")
114
+ end
115
+ end
116
+ }
117
+ end
118
+ end
119
+
120
+ def run_spec_via_druby(argv)
121
+ err, out = StringIO.new, StringIO.new
122
+ RSpec::Core::DRbCommandLine.new(argv.push("--drb-port", @drb_port.to_s)).run(err, out)
123
+ out.rewind
124
+ out.read
125
+ end
126
+
127
+ it "returns true" do
128
+ err, out = StringIO.new, StringIO.new
129
+ result = RSpec::Core::DRbCommandLine.new(["--drb-port", @drb_port.to_s]).run(err, out)
130
+ result.should be_true
131
+ end
132
+
133
+ it "should output green colorized text when running with --colour option" do
134
+ out = run_spec_via_druby(["--colour", dummy_spec_filename])
135
+ out.should =~ /\e\[32m/m
136
+ end
137
+
138
+ it "should output red colorized text when running with -c option" do
139
+ pending
140
+ out = run_spec_via_druby(["-c", dummy_spec_filename])
141
+ out.should =~ /\e\[31m/m
142
+ end
143
+
144
+ it "integrates via Runner.new.run" do
145
+ err, out = StringIO.new, StringIO.new
146
+ result = RSpec::Core::Runner.run(%W[ --drb --drb-port #{@drb_port} #{dummy_spec_filename}], err, out)
147
+ result.should be_true
148
+ end
149
+ end
150
+
151
+ end
@@ -2,7 +2,8 @@ require "spec_helper"
2
2
 
3
3
  describe RSpec::Core::Formatters::BaseFormatter do
4
4
 
5
- let(:formatter) { RSpec::Core::Formatters::BaseFormatter.new }
5
+ let(:output) { StringIO.new }
6
+ let(:formatter) { RSpec::Core::Formatters::BaseFormatter.new(output) }
6
7
 
7
8
  it "has start as an interface with one argument" do
8
9
  formatter.should have_interface_for(:start).with(1).argument
@@ -8,10 +8,9 @@ module RSpec::Core::Formatters
8
8
  output = StringIO.new
9
9
  group = RSpec::Core::ExampleGroup.describe
10
10
  example = group.example { "this".should eq("that") }
11
- formatter = RSpec::Core::Formatters::BaseTextFormatter.new
11
+ formatter = RSpec::Core::Formatters::BaseTextFormatter.new(output)
12
12
  group.run_all(formatter)
13
13
 
14
- RSpec.configuration.stub(:output) { output }
15
14
  RSpec.configuration.stub(:color_enabled?) { false }
16
15
  formatter.dump_failures
17
16
  output.string.should =~ /(\s+)expected \"that\"\n\1 got \"this\"/m
@@ -16,10 +16,9 @@ module RSpec::Core::Formatters
16
16
  ]
17
17
 
18
18
  output = StringIO.new
19
- RSpec.configuration.stub(:output) { output }
20
19
  RSpec.configuration.stub(:color_enabled?) { false }
21
20
 
22
- formatter = RSpec::Core::Formatters::DocumentationFormatter.new
21
+ formatter = RSpec::Core::Formatters::DocumentationFormatter.new(output)
23
22
 
24
23
  examples.each {|e| formatter.example_finished(e) }
25
24
 
@@ -5,10 +5,9 @@ describe RSpec::Core::Formatters::ProgressFormatter do
5
5
 
6
6
  before do
7
7
  @output = StringIO.new
8
- @formatter = RSpec::Core::Formatters::ProgressFormatter.new
8
+ @formatter = RSpec::Core::Formatters::ProgressFormatter.new(@output)
9
9
  @formatter.start(2)
10
10
  @formatter.stub!(:color_enabled?).and_return(false)
11
- @formatter.stub!(:output).and_return(@output)
12
11
  end
13
12
 
14
13
  it "should produce line break on start dump" do
@@ -1 +1 @@
1
- # Empty - used by ../options_spec.rb
1
+ # Empty - used by ../options_spec.rb
@@ -1,34 +1,45 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe RSpec::Core::Runner do
4
-
5
- describe 'reporter' do
6
-
7
- it 'should return the configured formatter' do
8
- RSpec::Core::Runner.new.reporter.should == RSpec.configuration.formatter
9
- end
10
-
11
- end
12
-
13
- describe 'at_exit' do
14
-
15
- it 'should set an at_exit hook if none is already set' do
16
- RSpec::Core::Runner.stub!(:installed_at_exit?).and_return(false)
17
- RSpec::Core::Runner.should_receive(:at_exit)
18
- RSpec::Core::Runner.autorun
3
+ module RSpec::Core
4
+ describe Runner do
5
+ describe 'at_exit' do
6
+ it 'sets an at_exit hook if none is already set' do
7
+ RSpec::Core::Runner.stub(:installed_at_exit?).and_return(false)
8
+ RSpec::Core::Runner.stub(:running_in_drb?).and_return(false)
9
+ RSpec::Core::Runner.should_receive(:at_exit)
10
+ RSpec::Core::Runner.autorun
11
+ end
12
+
13
+ it 'does not set the at_exit hook if it is already set' do
14
+ RSpec::Core::Runner.stub(:installed_at_exit?).and_return(true)
15
+ RSpec::Core::Runner.stub(:running_in_drb?).and_return(false)
16
+ RSpec::Core::Runner.should_receive(:at_exit).never
17
+ RSpec::Core::Runner.autorun
18
+ end
19
19
  end
20
20
 
21
- it 'should not set the at_exit hook if it is already set' do
22
- RSpec::Core::Runner.stub!(:installed_at_exit?).and_return(true)
23
- RSpec::Core::Runner.should_receive(:at_exit).never
24
- RSpec::Core::Runner.autorun
21
+ describe "#run" do
22
+ context "with --drb or -X" do
23
+ before(:each) do
24
+ @err = @out = StringIO.new
25
+
26
+ @options = RSpec::Core::ConfigurationOptions.new(%w[--drb --drb-port 8181 --color])
27
+ RSpec::Core::ConfigurationOptions.stub(:new) { @options }
28
+
29
+ @drb_proxy = double(RSpec::Core::DRbCommandLine, :run => true)
30
+ RSpec::Core::DRbCommandLine.stub(:new => @drb_proxy)
31
+ end
32
+
33
+ it "builds a DRbCommandLine" do
34
+ RSpec::Core::DRbCommandLine.should_receive(:new)
35
+ RSpec::Core::Runner.run(%w[ --drb ], @err, @out)
36
+ end
37
+
38
+ it "runs specs over the proxy" do
39
+ @drb_proxy.should_receive(:run).with(@err, @out)
40
+ RSpec::Core::Runner.run(%w[ --drb ], @err, @out)
41
+ end
42
+ end
25
43
  end
26
-
27
- end
28
-
29
- describe 'placeholder' do
30
-
31
- # it "should "
32
- # RSpec::Core::Runner.new
33
44
  end
34
45
  end
@@ -191,7 +191,7 @@ module RSpec::Core
191
191
  group.magic[:after_each].should eq("after each 3")
192
192
  end
193
193
 
194
- it "runs after(:all) only once from shared example_group", :pending => true, :compat => 'rspec-1.2' do
194
+ it "runs after(:all) only once from shared example_group", :compat => 'rspec-1.2' do
195
195
  group.magic[:after_all].should eq("after all 1")
196
196
  end
197
197
 
@@ -1,55 +1,70 @@
1
- $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
2
- require 'rspec/core'
3
-
4
- $LOAD_PATH << File.expand_path('../../../rspec-expectations/lib', __FILE__)
5
- $LOAD_PATH << File.expand_path('../../../rspec-mocks/lib', __FILE__)
6
- require 'rspec/expectations'
7
- require 'rspec/mocks'
8
-
9
- begin
10
- require 'autotest'
11
- rescue LoadError
12
- raise "Could not load autotest."
13
- end
1
+ require 'rubygems'
2
+ require 'spork'
14
3
 
15
- require 'autotest/rspec2'
4
+ Spork.prefork do
5
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
6
+ require 'rspec/core'
16
7
 
17
- Dir['./spec/support/**/*.rb'].map {|f| require f}
8
+ $LOAD_PATH << File.expand_path('../../../rspec-expectations/lib', __FILE__)
9
+ $LOAD_PATH << File.expand_path('../../../rspec-mocks/lib', __FILE__)
10
+ require 'rspec/expectations'
11
+ require 'rspec/mocks'
18
12
 
19
- module RSpec
20
- module Core
21
- module Matchers
22
- def fail
23
- raise_error(::RSpec::Expectations::ExpectationNotMetError)
24
- end
13
+ begin
14
+ require 'autotest'
15
+ rescue LoadError
16
+ raise "Could not load autotest."
17
+ end
18
+
19
+ require 'autotest/rspec2'
20
+
21
+ Dir['./spec/support/**/*.rb'].map {|f| require f}
25
22
 
26
- def fail_with(message)
27
- raise_error(::RSpec::Expectations::ExpectationNotMetError, message)
23
+ module RSpec
24
+ module Core
25
+ module Matchers
26
+ def fail
27
+ raise_error(::RSpec::Expectations::ExpectationNotMetError)
28
+ end
29
+
30
+ def fail_with(message)
31
+ raise_error(::RSpec::Expectations::ExpectationNotMetError, message)
32
+ end
28
33
  end
29
34
  end
30
35
  end
31
- end
32
36
 
33
- class RSpec::Core::ExampleGroup
34
- def self.run_all(reporter=nil)
35
- run(reporter || RSpec::Mocks::Mock.new('reporter').as_null_object)
37
+ class NullObject
38
+ def method_missing(method, *args, &block)
39
+ # ignore
40
+ end
36
41
  end
37
- end
38
42
 
39
- def in_editor?
40
- ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM')
41
- end
43
+ class RSpec::Core::ExampleGroup
44
+ def self.run_all(reporter=nil)
45
+ run(reporter || NullObject.new)
46
+ end
47
+ end
42
48
 
43
- RSpec.configure do |c|
44
- c.color_enabled = !in_editor?
45
- c.exclusion_filter = { :ruby => lambda {|version|
46
- !(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
47
- }}
48
- c.before(:each) do
49
- @real_world = RSpec.world
50
- RSpec.instance_variable_set(:@world, RSpec::Core::World.new)
49
+ def in_editor?
50
+ ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM')
51
51
  end
52
- c.after(:each) do
53
- RSpec.instance_variable_set(:@world, @real_world)
52
+
53
+ RSpec.configure do |c|
54
+ c.color_enabled = !in_editor?
55
+ c.exclusion_filter = { :ruby => lambda {|version|
56
+ !(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
57
+ }}
58
+ c.before(:each) do
59
+ @real_world = RSpec.world
60
+ RSpec.instance_variable_set(:@world, RSpec::Core::World.new)
61
+ end
62
+ c.after(:each) do
63
+ RSpec.instance_variable_set(:@world, @real_world)
64
+ end
54
65
  end
55
66
  end
67
+
68
+ Spork.each_run do
69
+ end
70
+
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 0
8
8
  - 0
9
9
  - beta
10
- - 9
11
- version: 2.0.0.beta.9
10
+ - 10
11
+ version: 2.0.0.beta.10
12
12
  platform: ruby
13
13
  authors:
14
14
  - Chad Humphries
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-05-27 00:00:00 -05:00
20
+ date: 2010-06-02 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -32,8 +32,8 @@ dependencies:
32
32
  - 0
33
33
  - 0
34
34
  - beta
35
- - 9
36
- version: 2.0.0.beta.9
35
+ - 10
36
+ version: 2.0.0.beta.10
37
37
  type: :development
38
38
  version_requirements: *id001
39
39
  - !ruby/object:Gem::Dependency
@@ -48,8 +48,8 @@ dependencies:
48
48
  - 0
49
49
  - 0
50
50
  - beta
51
- - 9
52
- version: 2.0.0.beta.9
51
+ - 10
52
+ version: 2.0.0.beta.10
53
53
  type: :development
54
54
  version_requirements: *id002
55
55
  - !ruby/object:Gem::Dependency
@@ -104,58 +104,10 @@ files:
104
104
  - bin/rspec
105
105
  - bin/spec
106
106
  - cucumber.yml
107
- - example_specs/failing/README.txt
108
- - example_specs/failing/diffing_spec.rb
109
- - example_specs/failing/failing_implicit_docstrings_example.rb
110
- - example_specs/failing/failure_in_after.rb
111
- - example_specs/failing/failure_in_before.rb
112
- - example_specs/failing/mocking_example.rb
113
- - example_specs/failing/mocking_with_flexmock.rb
114
- - example_specs/failing/mocking_with_mocha.rb
115
- - example_specs/failing/mocking_with_rr.rb
116
- - example_specs/failing/partial_mock_example.rb
117
- - example_specs/failing/pending_example.rb
118
- - example_specs/failing/predicate_example.rb
119
- - example_specs/failing/raising_example.rb
120
- - example_specs/failing/spec_helper.rb
121
- - example_specs/failing/syntax_error_example.rb
122
- - example_specs/failing/team_spec.rb
123
- - example_specs/failing/timeout_behaviour.rb
124
- - example_specs/passing/custom_formatter.rb
125
- - example_specs/passing/custom_matchers.rb
126
- - example_specs/passing/dynamic_spec.rb
127
- - example_specs/passing/file_accessor.rb
128
- - example_specs/passing/file_accessor_spec.rb
129
- - example_specs/passing/filtered_formatter.rb
130
- - example_specs/passing/filtered_formatter_example.rb
131
- - example_specs/passing/greeter_spec.rb
132
- - example_specs/passing/helper_method_example.rb
133
- - example_specs/passing/implicit_docstrings_example.rb
134
- - example_specs/passing/io_processor.rb
135
- - example_specs/passing/io_processor_spec.rb
136
- - example_specs/passing/mocking_example.rb
137
- - example_specs/passing/multi_threaded_example_group_runner.rb
138
- - example_specs/passing/nested_classes_example.rb
139
- - example_specs/passing/options_example.rb
140
- - example_specs/passing/options_formatter.rb
141
- - example_specs/passing/partial_mock_example.rb
142
- - example_specs/passing/pending_example.rb
143
- - example_specs/passing/predicate_example.rb
144
- - example_specs/passing/shared_example_group_example.rb
145
- - example_specs/passing/shared_stack_examples.rb
146
- - example_specs/passing/spec_helper.rb
147
- - example_specs/passing/stack.rb
148
- - example_specs/passing/stack_spec.rb
149
- - example_specs/passing/stack_spec_with_nested_example_groups.rb
150
- - example_specs/passing/stubbing_example.rb
151
- - example_specs/passing/subject_example.rb
152
- - example_specs/passing/yielding_example.rb
153
- - example_specs/ruby1.9.compatibility/access_to_constants_spec.rb
154
- - example_specs/spec_helper.rb
155
107
  - features/command_line/example_name_option.feature
156
108
  - features/command_line/line_number_appended_to_path.feature
157
109
  - features/command_line/line_number_option.feature
158
- - features/configuration/custom_options.feature
110
+ - features/configuration/custom_settings.feature
159
111
  - features/configuration/options_file.feature
160
112
  - features/example_groups/describe_aliases.feature
161
113
  - features/example_groups/nested_groups.feature
@@ -178,9 +130,11 @@ files:
178
130
  - lib/rspec/core.rb
179
131
  - lib/rspec/core/around_proxy.rb
180
132
  - lib/rspec/core/backward_compatibility.rb
133
+ - lib/rspec/core/command_line.rb
181
134
  - lib/rspec/core/configuration.rb
182
135
  - lib/rspec/core/configuration_options.rb
183
136
  - lib/rspec/core/deprecation.rb
137
+ - lib/rspec/core/drb_command_line.rb
184
138
  - lib/rspec/core/errors.rb
185
139
  - lib/rspec/core/example.rb
186
140
  - lib/rspec/core/example_group.rb
@@ -201,6 +155,7 @@ files:
201
155
  - lib/rspec/core/mocking/with_rr.rb
202
156
  - lib/rspec/core/mocking/with_rspec.rb
203
157
  - lib/rspec/core/object_extensions.rb
158
+ - lib/rspec/core/option_parser.rb
204
159
  - lib/rspec/core/pending.rb
205
160
  - lib/rspec/core/rake_task.rb
206
161
  - lib/rspec/core/ruby_project.rb
@@ -209,6 +164,8 @@ files:
209
164
  - lib/rspec/core/subject.rb
210
165
  - lib/rspec/core/version.rb
211
166
  - lib/rspec/core/world.rb
167
+ - lib/rspec/monkey.rb
168
+ - lib/rspec/monkey/spork/test_framework/rspec.rb
212
169
  - rspec-core.gemspec
213
170
  - script/console
214
171
  - spec/autotest/failed_results_re_spec.rb
@@ -216,6 +173,7 @@ files:
216
173
  - spec/rspec/core/configuration_options_spec.rb
217
174
  - spec/rspec/core/configuration_spec.rb
218
175
  - spec/rspec/core/deprecations_spec.rb
176
+ - spec/rspec/core/drb_command_line_spec.rb
219
177
  - spec/rspec/core/example_group_spec.rb
220
178
  - spec/rspec/core/example_spec.rb
221
179
  - spec/rspec/core/formatters/base_formatter_spec.rb
@@ -249,7 +207,7 @@ licenses: []
249
207
  post_install_message: |
250
208
  **************************************************
251
209
 
252
- Thank you for installing rspec-core-2.0.0.beta.9
210
+ Thank you for installing rspec-core-2.0.0.beta.10
253
211
 
254
212
  This is beta software. If you are looking
255
213
  for a supported production release, please
@@ -283,13 +241,14 @@ rubyforge_project: rspec
283
241
  rubygems_version: 1.3.6
284
242
  signing_key:
285
243
  specification_version: 3
286
- summary: rspec-core-2.0.0.beta.9
244
+ summary: rspec-core-2.0.0.beta.10
287
245
  test_files:
288
246
  - spec/autotest/failed_results_re_spec.rb
289
247
  - spec/autotest/rspec_spec.rb
290
248
  - spec/rspec/core/configuration_options_spec.rb
291
249
  - spec/rspec/core/configuration_spec.rb
292
250
  - spec/rspec/core/deprecations_spec.rb
251
+ - spec/rspec/core/drb_command_line_spec.rb
293
252
  - spec/rspec/core/example_group_spec.rb
294
253
  - spec/rspec/core/example_spec.rb
295
254
  - spec/rspec/core/formatters/base_formatter_spec.rb