rspec-core 2.6.4 → 2.7.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/README.md +1 -1
  2. data/{bin → exe}/autospec +0 -0
  3. data/{bin → exe}/rspec +0 -0
  4. data/features/Upgrade.md +11 -0
  5. data/features/command_line/exit_status.feature +20 -3
  6. data/features/command_line/format_option.feature +8 -0
  7. data/features/command_line/line_number_appended_to_path.feature +35 -1
  8. data/features/command_line/line_number_option.feature +16 -3
  9. data/features/command_line/pattern_option.feature +31 -0
  10. data/features/command_line/rake_task.feature +1 -1
  11. data/features/command_line/ruby.feature +22 -0
  12. data/features/configuration/default_path.feature +38 -0
  13. data/features/example_groups/{shared_example_group.feature → shared_examples.feature} +49 -26
  14. data/features/expectation_framework_integration/configure_expectation_framework.feature +1 -1
  15. data/features/filtering/inclusion_filters.feature +4 -5
  16. data/features/formatters/text_formatter.feature +16 -13
  17. data/features/helper_methods/let.feature +4 -4
  18. data/features/hooks/around_hooks.feature +1 -1
  19. data/features/hooks/before_and_after_hooks.feature +3 -3
  20. data/features/hooks/filtering.feature +13 -6
  21. data/features/metadata/user_defined.feature +12 -10
  22. data/features/pending/pending_examples.feature +21 -8
  23. data/features/step_definitions/additional_cli_steps.rb +1 -1
  24. data/features/subject/attribute_of_subject.feature +2 -2
  25. data/features/support/env.rb +1 -2
  26. data/lib/rspec/core.rb +1 -23
  27. data/lib/rspec/core/configuration.rb +64 -16
  28. data/lib/rspec/core/configuration_options.rb +11 -4
  29. data/lib/rspec/core/example.rb +10 -7
  30. data/lib/rspec/core/example_group.rb +34 -18
  31. data/lib/rspec/core/formatters/base_text_formatter.rb +10 -2
  32. data/lib/rspec/core/formatters/html_formatter.rb +3 -1
  33. data/lib/rspec/core/formatters/snippet_extractor.rb +9 -3
  34. data/lib/rspec/core/formatters/text_mate_formatter.rb +20 -6
  35. data/lib/rspec/core/hooks.rb +2 -2
  36. data/lib/rspec/core/let.rb +5 -5
  37. data/lib/rspec/core/metadata.rb +136 -94
  38. data/lib/rspec/core/option_parser.rb +10 -5
  39. data/lib/rspec/core/pending.rb +2 -1
  40. data/lib/rspec/core/rake_task.rb +26 -15
  41. data/lib/rspec/core/reporter.rb +2 -3
  42. data/lib/rspec/core/runner.rb +1 -1
  43. data/lib/rspec/core/shared_example_group.rb +4 -4
  44. data/lib/rspec/core/subject.rb +7 -7
  45. data/lib/rspec/core/version.rb +1 -1
  46. data/lib/rspec/core/world.rb +4 -8
  47. data/spec/autotest/discover_spec.rb +2 -2
  48. data/spec/autotest/failed_results_re_spec.rb +29 -21
  49. data/spec/autotest/rspec_spec.rb +3 -3
  50. data/spec/rspec/core/command_line_spec.rb +1 -6
  51. data/spec/rspec/core/configuration_options_spec.rb +65 -13
  52. data/spec/rspec/core/configuration_spec.rb +148 -37
  53. data/spec/rspec/core/deprecations_spec.rb +2 -2
  54. data/spec/rspec/core/drb_command_line_spec.rb +6 -6
  55. data/spec/rspec/core/example_group_spec.rb +197 -61
  56. data/spec/rspec/core/example_spec.rb +33 -16
  57. data/spec/rspec/core/formatters/base_formatter_spec.rb +3 -3
  58. data/spec/rspec/core/formatters/base_text_formatter_spec.rb +149 -1
  59. data/spec/rspec/core/formatters/helpers_spec.rb +8 -8
  60. data/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +85 -17
  61. data/spec/rspec/core/formatters/html_formatted-1.8.7.html +12 -11
  62. data/spec/rspec/core/formatters/html_formatted-1.9.2.html +12 -11
  63. data/spec/rspec/core/formatters/{html_formatted-1.9.1.html → html_formatted-1.9.3.html} +12 -11
  64. data/spec/rspec/core/formatters/html_formatter_spec.rb +5 -5
  65. data/spec/rspec/core/formatters/progress_formatter_spec.rb +2 -2
  66. data/spec/rspec/core/formatters/snippet_extractor_spec.rb +2 -2
  67. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +86 -18
  68. data/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +13 -12
  69. data/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +29 -28
  70. data/spec/rspec/core/formatters/{text_mate_formatted-1.9.1.html → text_mate_formatted-1.9.3.html} +29 -28
  71. data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +2 -2
  72. data/spec/rspec/core/hooks_filtering_spec.rb +18 -18
  73. data/spec/rspec/core/let_spec.rb +19 -6
  74. data/spec/rspec/core/metadata_spec.rb +146 -61
  75. data/spec/rspec/core/pending_example_spec.rb +4 -4
  76. data/spec/rspec/core/rake_task_spec.rb +71 -50
  77. data/spec/rspec/core/reporter_spec.rb +2 -2
  78. data/spec/rspec/core/ruby_project_spec.rb +2 -2
  79. data/spec/rspec/core/runner_spec.rb +4 -1
  80. data/spec/rspec/core/shared_example_group_spec.rb +15 -119
  81. data/spec/rspec/core/subject_spec.rb +13 -13
  82. data/spec/rspec/core/world_spec.rb +31 -22
  83. data/spec/rspec/core_spec.rb +1 -29
  84. data/spec/spec_helper.rb +51 -49
  85. data/spec/support/shared_example_groups.rb +3 -3
  86. data/spec/support/spec_files.rb +8 -8
  87. metadata +79 -93
  88. data/.document +0 -5
  89. data/.gitignore +0 -12
  90. data/.rspec +0 -0
  91. data/.travis.yml +0 -9
  92. data/Changelog.md +0 -305
  93. data/Gemfile +0 -49
  94. data/Guardfile +0 -5
  95. data/License.txt +0 -23
  96. data/Rakefile +0 -93
  97. data/cucumber.yml +0 -2
  98. data/features/.nav +0 -57
  99. data/rspec-core.gemspec +0 -24
  100. data/script/FullBuildRakeFile +0 -63
  101. data/script/console +0 -8
  102. data/script/cucumber +0 -1
  103. data/script/full_build +0 -1
  104. data/script/spec +0 -1
  105. data/spec.txt +0 -1126
  106. data/spec/rspec/core/formatters/html_formatted-1.8.6.html +0 -398
  107. data/spec/rspec/core/formatters/text_mate_formatted-1.8.6.html +0 -398
@@ -49,35 +49,35 @@ module RSpec::Core
49
49
  let(:example_groups) { [group1, group2, group3, group4] }
50
50
 
51
51
  it "finds no groups when given no search parameters" do
52
- world.apply_inclusion_filters([]).should == []
52
+ world.apply_inclusion_filters([],{}).should eq([])
53
53
  end
54
54
 
55
55
  it "finds matching groups when filtering on :describes (described class or module)" do
56
- world.apply_inclusion_filters(example_groups, :example_group => { :describes => Bar }).should == [group1, group2, group3]
56
+ world.apply_inclusion_filters(example_groups, :example_group => { :describes => Bar }).should eq([group1, group2, group3])
57
57
  end
58
58
 
59
59
  it "finds matching groups when filtering on :description with text" do
60
- world.apply_inclusion_filters(example_groups, :example_group => { :description => 'Bar find group-1' }).should == [group1]
60
+ world.apply_inclusion_filters(example_groups, :example_group => { :description => 'Bar find group-1' }).should eq([group1])
61
61
  end
62
62
 
63
63
  it "finds matching groups when filtering on :description with a lambda" do
64
- world.apply_inclusion_filters(example_groups, :example_group => { :description => lambda { |v| v.include?('-1') || v.include?('-3') } }).should == [group1, group3]
64
+ world.apply_inclusion_filters(example_groups, :example_group => { :description => lambda { |v| v.include?('-1') || v.include?('-3') } }).should eq([group1, group3])
65
65
  end
66
66
 
67
67
  it "finds matching groups when filtering on :description with a regular expression" do
68
- world.apply_inclusion_filters(example_groups, :example_group => { :description => /find group/ }).should == [group1, group2, group3]
68
+ world.apply_inclusion_filters(example_groups, :example_group => { :description => /find group/ }).should eq([group1, group2, group3])
69
69
  end
70
70
 
71
71
  it "finds one group when searching for :pending => true" do
72
- world.apply_inclusion_filters(example_groups, :pending => true ).should == [group2]
72
+ world.apply_inclusion_filters(example_groups, :pending => true ).should eq([group2])
73
73
  end
74
74
 
75
75
  it "finds matching groups when filtering on arbitrary metadata with a number" do
76
- world.apply_inclusion_filters(example_groups, :foo => 1 ).should == [group1]
76
+ world.apply_inclusion_filters(example_groups, :foo => 1 ).should eq([group1])
77
77
  end
78
78
 
79
79
  it "finds matching groups when filtering on arbitrary metadata with an array" do
80
- world.apply_inclusion_filters(example_groups, :array => [1,2,3,4]).should == [group3]
80
+ world.apply_inclusion_filters(example_groups, :array => [1,2,3,4]).should eq([group3])
81
81
  end
82
82
 
83
83
  it "finds no groups when filtering on arbitrary metadata with an array but the arrays do not match" do
@@ -85,11 +85,11 @@ module RSpec::Core
85
85
  end
86
86
 
87
87
  it "finds matching examples when filtering on arbitrary metadata" do
88
- world.apply_inclusion_filters(group4.examples, :awesome => true).should == [group4.examples[1], group4.examples[2]]
88
+ world.apply_inclusion_filters(group4.examples, :awesome => true).should eq([group4.examples[1], group4.examples[2]])
89
89
  end
90
90
 
91
91
  it "finds matching examples for example that match any of the filters" do
92
- world.apply_inclusion_filters(group4.examples, :awesome => true, :something => :else).should == [group4.examples[1], group4.examples[2]]
92
+ world.apply_inclusion_filters(group4.examples, :awesome => true, :something => :else).should eq([group4.examples[1], group4.examples[2]])
93
93
  end
94
94
  end
95
95
 
@@ -105,7 +105,7 @@ module RSpec::Core
105
105
 
106
106
  world.register(group1)
107
107
 
108
- world.apply_exclusion_filters(group1.examples, :network_access => true).should == []
108
+ world.apply_exclusion_filters(group1.examples, :network_access => true).should eq([])
109
109
 
110
110
  group2 = ExampleGroup.describe(Bar, "find group-1") do
111
111
  it("foo", :network_access => true) {}
@@ -114,7 +114,7 @@ module RSpec::Core
114
114
 
115
115
  world.register(group2)
116
116
 
117
- world.apply_exclusion_filters(group2.examples, :network_access => true).should == [group2.examples.last]
117
+ world.apply_exclusion_filters(group2.examples, :network_access => true).should eq([group2.examples.last])
118
118
  end
119
119
 
120
120
  it "finds nothing if a regexp matches the exclusion filter" do
@@ -123,14 +123,23 @@ module RSpec::Core
123
123
  it("bar") {}
124
124
  end
125
125
  world.register(group)
126
- world.apply_exclusion_filters(group.examples, :name => /exclude/).should == []
127
- world.apply_exclusion_filters(group.examples, :name => /exclude/, :another => "foo").should == []
126
+ world.apply_exclusion_filters(group.examples, :name => /exclude/).should eq([])
127
+ world.apply_exclusion_filters(group.examples, :name => /exclude/, :another => "foo").should eq([])
128
128
  world.apply_exclusion_filters(group.examples, :name => /exclude/, :another => "foo", :example_group => {
129
- :describes => lambda { |b| b == Bar } } ).should == []
129
+ :describes => lambda { |b| b == Bar } } ).should eq([])
130
130
 
131
- world.apply_exclusion_filters(group.examples, :name => /exclude not/).should == group.examples
132
- world.apply_exclusion_filters(group.examples, :name => /exclude/, "another_condition" => "foo").should == []
133
- world.apply_exclusion_filters(group.examples, :name => /exclude/, "another_condition" => "foo1").should == []
131
+ world.apply_exclusion_filters(group.examples, :name => /exclude not/).should eq(group.examples)
132
+ world.apply_exclusion_filters(group.examples, :name => /exclude/, "another_condition" => "foo").should eq([])
133
+ world.apply_exclusion_filters(group.examples, :name => /exclude/, "another_condition" => "foo1").should eq([])
134
+ end
135
+
136
+ it "finds all if filters are empty" do
137
+ group = ExampleGroup.describe(Bar) do
138
+ example("foo") {}
139
+ example("bar") {}
140
+ end
141
+ world.register(group)
142
+ world.apply_exclusion_filters(group.examples, {}).should eq(group.examples)
134
143
  end
135
144
  end
136
145
 
@@ -269,22 +278,22 @@ module RSpec::Core
269
278
  describe "#exclusion_filter" do
270
279
  describe "#description" do
271
280
  it 'returns `{}` when it only contains the default filters' do
272
- world.exclusion_filter.description.should == {}.inspect
281
+ world.exclusion_filter.description.should eq({}.inspect)
273
282
  end
274
283
 
275
284
  it 'includes other filters' do
276
285
  configuration.exclusion_filter[:foo] = :bar
277
- world.exclusion_filter.description.should == { :foo => :bar }.inspect
286
+ world.exclusion_filter.description.should eq({ :foo => :bar }.inspect)
278
287
  end
279
288
 
280
289
  it 'includes an overriden :if filter' do
281
290
  configuration.exclusion_filter[:if] = :custom_filter
282
- world.exclusion_filter.description.should == { :if => :custom_filter }.inspect
291
+ world.exclusion_filter.description.should eq({ :if => :custom_filter }.inspect)
283
292
  end
284
293
 
285
294
  it 'includes an overriden :unless filter' do
286
295
  configuration.exclusion_filter[:unless] = :custom_filter
287
- world.exclusion_filter.description.should == { :unless => :custom_filter }.inspect
296
+ world.exclusion_filter.description.should eq({ :unless => :custom_filter }.inspect)
288
297
  end
289
298
 
290
299
  it 'cleans up the description' do
@@ -11,41 +11,13 @@ describe RSpec::Core do
11
11
  end
12
12
 
13
13
  describe "#configure" do
14
- around(:each) do |example|
15
- RSpec.allowing_configure_warning(&example)
16
- end
17
-
18
- before(:each) do
19
- RSpec.stub(:warn)
20
- end
21
14
 
22
15
  it "yields the current configuration" do
23
16
  RSpec.configure do |config|
24
- config.should == RSpec::configuration
25
- end
26
- end
27
-
28
- context "when an example group has already been defined" do
29
- before(:each) do
30
- RSpec.world.stub(:example_groups).and_return([double.as_null_object])
31
- end
32
-
33
- it "prints a deprecation warning" do
34
- RSpec.should_receive(:warn).with(/configuration should happen before the first example group/)
35
- RSpec.configure { |c| }
17
+ config.should eq(RSpec::configuration)
36
18
  end
37
19
  end
38
20
 
39
- context "when no examples have been defined yet" do
40
- before(:each) do
41
- RSpec.world.stub(:example_groups).and_return([])
42
- end
43
-
44
- it "does not print a deprecation warning" do
45
- RSpec.should_not_receive(:warn)
46
- RSpec.configure { |c| }
47
- end
48
- end
49
21
  end
50
22
 
51
23
  describe "#world" do
@@ -1,38 +1,55 @@
1
- require 'rspec/core'
2
- require 'autotest/rspec2'
1
+ require 'rubygems'
3
2
 
4
- Dir['./spec/support/**/*.rb'].map {|f| require f}
3
+ begin
4
+ require 'spork'
5
+ rescue LoadError
6
+ module Spork
7
+ def self.prefork
8
+ yield
9
+ end
5
10
 
6
- class NullObject
7
- private
8
- def method_missing(method, *args, &block)
9
- # ignore
11
+ def self.each_run
12
+ yield
13
+ end
10
14
  end
11
15
  end
12
16
 
13
- def sandboxed(&block)
14
- begin
15
- @orig_config = RSpec.configuration
16
- @orig_world = RSpec.world
17
- new_config = RSpec::Core::Configuration.new
18
- new_world = RSpec::Core::World.new(new_config)
19
- RSpec.instance_variable_set(:@configuration, new_config)
20
- RSpec.instance_variable_set(:@world, new_world)
21
- object = Object.new
22
- object.extend(RSpec::Core::SharedExampleGroup)
17
+ Spork.prefork do
18
+ require 'rspec/autorun'
19
+ require 'autotest/rspec2'
23
20
 
24
- (class << RSpec::Core::ExampleGroup; self; end).class_eval do
25
- alias_method :orig_run, :run
26
- def run(reporter=nil)
27
- @orig_mock_space = RSpec::Mocks::space
28
- RSpec::Mocks::space = RSpec::Mocks::Space.new
29
- orig_run(reporter || NullObject.new)
30
- ensure
31
- RSpec::Mocks::space = @orig_mock_space
32
- end
21
+ Dir['./spec/support/**/*.rb'].map {|f| require f}
22
+
23
+ class NullObject
24
+ private
25
+ def method_missing(method, *args, &block)
26
+ # ignore
33
27
  end
28
+ end
34
29
 
35
- object.instance_eval(&block)
30
+ def sandboxed(&block)
31
+ begin
32
+ @orig_config = RSpec.configuration
33
+ @orig_world = RSpec.world
34
+ new_config = RSpec::Core::Configuration.new
35
+ new_world = RSpec::Core::World.new(new_config)
36
+ RSpec.instance_variable_set(:@configuration, new_config)
37
+ RSpec.instance_variable_set(:@world, new_world)
38
+ object = Object.new
39
+ object.extend(RSpec::Core::SharedExampleGroup)
40
+
41
+ (class << RSpec::Core::ExampleGroup; self; end).class_eval do
42
+ alias_method :orig_run, :run
43
+ def run(reporter=nil)
44
+ @orig_mock_space = RSpec::Mocks::space
45
+ RSpec::Mocks::space = RSpec::Mocks::Space.new
46
+ orig_run(reporter || NullObject.new)
47
+ ensure
48
+ RSpec::Mocks::space = @orig_mock_space
49
+ end
50
+ end
51
+
52
+ object.instance_eval(&block)
36
53
  ensure
37
54
  (class << RSpec::Core::ExampleGroup; self; end).class_eval do
38
55
  remove_method :run
@@ -42,34 +59,13 @@ def sandboxed(&block)
42
59
 
43
60
  RSpec.instance_variable_set(:@configuration, @orig_config)
44
61
  RSpec.instance_variable_set(:@world, @orig_world)
45
- end
62
+ end
46
63
  end
47
64
 
48
65
  def in_editor?
49
66
  ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM')
50
67
  end
51
68
 
52
- class << RSpec
53
- alias_method :original_warn_about_deprecated_configure, :warn_about_deprecated_configure
54
-
55
- def warn_about_deprecated_configure
56
- # no-op: in our specs we don't want to see the warning.
57
- end
58
-
59
- alias_method :null_warn_about_deprecated_configure, :warn_about_deprecated_configure
60
-
61
- def allowing_configure_warning
62
- (class << self; self; end).class_eval do
63
- alias_method :warn_about_deprecated_configure, :original_warn_about_deprecated_configure
64
- begin
65
- yield
66
- ensure
67
- alias_method :warn_about_deprecated_configure, :null_warn_about_deprecated_configure
68
- end
69
- end
70
- end
71
- end
72
-
73
69
  RSpec.configure do |c|
74
70
  c.color_enabled = !in_editor?
75
71
  c.filter_run :focus => true
@@ -84,7 +80,13 @@ RSpec.configure do |c|
84
80
  !(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
85
81
  end
86
82
  }
83
+ c.alias_it_should_behave_like_to 'it_has_behavior'
87
84
  c.around do |example|
88
85
  sandboxed { example.run }
89
86
  end
90
87
  end
88
+ end
89
+
90
+ Spork.each_run do
91
+ end
92
+
@@ -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 == true
11
- hash[:bar].should == true
10
+ hash[:foo].should be(true)
11
+ hash[:bar].should be(true)
12
12
  end
13
13
 
14
14
  it 'still processes hash values normally' do
15
- hash[:bazz].should == 23
15
+ hash[:bazz].should be(23)
16
16
  end
17
17
  end
18
18
 
@@ -10,11 +10,11 @@ shared_context "spec files" do
10
10
  def create_passing_spec_file
11
11
  File.open(passing_spec_filename, 'w') do |f|
12
12
  f.write %q{
13
- describe "passing spec" do
14
- it "passes" do
15
- 1.should eq(1)
16
- end
13
+ describe "passing spec" do
14
+ it "passes" do
15
+ 1.should eq(1)
17
16
  end
17
+ end
18
18
  }
19
19
  end
20
20
  end
@@ -22,11 +22,11 @@ shared_context "spec files" do
22
22
  def create_failing_spec_file
23
23
  File.open(failing_spec_filename, 'w') do |f|
24
24
  f.write %q{
25
- describe "failing spec" do
26
- it "fails" do
27
- 1.should eq(2)
28
- end
25
+ describe "failing spec" do
26
+ it "fails" do
27
+ 1.should eq(2)
29
28
  end
29
+ end
30
30
  }
31
31
  end
32
32
  end
metadata CHANGED
@@ -1,23 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease:
4
+ hash: 15424039
5
+ prerelease: 6
6
6
  segments:
7
7
  - 2
8
- - 6
9
- - 4
10
- version: 2.6.4
8
+ - 7
9
+ - 0
10
+ - rc
11
+ - 1
12
+ version: 2.7.0.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Chad Humphries
14
16
  - David Chelimsky
15
17
  autorequire:
16
- bindir: bin
18
+ bindir: exe
17
19
  cert_chain: []
18
20
 
19
- date: 2011-06-06 00:00:00 -05:00
20
- default_executable:
21
+ date: 2011-10-09 00:00:00 Z
21
22
  dependencies: []
22
23
 
23
24
  description: BDD for Ruby. RSpec runner and example groups.
@@ -30,68 +31,6 @@ extensions: []
30
31
  extra_rdoc_files:
31
32
  - README.md
32
33
  files:
33
- - .document
34
- - .gitignore
35
- - .rspec
36
- - .travis.yml
37
- - Changelog.md
38
- - Gemfile
39
- - Guardfile
40
- - License.txt
41
- - README.md
42
- - Rakefile
43
- - bin/autospec
44
- - bin/rspec
45
- - cucumber.yml
46
- - features/.nav
47
- - features/Autotest.md
48
- - features/README.md
49
- - features/Upgrade.md
50
- - features/command_line/README.md
51
- - features/command_line/configure.feature
52
- - features/command_line/example_name_option.feature
53
- - features/command_line/exit_status.feature
54
- - features/command_line/format_option.feature
55
- - features/command_line/line_number_appended_to_path.feature
56
- - features/command_line/line_number_option.feature
57
- - features/command_line/rake_task.feature
58
- - features/command_line/tag.feature
59
- - features/configuration/alias_example_to.feature
60
- - features/configuration/custom_settings.feature
61
- - features/configuration/fail_fast.feature
62
- - features/configuration/read_options_from_file.feature
63
- - features/example_groups/basic_structure.feature
64
- - features/example_groups/shared_context.feature
65
- - features/example_groups/shared_example_group.feature
66
- - features/expectation_framework_integration/configure_expectation_framework.feature
67
- - features/filtering/exclusion_filters.feature
68
- - features/filtering/if_and_unless.feature
69
- - features/filtering/inclusion_filters.feature
70
- - features/filtering/run_all_when_everything_filtered.feature
71
- - features/formatters/custom_formatter.feature
72
- - features/formatters/text_formatter.feature
73
- - features/helper_methods/arbitrary_methods.feature
74
- - features/helper_methods/let.feature
75
- - features/helper_methods/modules.feature
76
- - features/hooks/around_hooks.feature
77
- - features/hooks/before_and_after_hooks.feature
78
- - features/hooks/filtering.feature
79
- - features/metadata/current_example.feature
80
- - features/metadata/described_class.feature
81
- - features/metadata/user_defined.feature
82
- - features/mock_framework_integration/use_any_framework.feature
83
- - features/mock_framework_integration/use_flexmock.feature
84
- - features/mock_framework_integration/use_mocha.feature
85
- - features/mock_framework_integration/use_rr.feature
86
- - features/mock_framework_integration/use_rspec.feature
87
- - features/pending/pending_examples.feature
88
- - features/spec_files/arbitrary_file_suffix.feature
89
- - features/step_definitions/additional_cli_steps.rb
90
- - features/subject/attribute_of_subject.feature
91
- - features/subject/explicit_subject.feature
92
- - features/subject/implicit_receiver.feature
93
- - features/subject/implicit_subject.feature
94
- - features/support/env.rb
95
34
  - lib/autotest/discover.rb
96
35
  - lib/autotest/rspec2.rb
97
36
  - lib/rspec/autorun.rb
@@ -144,13 +83,58 @@ files:
144
83
  - lib/rspec/core/world.rb
145
84
  - lib/rspec/monkey.rb
146
85
  - lib/rspec/monkey/spork/test_framework/rspec.rb
147
- - rspec-core.gemspec
148
- - script/FullBuildRakeFile
149
- - script/console
150
- - script/cucumber
151
- - script/full_build
152
- - script/spec
153
- - spec.txt
86
+ - README.md
87
+ - features/Autotest.md
88
+ - features/README.md
89
+ - features/Upgrade.md
90
+ - features/command_line/README.md
91
+ - features/command_line/configure.feature
92
+ - features/command_line/example_name_option.feature
93
+ - features/command_line/exit_status.feature
94
+ - features/command_line/format_option.feature
95
+ - features/command_line/line_number_appended_to_path.feature
96
+ - features/command_line/line_number_option.feature
97
+ - features/command_line/pattern_option.feature
98
+ - features/command_line/rake_task.feature
99
+ - features/command_line/ruby.feature
100
+ - features/command_line/tag.feature
101
+ - features/configuration/alias_example_to.feature
102
+ - features/configuration/custom_settings.feature
103
+ - features/configuration/default_path.feature
104
+ - features/configuration/fail_fast.feature
105
+ - features/configuration/read_options_from_file.feature
106
+ - features/example_groups/basic_structure.feature
107
+ - features/example_groups/shared_context.feature
108
+ - features/example_groups/shared_examples.feature
109
+ - features/expectation_framework_integration/configure_expectation_framework.feature
110
+ - features/filtering/exclusion_filters.feature
111
+ - features/filtering/if_and_unless.feature
112
+ - features/filtering/inclusion_filters.feature
113
+ - features/filtering/run_all_when_everything_filtered.feature
114
+ - features/formatters/custom_formatter.feature
115
+ - features/formatters/text_formatter.feature
116
+ - features/helper_methods/arbitrary_methods.feature
117
+ - features/helper_methods/let.feature
118
+ - features/helper_methods/modules.feature
119
+ - features/hooks/around_hooks.feature
120
+ - features/hooks/before_and_after_hooks.feature
121
+ - features/hooks/filtering.feature
122
+ - features/metadata/current_example.feature
123
+ - features/metadata/described_class.feature
124
+ - features/metadata/user_defined.feature
125
+ - features/mock_framework_integration/use_any_framework.feature
126
+ - features/mock_framework_integration/use_flexmock.feature
127
+ - features/mock_framework_integration/use_mocha.feature
128
+ - features/mock_framework_integration/use_rr.feature
129
+ - features/mock_framework_integration/use_rspec.feature
130
+ - features/pending/pending_examples.feature
131
+ - features/spec_files/arbitrary_file_suffix.feature
132
+ - features/step_definitions/additional_cli_steps.rb
133
+ - features/subject/attribute_of_subject.feature
134
+ - features/subject/explicit_subject.feature
135
+ - features/subject/implicit_receiver.feature
136
+ - features/subject/implicit_subject.feature
137
+ - features/support/env.rb
154
138
  - spec/autotest/discover_spec.rb
155
139
  - spec/autotest/failed_results_re_spec.rb
156
140
  - spec/autotest/rspec_spec.rb
@@ -167,19 +151,17 @@ files:
167
151
  - spec/rspec/core/formatters/base_text_formatter_spec.rb
168
152
  - spec/rspec/core/formatters/documentation_formatter_spec.rb
169
153
  - spec/rspec/core/formatters/helpers_spec.rb
170
- - spec/rspec/core/formatters/html_formatted-1.8.6.html
171
154
  - spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
172
155
  - spec/rspec/core/formatters/html_formatted-1.8.7.html
173
- - spec/rspec/core/formatters/html_formatted-1.9.1.html
174
156
  - spec/rspec/core/formatters/html_formatted-1.9.2.html
157
+ - spec/rspec/core/formatters/html_formatted-1.9.3.html
175
158
  - spec/rspec/core/formatters/html_formatter_spec.rb
176
159
  - spec/rspec/core/formatters/progress_formatter_spec.rb
177
160
  - spec/rspec/core/formatters/snippet_extractor_spec.rb
178
- - spec/rspec/core/formatters/text_mate_formatted-1.8.6.html
179
161
  - spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html
180
162
  - spec/rspec/core/formatters/text_mate_formatted-1.8.7.html
181
- - spec/rspec/core/formatters/text_mate_formatted-1.9.1.html
182
163
  - spec/rspec/core/formatters/text_mate_formatted-1.9.2.html
164
+ - spec/rspec/core/formatters/text_mate_formatted-1.9.3.html
183
165
  - spec/rspec/core/formatters/text_mate_formatter_spec.rb
184
166
  - spec/rspec/core/hooks_filtering_spec.rb
185
167
  - spec/rspec/core/hooks_spec.rb
@@ -208,7 +190,8 @@ files:
208
190
  - spec/support/matchers.rb
209
191
  - spec/support/shared_example_groups.rb
210
192
  - spec/support/spec_files.rb
211
- has_rdoc: true
193
+ - exe/autospec
194
+ - exe/rspec
212
195
  homepage: http://github.com/rspec
213
196
  licenses: []
214
197
 
@@ -229,19 +212,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
212
  required_rubygems_version: !ruby/object:Gem::Requirement
230
213
  none: false
231
214
  requirements:
232
- - - ">="
215
+ - - ">"
233
216
  - !ruby/object:Gem::Version
234
- hash: 3
217
+ hash: 25
235
218
  segments:
236
- - 0
237
- version: "0"
219
+ - 1
220
+ - 3
221
+ - 1
222
+ version: 1.3.1
238
223
  requirements: []
239
224
 
240
225
  rubyforge_project: rspec
241
- rubygems_version: 1.6.2
226
+ rubygems_version: 1.8.6
242
227
  signing_key:
243
228
  specification_version: 3
244
- summary: rspec-core-2.6.4
229
+ summary: rspec-core-2.7.0.rc1
245
230
  test_files:
246
231
  - features/Autotest.md
247
232
  - features/README.md
@@ -253,15 +238,18 @@ test_files:
253
238
  - features/command_line/format_option.feature
254
239
  - features/command_line/line_number_appended_to_path.feature
255
240
  - features/command_line/line_number_option.feature
241
+ - features/command_line/pattern_option.feature
256
242
  - features/command_line/rake_task.feature
243
+ - features/command_line/ruby.feature
257
244
  - features/command_line/tag.feature
258
245
  - features/configuration/alias_example_to.feature
259
246
  - features/configuration/custom_settings.feature
247
+ - features/configuration/default_path.feature
260
248
  - features/configuration/fail_fast.feature
261
249
  - features/configuration/read_options_from_file.feature
262
250
  - features/example_groups/basic_structure.feature
263
251
  - features/example_groups/shared_context.feature
264
- - features/example_groups/shared_example_group.feature
252
+ - features/example_groups/shared_examples.feature
265
253
  - features/expectation_framework_integration/configure_expectation_framework.feature
266
254
  - features/filtering/exclusion_filters.feature
267
255
  - features/filtering/if_and_unless.feature
@@ -307,19 +295,17 @@ test_files:
307
295
  - spec/rspec/core/formatters/base_text_formatter_spec.rb
308
296
  - spec/rspec/core/formatters/documentation_formatter_spec.rb
309
297
  - spec/rspec/core/formatters/helpers_spec.rb
310
- - spec/rspec/core/formatters/html_formatted-1.8.6.html
311
298
  - spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
312
299
  - spec/rspec/core/formatters/html_formatted-1.8.7.html
313
- - spec/rspec/core/formatters/html_formatted-1.9.1.html
314
300
  - spec/rspec/core/formatters/html_formatted-1.9.2.html
301
+ - spec/rspec/core/formatters/html_formatted-1.9.3.html
315
302
  - spec/rspec/core/formatters/html_formatter_spec.rb
316
303
  - spec/rspec/core/formatters/progress_formatter_spec.rb
317
304
  - spec/rspec/core/formatters/snippet_extractor_spec.rb
318
- - spec/rspec/core/formatters/text_mate_formatted-1.8.6.html
319
305
  - spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html
320
306
  - spec/rspec/core/formatters/text_mate_formatted-1.8.7.html
321
- - spec/rspec/core/formatters/text_mate_formatted-1.9.1.html
322
307
  - spec/rspec/core/formatters/text_mate_formatted-1.9.2.html
308
+ - spec/rspec/core/formatters/text_mate_formatted-1.9.3.html
323
309
  - spec/rspec/core/formatters/text_mate_formatter_spec.rb
324
310
  - spec/rspec/core/hooks_filtering_spec.rb
325
311
  - spec/rspec/core/hooks_spec.rb