rspec-core 2.99.2 → 3.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +103 -191
- data/License.txt +1 -0
- data/README.md +4 -25
- data/features/Upgrade.md +2 -14
- data/features/command_line/dry_run.feature +29 -0
- data/features/command_line/example_name_option.feature +1 -1
- data/features/command_line/fail_fast.feature +26 -0
- data/features/command_line/format_option.feature +3 -3
- data/features/command_line/line_number_option.feature +16 -11
- data/features/command_line/order.feature +2 -3
- data/features/command_line/pattern_option.feature +3 -3
- data/features/command_line/randomization.feature +63 -0
- data/features/command_line/require_option.feature +2 -2
- data/features/command_line/ruby.feature +1 -1
- data/features/configuration/alias_example_to.feature +13 -22
- data/features/configuration/{backtrace_clean_patterns.feature → backtrace_exclusion_patterns.feature} +17 -14
- data/features/configuration/custom_settings.feature +11 -11
- data/features/configuration/overriding_global_ordering.feature +93 -0
- data/features/configuration/profile.feature +13 -13
- data/features/configuration/read_options_from_file.feature +7 -7
- data/features/example_groups/basic_structure.feature +1 -1
- data/features/example_groups/shared_context.feature +8 -8
- data/features/example_groups/shared_examples.feature +6 -14
- data/features/expectation_framework_integration/configure_expectation_framework.feature +27 -122
- data/features/filtering/exclusion_filters.feature +2 -5
- data/features/filtering/inclusion_filters.feature +1 -5
- data/features/formatters/json_formatter.feature +2 -2
- data/features/formatters/text_formatter.feature +4 -4
- data/features/helper_methods/arbitrary_methods.feature +2 -2
- data/features/helper_methods/let.feature +5 -5
- data/features/helper_methods/modules.feature +5 -8
- data/features/hooks/around_hooks.feature +2 -2
- data/features/hooks/before_and_after_hooks.feature +14 -14
- data/features/hooks/filtering.feature +12 -14
- data/features/metadata/described_class.feature +1 -1
- data/features/metadata/user_defined.feature +16 -29
- data/features/mock_framework_integration/use_flexmock.feature +1 -1
- data/features/mock_framework_integration/use_mocha.feature +1 -1
- data/features/mock_framework_integration/use_rr.feature +1 -1
- data/features/mock_framework_integration/use_rspec.feature +5 -5
- data/features/pending/pending_examples.feature +5 -5
- data/features/spec_files/arbitrary_file_suffix.feature +1 -1
- data/features/step_definitions/additional_cli_steps.rb +3 -3
- data/features/subject/explicit_subject.feature +8 -8
- data/features/subject/implicit_receiver.feature +29 -0
- data/features/subject/implicit_subject.feature +4 -4
- data/features/support/env.rb +10 -3
- data/features/support/require_expect_syntax_in_aruba_specs.rb +16 -0
- data/lib/rspec/core.rb +11 -48
- data/lib/rspec/core/backport_random.rb +302 -0
- data/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/lib/rspec/core/command_line.rb +7 -18
- data/lib/rspec/core/configuration.rb +202 -507
- data/lib/rspec/core/configuration_options.rb +17 -30
- data/lib/rspec/core/example.rb +29 -39
- data/lib/rspec/core/example_group.rb +166 -259
- data/lib/rspec/core/filter_manager.rb +30 -47
- data/lib/rspec/core/flat_map.rb +17 -0
- data/lib/rspec/core/formatters.rb +0 -138
- data/lib/rspec/core/formatters/base_formatter.rb +46 -1
- data/lib/rspec/core/formatters/base_text_formatter.rb +38 -61
- data/lib/rspec/core/formatters/deprecation_formatter.rb +21 -52
- data/lib/rspec/core/formatters/helpers.rb +0 -28
- data/lib/rspec/core/formatters/html_formatter.rb +1 -1
- data/lib/rspec/core/formatters/json_formatter.rb +38 -9
- data/lib/rspec/core/formatters/snippet_extractor.rb +14 -5
- data/lib/rspec/core/hooks.rb +55 -39
- data/lib/rspec/core/memoized_helpers.rb +17 -167
- data/lib/rspec/core/metadata.rb +16 -64
- data/lib/rspec/core/option_parser.rb +30 -39
- data/lib/rspec/core/ordering.rb +154 -0
- data/lib/rspec/core/pending.rb +12 -69
- data/lib/rspec/core/project_initializer.rb +12 -10
- data/lib/rspec/core/rake_task.rb +5 -108
- data/lib/rspec/core/reporter.rb +15 -18
- data/lib/rspec/core/runner.rb +16 -30
- data/lib/rspec/core/shared_context.rb +3 -5
- data/lib/rspec/core/shared_example_group.rb +3 -51
- data/lib/rspec/core/shared_example_group/collection.rb +1 -19
- data/lib/rspec/core/version.rb +1 -1
- data/lib/rspec/core/warnings.rb +22 -0
- data/lib/rspec/core/world.rb +12 -8
- data/spec/command_line/order_spec.rb +20 -23
- data/spec/rspec/core/backtrace_formatter_spec.rb +216 -0
- data/spec/rspec/core/command_line_spec.rb +32 -48
- data/spec/rspec/core/configuration_options_spec.rb +19 -50
- data/spec/rspec/core/configuration_spec.rb +142 -713
- data/spec/rspec/core/drb_command_line_spec.rb +2 -0
- data/spec/rspec/core/dsl_spec.rb +0 -1
- data/spec/rspec/core/example_group_spec.rb +192 -223
- data/spec/rspec/core/example_spec.rb +40 -16
- data/spec/rspec/core/filter_manager_spec.rb +2 -2
- data/spec/rspec/core/formatters/base_formatter_spec.rb +0 -41
- data/spec/rspec/core/formatters/base_text_formatter_spec.rb +5 -123
- data/spec/rspec/core/formatters/deprecation_formatter_spec.rb +2 -87
- data/spec/rspec/core/formatters/documentation_formatter_spec.rb +2 -3
- data/spec/rspec/core/formatters/{text_mate_formatted.html → html_formatted-1.8.7-jruby.html} +44 -25
- data/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +477 -0
- data/spec/rspec/core/formatters/{html_formatted.html → html_formatted-1.8.7.html} +42 -25
- data/spec/rspec/core/formatters/html_formatted-1.9.2.html +425 -0
- data/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +416 -0
- data/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +477 -0
- data/spec/rspec/core/formatters/html_formatted-1.9.3.html +419 -0
- data/spec/rspec/core/formatters/html_formatted-2.0.0.html +425 -0
- data/spec/rspec/core/formatters/html_formatter_spec.rb +21 -46
- data/spec/rspec/core/formatters/json_formatter_spec.rb +97 -8
- data/spec/rspec/core/hooks_filtering_spec.rb +5 -5
- data/spec/rspec/core/hooks_spec.rb +61 -47
- data/spec/rspec/core/memoized_helpers_spec.rb +20 -322
- data/spec/rspec/core/metadata_spec.rb +1 -24
- data/spec/rspec/core/option_parser_spec.rb +20 -62
- data/spec/rspec/core/ordering_spec.rb +102 -0
- data/spec/rspec/core/pending_example_spec.rb +0 -40
- data/spec/rspec/core/project_initializer_spec.rb +1 -25
- data/spec/rspec/core/rake_task_spec.rb +5 -72
- data/spec/rspec/core/random_spec.rb +47 -0
- data/spec/rspec/core/reporter_spec.rb +23 -48
- data/spec/rspec/core/runner_spec.rb +31 -39
- data/spec/rspec/core/shared_context_spec.rb +3 -15
- data/spec/rspec/core/shared_example_group/collection_spec.rb +4 -17
- data/spec/rspec/core/shared_example_group_spec.rb +12 -45
- data/spec/rspec/core/{deprecation_spec.rb → warnings_spec.rb} +3 -1
- data/spec/rspec/core_spec.rb +4 -21
- data/spec/spec_helper.rb +41 -5
- data/spec/support/helper_methods.rb +0 -29
- data/spec/support/sandboxed_mock_space.rb +0 -16
- data/spec/support/shared_example_groups.rb +7 -36
- data/spec/support/stderr_splitter.rb +36 -0
- metadata +163 -157
- metadata.gz.sig +1 -0
- data/exe/autospec +0 -13
- data/features/Autotest.md +0 -38
- data/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +0 -52
- data/features/subject/attribute_of_subject.feature +0 -124
- data/features/subject/one_liner_syntax.feature +0 -71
- data/lib/autotest/discover.rb +0 -10
- data/lib/autotest/rspec2.rb +0 -77
- data/lib/rspec/core/backtrace_cleaner.rb +0 -46
- data/lib/rspec/core/backward_compatibility.rb +0 -55
- data/lib/rspec/core/caller_filter.rb +0 -60
- data/lib/rspec/core/deprecated_mutable_array_proxy.rb +0 -32
- data/lib/rspec/core/deprecation.rb +0 -26
- data/lib/rspec/core/extensions/instance_eval_with_args.rb +0 -44
- data/lib/rspec/core/extensions/kernel.rb +0 -9
- data/lib/rspec/core/extensions/module_eval_with_args.rb +0 -38
- data/lib/rspec/core/extensions/ordered.rb +0 -27
- data/lib/rspec/core/formatters/console_codes.rb +0 -42
- data/lib/rspec/core/formatters/text_mate_formatter.rb +0 -34
- data/lib/rspec/core/metadata_hash_builder.rb +0 -97
- data/lib/rspec/core/minitest_assertions_adapter.rb +0 -28
- data/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/spec/autotest/discover_spec.rb +0 -49
- data/spec/autotest/failed_results_re_spec.rb +0 -45
- data/spec/autotest/rspec_spec.rb +0 -133
- data/spec/rspec/core/backtrace_cleaner_spec.rb +0 -68
- data/spec/rspec/core/caller_filter_spec.rb +0 -58
- data/spec/rspec/core/deprecations_spec.rb +0 -59
- data/spec/rspec/core/formatters/console_codes_spec.rb +0 -50
- data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +0 -107
- data/spec/rspec/core/kernel_extensions_spec.rb +0 -9
- data/spec/rspec/core/pending_spec.rb +0 -27
- data/spec/support/silence_dsl_deprecations.rb +0 -32
@@ -1,6 +1,7 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe RSpec
|
3
|
+
describe "RSpec deprecations and warnings" do
|
4
|
+
|
4
5
|
describe "#deprecate" do
|
5
6
|
it "passes the hash to the reporter" do
|
6
7
|
expect(RSpec.configuration.reporter).to receive(:deprecation).with(hash_including :deprecated => "deprecated_method", :replacement => "replacement")
|
@@ -24,4 +25,5 @@ describe RSpec::Core::Deprecation do
|
|
24
25
|
RSpec.warn_deprecation("this is the message")
|
25
26
|
end
|
26
27
|
end
|
28
|
+
|
27
29
|
end
|
data/spec/rspec/core_spec.rb
CHANGED
@@ -56,7 +56,7 @@ describe RSpec do
|
|
56
56
|
config_before_reset = RSpec.configuration
|
57
57
|
world_before_reset = RSpec.world
|
58
58
|
|
59
|
-
RSpec.
|
59
|
+
RSpec.reset
|
60
60
|
|
61
61
|
expect(RSpec.configuration).not_to equal(config_before_reset)
|
62
62
|
expect(RSpec.world).not_to equal(world_before_reset)
|
@@ -65,7 +65,8 @@ describe RSpec do
|
|
65
65
|
|
66
66
|
describe "::Core.path_to_executable" do
|
67
67
|
it 'returns the absolute location of the exe/rspec file' do
|
68
|
-
expect(RSpec::Core.path_to_executable).to
|
68
|
+
expect(File.exist? RSpec::Core.path_to_executable).to be_truthy
|
69
|
+
expect(File.executable? RSpec::Core.path_to_executable).to be_truthy
|
69
70
|
end
|
70
71
|
end
|
71
72
|
|
@@ -86,23 +87,5 @@ describe RSpec do
|
|
86
87
|
RSpec::NotAConst
|
87
88
|
}.to raise_error(NameError, /RSpec::NotAConst/)
|
88
89
|
end
|
89
|
-
|
90
|
-
describe "::Core::PendingExampleFixedError" do
|
91
|
-
before { allow_deprecation }
|
92
|
-
|
93
|
-
it 'is an alternate reference to RSpec::Core::Pending::PendingExampleFixedError' do
|
94
|
-
expect(::RSpec::Core::PendingExampleFixedError).to be(::RSpec::Core::Pending::PendingExampleFixedError)
|
95
|
-
end
|
96
|
-
|
97
|
-
it 'prints a deprecation warning' do
|
98
|
-
expect_deprecation_with_call_site(__FILE__, __LINE__ + 1, /PendingExampleFixedError/)
|
99
|
-
::RSpec::Core::PendingExampleFixedError
|
100
|
-
end
|
101
|
-
|
102
|
-
specify 'the const_missing hook allows other undefined consts to raise errors as normal' do
|
103
|
-
expect {
|
104
|
-
::RSpec::Core::SomeUndefinedConst
|
105
|
-
}.to raise_error(NameError, /RSpec::Core::SomeUndefinedConst/)
|
106
|
-
end
|
107
|
-
end
|
108
90
|
end
|
91
|
+
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'rubygems'
|
1
|
+
require 'rubygems' if RUBY_VERSION.to_f < 1.9
|
2
2
|
|
3
3
|
begin
|
4
4
|
require 'spork'
|
@@ -15,9 +15,18 @@ rescue LoadError
|
|
15
15
|
end
|
16
16
|
|
17
17
|
Spork.prefork do
|
18
|
-
|
19
|
-
|
18
|
+
old_verbose, $VERBOSE = $VERBOSE, false
|
19
|
+
if ENV['TRAVIS'] && !ENV['NO_COVERALLS']
|
20
|
+
require 'simplecov' if RUBY_VERSION.to_f > 1.8
|
21
|
+
require 'coveralls'
|
22
|
+
Coveralls.wear! do
|
23
|
+
add_filter '/bundle/'
|
24
|
+
add_filter '/spec/'
|
25
|
+
add_filter '/tmp/'
|
26
|
+
end
|
27
|
+
end
|
20
28
|
require 'aruba/api'
|
29
|
+
$VERBOSE = old_verbose
|
21
30
|
|
22
31
|
if RUBY_PLATFORM == 'java'
|
23
32
|
# Works around https://jira.codehaus.org/browse/JRUBY-5678
|
@@ -26,8 +35,22 @@ Spork.prefork do
|
|
26
35
|
FileUtils.mkdir_p(ENV['TMPDIR'])
|
27
36
|
end
|
28
37
|
|
38
|
+
$rspec_core_without_stderr_monkey_patch = RSpec::Core::Configuration.new
|
39
|
+
|
40
|
+
class RSpec::Core::Configuration
|
41
|
+
def self.new(*args, &block)
|
42
|
+
super.tap do |config|
|
43
|
+
# We detect ruby warnings via $stderr,
|
44
|
+
# so direct our deprecations to $stdout instead.
|
45
|
+
config.deprecation_stream = $stdout
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
29
50
|
Dir['./spec/support/**/*.rb'].map {|f| require f}
|
30
51
|
|
52
|
+
$stderr = RSpec::StdErrSplitter.new
|
53
|
+
|
31
54
|
class NullObject
|
32
55
|
private
|
33
56
|
def method_missing(method, *args, &block)
|
@@ -99,6 +122,8 @@ Spork.prefork do
|
|
99
122
|
end
|
100
123
|
end
|
101
124
|
|
125
|
+
require 'rspec/support/spec'
|
126
|
+
|
102
127
|
RSpec.configure do |c|
|
103
128
|
# structural
|
104
129
|
c.alias_it_behaves_like_to 'it_has_behavior'
|
@@ -108,13 +133,18 @@ Spork.prefork do
|
|
108
133
|
:file_path => /spec\/command_line/
|
109
134
|
}
|
110
135
|
|
136
|
+
# Use the doc formatter when running individual files.
|
137
|
+
# This is too verbose when running all spec files but
|
138
|
+
# is nice for a single file.
|
139
|
+
if c.files_to_run.one? && c.formatters.none?
|
140
|
+
c.formatter = 'doc'
|
141
|
+
end
|
142
|
+
|
111
143
|
c.expect_with :rspec do |expectations|
|
112
144
|
expectations.syntax = :expect
|
113
145
|
end
|
114
146
|
|
115
147
|
# runtime options
|
116
|
-
c.raise_errors_for_deprecations!
|
117
|
-
c.treat_symbols_as_metadata_keys_with_true_values = true
|
118
148
|
c.color = !in_editor?
|
119
149
|
c.filter_run :focus
|
120
150
|
c.include EnvHelpers
|
@@ -129,6 +159,12 @@ Spork.prefork do
|
|
129
159
|
!(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
|
130
160
|
end
|
131
161
|
}
|
162
|
+
|
163
|
+
c.after(:suite) do
|
164
|
+
if $stderr.has_output?
|
165
|
+
raise "Ruby warnings were emitted:\n\n#{$stderr.output}"
|
166
|
+
end
|
167
|
+
end
|
132
168
|
end
|
133
169
|
end
|
134
170
|
|
@@ -23,33 +23,4 @@ module RSpecHelpers
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
def expect_deprecation_with_call_site(file, line, deprecated = //)
|
27
|
-
expect(RSpec.configuration.reporter).to receive(:deprecation) do |options|
|
28
|
-
expect(options[:call_site]).to include([file, line].join(':'))
|
29
|
-
expect(options[:deprecated]).to match(deprecated)
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
def expect_deprecation_with_no_call_site(deprecated)
|
34
|
-
expect(RSpec.configuration.reporter).to receive(:deprecation) do |options|
|
35
|
-
expect(options).to include(:call_site => nil)
|
36
|
-
expect(options[:deprecated]).to match(deprecated)
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
def expect_warn_deprecation_with_call_site(file, line, deprecated = //)
|
41
|
-
expect(RSpec.configuration.reporter).to receive(:deprecation) do |options|
|
42
|
-
expect(options[:message]).to include([file, line].join(':'))
|
43
|
-
expect(options[:message]).to match(deprecated)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
def expect_no_deprecation
|
48
|
-
expect(RSpec.configuration.reporter).not_to receive(:deprecation)
|
49
|
-
end
|
50
|
-
|
51
|
-
def allow_deprecation
|
52
|
-
allow(RSpec.configuration.reporter).to receive(:deprecation)
|
53
|
-
end
|
54
|
-
|
55
26
|
end
|
@@ -1,22 +1,6 @@
|
|
1
1
|
require 'rspec/mocks'
|
2
2
|
|
3
3
|
module RSpec
|
4
|
-
module Mocks
|
5
|
-
Space.class_eval do
|
6
|
-
undef print_out_of_example_deprecation
|
7
|
-
def print_out_of_example_deprecation
|
8
|
-
# The simple "are you outside of an example" detection in rspec-mocks
|
9
|
-
# does not properly handle our dog fooding here in rspec core, where we define
|
10
|
-
# example groups and examples from within an example and run them.
|
11
|
-
# As a result, we get `SystemStackError` in a few specs that are mocking
|
12
|
-
# `RSpec.deprecate` and creating nested examples, but we don't care about
|
13
|
-
# this warning here in rspec-core.
|
14
|
-
#
|
15
|
-
# This redefintion silences it.
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
4
|
module Core
|
21
5
|
# Because rspec-core dog-foods itself, rspec-core's spec suite has
|
22
6
|
# examples that define example groups and examples and run them. The
|
@@ -1,42 +1,13 @@
|
|
1
1
|
shared_examples_for "metadata hash builder" do
|
2
|
-
|
3
|
-
let(:hash) { metadata_hash(:foo, :bar, :bazz => 23) }
|
2
|
+
let(:hash) { metadata_hash(:foo, :bar, :bazz => 23) }
|
4
3
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
it 'treats symbols as metadata keys with a true value' do
|
10
|
-
expect(hash[:foo]).to be(true)
|
11
|
-
expect(hash[:bar]).to be(true)
|
12
|
-
end
|
13
|
-
|
14
|
-
it 'still processes hash values normally' do
|
15
|
-
expect(hash[:bazz]).to be(23)
|
16
|
-
end
|
4
|
+
it 'treats symbols as metadata keys with a true value' do
|
5
|
+
expect(hash[:foo]).to be(true)
|
6
|
+
expect(hash[:bar]).to be(true)
|
17
7
|
end
|
18
8
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
before(:each) do
|
23
|
-
allow_deprecation
|
24
|
-
RSpec.configure { |c| c.treat_symbols_as_metadata_keys_with_true_values = false }
|
25
|
-
warning_receiver.stub(:warn)
|
26
|
-
end
|
27
|
-
|
28
|
-
it 'prints a deprecation warning about any symbols given as arguments' do
|
29
|
-
warning_receiver.should_receive(:warn).with(/In RSpec 3, these symbols will be treated as metadata keys/)
|
30
|
-
metadata_hash(:foo, :bar, :key => 'value')
|
31
|
-
end
|
32
|
-
|
33
|
-
it 'does not treat symbols as metadata keys' do
|
34
|
-
expect(metadata_hash(:foo, :bar, :key => 'value')).not_to include(:foo, :bar)
|
35
|
-
end
|
36
|
-
|
37
|
-
it 'does not print a warning if there are no symbol arguments' do
|
38
|
-
warning_receiver.should_not_receive(:warn)
|
39
|
-
metadata_hash(:foo => 23, :bar => 17)
|
40
|
-
end
|
9
|
+
it 'still processes hash values normally' do
|
10
|
+
expect(hash[:bazz]).to be(23)
|
41
11
|
end
|
42
12
|
end
|
13
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
|
3
|
+
module RSpec
|
4
|
+
class StdErrSplitter < (defined?(::BasicObject) ? ::BasicObject : ::Object)
|
5
|
+
def initialize
|
6
|
+
@orig_stderr = $stderr
|
7
|
+
@output_tracker = ::StringIO.new
|
8
|
+
end
|
9
|
+
|
10
|
+
respond_to_name = (::RUBY_VERSION.to_f < 1.9) ? :respond_to? : :respond_to_missing?
|
11
|
+
define_method respond_to_name do |*args|
|
12
|
+
@orig_stderr.respond_to?(*args) || super
|
13
|
+
end
|
14
|
+
|
15
|
+
def method_missing(name, *args, &block)
|
16
|
+
@orig_stderr.__send__(name, *args, &block)
|
17
|
+
@output_tracker.__send__(name, *args, &block)
|
18
|
+
end
|
19
|
+
|
20
|
+
# To work around JRuby error:
|
21
|
+
# TypeError: $stderr must have write method, RSpec::StdErrSplitter given
|
22
|
+
def write(*args)
|
23
|
+
@orig_stderr.write(*args)
|
24
|
+
@output_tracker.write(*args)
|
25
|
+
end
|
26
|
+
|
27
|
+
def has_output?
|
28
|
+
!output.empty?
|
29
|
+
end
|
30
|
+
|
31
|
+
def output
|
32
|
+
@output_tracker.string
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
metadata
CHANGED
@@ -1,87 +1,104 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
8
8
|
- David Chelimsky
|
9
9
|
- Chad Humphries
|
10
|
+
- Myron Marston
|
10
11
|
autorequire:
|
11
12
|
bindir: exe
|
12
|
-
cert_chain:
|
13
|
-
|
13
|
+
cert_chain:
|
14
|
+
- !binary |-
|
15
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURqakNDQW5hZ0F3SUJB
|
16
|
+
Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJHTVJJd0VBWURWUVFEREFseWMz
|
17
|
+
QmwKWXkxa1pYWXhHekFaQmdvSmtpYUprL0lzWkFFWkZndG5iMjluYkdWbmIz
|
18
|
+
VndjekVUTUJFR0NnbVNKb21UOGl4awpBUmtXQTJOdmJUQWVGdzB4TXpFeE1E
|
19
|
+
Y3hPVFF5TlRsYUZ3MHhOREV4TURjeE9UUXlOVGxhTUVZeEVqQVFCZ05WCkJB
|
20
|
+
TU1DWEp6Y0dWakxXUmxkakViTUJrR0NnbVNKb21UOGl4a0FSa1dDMmR2YjJk
|
21
|
+
c1pXZHZkWEJ6TVJNd0VRWUsKQ1pJbWlaUHlMR1FCR1JZRFkyOXRNSUlCSWpB
|
22
|
+
TkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQQpuaENlWm91
|
23
|
+
RExYV081NW5vK0VkWk5DdGpYamZKUTFYOVRiUGN2QkREMjlPeXBJVWNlMmgv
|
24
|
+
VmRLWEIyZ0k3WkhzCkY1TmtQZ2dzbFRFckdGbVdBdElpdXI3dTk0M1JWcUhP
|
25
|
+
c3lvSXN5MDY1RjlmQ3RyeWtrQSsyMmVsdlREaGE0SXoKUlVDdnVoUTNrbGF0
|
26
|
+
WWs0akYrY0d0MWpOT05OVmRMT2l5MGJNeW52Y003aG9WUTJBb213R3MrY0VP
|
27
|
+
V1EvNGRrRApKY05WM3FmekY1UUJjVEQyMzcyWE5NNTNiMjVuWVZRU1gyS0g1
|
28
|
+
RkY3QmhsS3lvdjMzYk9tMmdBOU0rbVdJdWpXCnFna3l4VmxmcmxFK1pCZ1Yz
|
29
|
+
d1huMUNvamcxTHBUcTM1eU9Bcmd3aW95cnd3bFpaSlI5am9OOXMvbkRrbGZy
|
30
|
+
NUEKK2R5RVRqRmM2Y21FUFdacnQyY0pCUUlEQVFBQm80R0dNSUdETUFrR0Ex
|
31
|
+
VWRFd1FDTUFBd0N3WURWUjBQQkFRRApBZ1N3TUIwR0ExVWREZ1FXQkJTVytX
|
32
|
+
RDdobjFzd0oxQTdpOHRidUZldU5DSkNqQWtCZ05WSFJFRUhUQWJnUmx5CmMz
|
33
|
+
QmxZeTFrWlhaQVoyOXZaMnhsWjI5MWNITXVZMjl0TUNRR0ExVWRFZ1FkTUJ1
|
34
|
+
QkdYSnpjR1ZqTFdSbGRrQm4KYjI5bmJHVm5iM1Z3Y3k1amIyMHdEUVlKS29a
|
35
|
+
SWh2Y05BUUVGQlFBRGdnRUJBSDI3akFaOHNEN3ZuWHVwajZZKwpCYUJkZkh0
|
36
|
+
Q2tGYXNsTEowYUt1TURJVlh3WXVLZnFvVzE1Y1pQRExtU0lFQnVRRk0zbHc2
|
37
|
+
ZC9oRUVMNFVvMmpaCkZ2dG1INU94aWZQRHpGeVV0Q0w0eXA2cWdOZS9YZjZz
|
38
|
+
RHNSZzZGbUtjcGdxQ3dOT21zVmlhZjBMUFNVSC9HWVEKM1Rlb3o4UUNhRGJE
|
39
|
+
N0FLc2ZmVDdlRHJuYkhuS3dlTzFYZGVtUkpDOTh1L3lZeG5Hek1TV0tFc24w
|
40
|
+
OWV0QmxaOQo3SDY3azVaM3VmNmNmTFpnVG9XTDZ6U2h6WlkzTnVuNXI3M1lz
|
41
|
+
TmYyL1FaT2U0VVplNHZmR3ZuNmJhdzUzeXM5CjF5SEMxQWNTWXB2aTJkQWJP
|
42
|
+
aUhUNWlRRitrcm00d3NlOEtjdFhnVE5uak1zSEVvR0t1bEpTMi9zWmw5MGpj
|
43
|
+
Q3oKbXVBPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
44
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
14
45
|
dependencies:
|
15
46
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
47
|
+
name: rspec-support
|
17
48
|
requirement: !ruby/object:Gem::Requirement
|
18
49
|
requirements:
|
19
|
-
- -
|
50
|
+
- - '='
|
20
51
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
-
type: :
|
52
|
+
version: 3.0.0.beta1
|
53
|
+
type: :runtime
|
23
54
|
prerelease: false
|
24
55
|
version_requirements: !ruby/object:Gem::Requirement
|
25
56
|
requirements:
|
26
|
-
- -
|
57
|
+
- - '='
|
27
58
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
59
|
+
version: 3.0.0.beta1
|
29
60
|
- !ruby/object:Gem::Dependency
|
30
|
-
name:
|
61
|
+
name: rake
|
31
62
|
requirement: !ruby/object:Gem::Requirement
|
32
63
|
requirements:
|
33
|
-
- -
|
64
|
+
- - ~>
|
34
65
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
66
|
+
version: 10.0.0
|
36
67
|
type: :development
|
37
68
|
prerelease: false
|
38
69
|
version_requirements: !ruby/object:Gem::Requirement
|
39
70
|
requirements:
|
40
|
-
- -
|
71
|
+
- - ~>
|
41
72
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
73
|
+
version: 10.0.0
|
43
74
|
- !ruby/object:Gem::Dependency
|
44
|
-
name:
|
75
|
+
name: cucumber
|
45
76
|
requirement: !ruby/object:Gem::Requirement
|
46
77
|
requirements:
|
47
|
-
- -
|
78
|
+
- - ~>
|
48
79
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
80
|
+
version: 1.1.9
|
50
81
|
type: :development
|
51
82
|
prerelease: false
|
52
83
|
version_requirements: !ruby/object:Gem::Requirement
|
53
84
|
requirements:
|
54
|
-
- -
|
85
|
+
- - ~>
|
55
86
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
87
|
+
version: 1.1.9
|
57
88
|
- !ruby/object:Gem::Dependency
|
58
89
|
name: aruba
|
59
90
|
requirement: !ruby/object:Gem::Requirement
|
60
91
|
requirements:
|
61
|
-
- -
|
92
|
+
- - ~>
|
62
93
|
- !ruby/object:Gem::Version
|
63
94
|
version: '0.5'
|
64
95
|
type: :development
|
65
96
|
prerelease: false
|
66
97
|
version_requirements: !ruby/object:Gem::Requirement
|
67
98
|
requirements:
|
68
|
-
- -
|
99
|
+
- - ~>
|
69
100
|
- !ruby/object:Gem::Version
|
70
101
|
version: '0.5'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: ZenTest
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '4.6'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - "~>"
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '4.6'
|
85
102
|
- !ruby/object:Gem::Dependency
|
86
103
|
name: nokogiri
|
87
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -97,82 +114,127 @@ dependencies:
|
|
97
114
|
- !ruby/object:Gem::Version
|
98
115
|
version: 1.5.2
|
99
116
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
117
|
+
name: coderay
|
101
118
|
requirement: !ruby/object:Gem::Requirement
|
102
119
|
requirements:
|
103
|
-
- -
|
120
|
+
- - ~>
|
104
121
|
- !ruby/object:Gem::Version
|
105
|
-
version: 1.0.
|
122
|
+
version: 1.0.9
|
106
123
|
type: :development
|
107
124
|
prerelease: false
|
108
125
|
version_requirements: !ruby/object:Gem::Requirement
|
109
126
|
requirements:
|
110
|
-
- -
|
127
|
+
- - ~>
|
111
128
|
- !ruby/object:Gem::Version
|
112
|
-
version: 1.0.
|
129
|
+
version: 1.0.9
|
113
130
|
- !ruby/object:Gem::Dependency
|
114
131
|
name: mocha
|
115
132
|
requirement: !ruby/object:Gem::Requirement
|
116
133
|
requirements:
|
117
|
-
- -
|
134
|
+
- - ~>
|
118
135
|
- !ruby/object:Gem::Version
|
119
136
|
version: 0.13.0
|
120
137
|
type: :development
|
121
138
|
prerelease: false
|
122
139
|
version_requirements: !ruby/object:Gem::Requirement
|
123
140
|
requirements:
|
124
|
-
- -
|
141
|
+
- - ~>
|
125
142
|
- !ruby/object:Gem::Version
|
126
143
|
version: 0.13.0
|
127
144
|
- !ruby/object:Gem::Dependency
|
128
145
|
name: rr
|
129
146
|
requirement: !ruby/object:Gem::Requirement
|
130
147
|
requirements:
|
131
|
-
- -
|
148
|
+
- - ~>
|
132
149
|
- !ruby/object:Gem::Version
|
133
150
|
version: 1.0.4
|
134
151
|
type: :development
|
135
152
|
prerelease: false
|
136
153
|
version_requirements: !ruby/object:Gem::Requirement
|
137
154
|
requirements:
|
138
|
-
- -
|
155
|
+
- - ~>
|
139
156
|
- !ruby/object:Gem::Version
|
140
157
|
version: 1.0.4
|
141
158
|
- !ruby/object:Gem::Dependency
|
142
159
|
name: flexmock
|
143
160
|
requirement: !ruby/object:Gem::Requirement
|
144
161
|
requirements:
|
145
|
-
- -
|
162
|
+
- - ~>
|
146
163
|
- !ruby/object:Gem::Version
|
147
164
|
version: 0.9.0
|
148
165
|
type: :development
|
149
166
|
prerelease: false
|
150
167
|
version_requirements: !ruby/object:Gem::Requirement
|
151
168
|
requirements:
|
152
|
-
- -
|
169
|
+
- - ~>
|
153
170
|
- !ruby/object:Gem::Version
|
154
171
|
version: 0.9.0
|
155
172
|
description: BDD for Ruby. RSpec runner and example groups.
|
156
|
-
email: rspec
|
173
|
+
email: rspec@googlegroups.com
|
157
174
|
executables:
|
158
|
-
- autospec
|
159
175
|
- rspec
|
160
176
|
extensions: []
|
161
177
|
extra_rdoc_files: []
|
162
178
|
files:
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
166
|
-
-
|
179
|
+
- lib/rspec/autorun.rb
|
180
|
+
- lib/rspec/core.rb
|
181
|
+
- lib/rspec/core/backport_random.rb
|
182
|
+
- lib/rspec/core/backtrace_formatter.rb
|
183
|
+
- lib/rspec/core/command_line.rb
|
184
|
+
- lib/rspec/core/configuration.rb
|
185
|
+
- lib/rspec/core/configuration_options.rb
|
186
|
+
- lib/rspec/core/drb_command_line.rb
|
187
|
+
- lib/rspec/core/drb_options.rb
|
188
|
+
- lib/rspec/core/dsl.rb
|
189
|
+
- lib/rspec/core/example.rb
|
190
|
+
- lib/rspec/core/example_group.rb
|
191
|
+
- lib/rspec/core/filter_manager.rb
|
192
|
+
- lib/rspec/core/flat_map.rb
|
193
|
+
- lib/rspec/core/formatters.rb
|
194
|
+
- lib/rspec/core/formatters/base_formatter.rb
|
195
|
+
- lib/rspec/core/formatters/base_text_formatter.rb
|
196
|
+
- lib/rspec/core/formatters/deprecation_formatter.rb
|
197
|
+
- lib/rspec/core/formatters/documentation_formatter.rb
|
198
|
+
- lib/rspec/core/formatters/helpers.rb
|
199
|
+
- lib/rspec/core/formatters/html_formatter.rb
|
200
|
+
- lib/rspec/core/formatters/html_printer.rb
|
201
|
+
- lib/rspec/core/formatters/json_formatter.rb
|
202
|
+
- lib/rspec/core/formatters/progress_formatter.rb
|
203
|
+
- lib/rspec/core/formatters/snippet_extractor.rb
|
204
|
+
- lib/rspec/core/hooks.rb
|
205
|
+
- lib/rspec/core/memoized_helpers.rb
|
206
|
+
- lib/rspec/core/metadata.rb
|
207
|
+
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
208
|
+
- lib/rspec/core/mocking/with_flexmock.rb
|
209
|
+
- lib/rspec/core/mocking/with_mocha.rb
|
210
|
+
- lib/rspec/core/mocking/with_rr.rb
|
211
|
+
- lib/rspec/core/mocking/with_rspec.rb
|
212
|
+
- lib/rspec/core/option_parser.rb
|
213
|
+
- lib/rspec/core/ordering.rb
|
214
|
+
- lib/rspec/core/pending.rb
|
215
|
+
- lib/rspec/core/project_initializer.rb
|
216
|
+
- lib/rspec/core/rake_task.rb
|
217
|
+
- lib/rspec/core/reporter.rb
|
218
|
+
- lib/rspec/core/ruby_project.rb
|
219
|
+
- lib/rspec/core/runner.rb
|
220
|
+
- lib/rspec/core/shared_context.rb
|
221
|
+
- lib/rspec/core/shared_example_group.rb
|
222
|
+
- lib/rspec/core/shared_example_group/collection.rb
|
223
|
+
- lib/rspec/core/version.rb
|
224
|
+
- lib/rspec/core/warnings.rb
|
225
|
+
- lib/rspec/core/world.rb
|
167
226
|
- README.md
|
168
|
-
-
|
169
|
-
-
|
170
|
-
-
|
227
|
+
- License.txt
|
228
|
+
- Changelog.md
|
229
|
+
- .yardopts
|
230
|
+
- .document
|
171
231
|
- features/README.md
|
172
232
|
- features/Upgrade.md
|
173
233
|
- features/command_line/README.md
|
234
|
+
- features/command_line/dry_run.feature
|
174
235
|
- features/command_line/example_name_option.feature
|
175
236
|
- features/command_line/exit_status.feature
|
237
|
+
- features/command_line/fail_fast.feature
|
176
238
|
- features/command_line/format_option.feature
|
177
239
|
- features/command_line/init.feature
|
178
240
|
- features/command_line/line_number_appended_to_path.feature
|
@@ -180,12 +242,13 @@ files:
|
|
180
242
|
- features/command_line/order.feature
|
181
243
|
- features/command_line/pattern_option.feature
|
182
244
|
- features/command_line/rake_task.feature
|
245
|
+
- features/command_line/randomization.feature
|
183
246
|
- features/command_line/require_option.feature
|
184
247
|
- features/command_line/ruby.feature
|
185
248
|
- features/command_line/tag.feature
|
186
249
|
- features/command_line/warnings_option.feature
|
187
250
|
- features/configuration/alias_example_to.feature
|
188
|
-
- features/configuration/
|
251
|
+
- features/configuration/backtrace_exclusion_patterns.feature
|
189
252
|
- features/configuration/custom_settings.feature
|
190
253
|
- features/configuration/default_path.feature
|
191
254
|
- features/configuration/deprecation_stream.feature
|
@@ -193,12 +256,12 @@ files:
|
|
193
256
|
- features/configuration/failure_exit_code.feature
|
194
257
|
- features/configuration/order_and_seed.feature
|
195
258
|
- features/configuration/output_stream.feature
|
259
|
+
- features/configuration/overriding_global_ordering.feature
|
196
260
|
- features/configuration/pattern.feature
|
197
261
|
- features/configuration/profile.feature
|
198
262
|
- features/configuration/read_options_from_file.feature
|
199
263
|
- features/configuration/run_all_when_everything_filtered.feature
|
200
264
|
- features/configuration/show_failures_in_pending_blocks.feature
|
201
|
-
- features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature
|
202
265
|
- features/example_groups/basic_structure.feature
|
203
266
|
- features/example_groups/shared_context.feature
|
204
267
|
- features/example_groups/shared_examples.feature
|
@@ -227,82 +290,18 @@ files:
|
|
227
290
|
- features/pending/pending_examples.feature
|
228
291
|
- features/spec_files/arbitrary_file_suffix.feature
|
229
292
|
- features/step_definitions/additional_cli_steps.rb
|
230
|
-
- features/subject/attribute_of_subject.feature
|
231
293
|
- features/subject/explicit_subject.feature
|
294
|
+
- features/subject/implicit_receiver.feature
|
232
295
|
- features/subject/implicit_subject.feature
|
233
|
-
- features/subject/one_liner_syntax.feature
|
234
296
|
- features/support/env.rb
|
297
|
+
- features/support/require_expect_syntax_in_aruba_specs.rb
|
235
298
|
- features/support/rubinius.rb
|
236
|
-
- lib/autotest/discover.rb
|
237
|
-
- lib/autotest/rspec2.rb
|
238
|
-
- lib/rspec/autorun.rb
|
239
|
-
- lib/rspec/core.rb
|
240
|
-
- lib/rspec/core/backtrace_cleaner.rb
|
241
|
-
- lib/rspec/core/backward_compatibility.rb
|
242
|
-
- lib/rspec/core/caller_filter.rb
|
243
|
-
- lib/rspec/core/command_line.rb
|
244
|
-
- lib/rspec/core/configuration.rb
|
245
|
-
- lib/rspec/core/configuration_options.rb
|
246
|
-
- lib/rspec/core/deprecated_mutable_array_proxy.rb
|
247
|
-
- lib/rspec/core/deprecation.rb
|
248
|
-
- lib/rspec/core/drb_command_line.rb
|
249
|
-
- lib/rspec/core/drb_options.rb
|
250
|
-
- lib/rspec/core/dsl.rb
|
251
|
-
- lib/rspec/core/example.rb
|
252
|
-
- lib/rspec/core/example_group.rb
|
253
|
-
- lib/rspec/core/extensions/instance_eval_with_args.rb
|
254
|
-
- lib/rspec/core/extensions/kernel.rb
|
255
|
-
- lib/rspec/core/extensions/module_eval_with_args.rb
|
256
|
-
- lib/rspec/core/extensions/ordered.rb
|
257
|
-
- lib/rspec/core/filter_manager.rb
|
258
|
-
- lib/rspec/core/formatters.rb
|
259
|
-
- lib/rspec/core/formatters/base_formatter.rb
|
260
|
-
- lib/rspec/core/formatters/base_text_formatter.rb
|
261
|
-
- lib/rspec/core/formatters/console_codes.rb
|
262
|
-
- lib/rspec/core/formatters/deprecation_formatter.rb
|
263
|
-
- lib/rspec/core/formatters/documentation_formatter.rb
|
264
|
-
- lib/rspec/core/formatters/helpers.rb
|
265
|
-
- lib/rspec/core/formatters/html_formatter.rb
|
266
|
-
- lib/rspec/core/formatters/html_printer.rb
|
267
|
-
- lib/rspec/core/formatters/json_formatter.rb
|
268
|
-
- lib/rspec/core/formatters/progress_formatter.rb
|
269
|
-
- lib/rspec/core/formatters/snippet_extractor.rb
|
270
|
-
- lib/rspec/core/formatters/text_mate_formatter.rb
|
271
|
-
- lib/rspec/core/hooks.rb
|
272
|
-
- lib/rspec/core/memoized_helpers.rb
|
273
|
-
- lib/rspec/core/metadata.rb
|
274
|
-
- lib/rspec/core/metadata_hash_builder.rb
|
275
|
-
- lib/rspec/core/minitest_assertions_adapter.rb
|
276
|
-
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
277
|
-
- lib/rspec/core/mocking/with_flexmock.rb
|
278
|
-
- lib/rspec/core/mocking/with_mocha.rb
|
279
|
-
- lib/rspec/core/mocking/with_rr.rb
|
280
|
-
- lib/rspec/core/mocking/with_rspec.rb
|
281
|
-
- lib/rspec/core/option_parser.rb
|
282
|
-
- lib/rspec/core/pending.rb
|
283
|
-
- lib/rspec/core/project_initializer.rb
|
284
|
-
- lib/rspec/core/rake_task.rb
|
285
|
-
- lib/rspec/core/reporter.rb
|
286
|
-
- lib/rspec/core/ruby_project.rb
|
287
|
-
- lib/rspec/core/runner.rb
|
288
|
-
- lib/rspec/core/shared_context.rb
|
289
|
-
- lib/rspec/core/shared_example_group.rb
|
290
|
-
- lib/rspec/core/shared_example_group/collection.rb
|
291
|
-
- lib/rspec/core/test_unit_assertions_adapter.rb
|
292
|
-
- lib/rspec/core/version.rb
|
293
|
-
- lib/rspec/core/world.rb
|
294
|
-
- spec/autotest/discover_spec.rb
|
295
|
-
- spec/autotest/failed_results_re_spec.rb
|
296
|
-
- spec/autotest/rspec_spec.rb
|
297
299
|
- spec/command_line/order_spec.rb
|
298
|
-
- spec/rspec/core/
|
299
|
-
- spec/rspec/core/caller_filter_spec.rb
|
300
|
+
- spec/rspec/core/backtrace_formatter_spec.rb
|
300
301
|
- spec/rspec/core/command_line_spec.rb
|
301
302
|
- spec/rspec/core/command_line_spec_output.txt
|
302
303
|
- spec/rspec/core/configuration_options_spec.rb
|
303
304
|
- spec/rspec/core/configuration_spec.rb
|
304
|
-
- spec/rspec/core/deprecation_spec.rb
|
305
|
-
- spec/rspec/core/deprecations_spec.rb
|
306
305
|
- spec/rspec/core/drb_command_line_spec.rb
|
307
306
|
- spec/rspec/core/drb_options_spec.rb
|
308
307
|
- spec/rspec/core/dsl_spec.rb
|
@@ -311,27 +310,31 @@ files:
|
|
311
310
|
- spec/rspec/core/filter_manager_spec.rb
|
312
311
|
- spec/rspec/core/formatters/base_formatter_spec.rb
|
313
312
|
- spec/rspec/core/formatters/base_text_formatter_spec.rb
|
314
|
-
- spec/rspec/core/formatters/console_codes_spec.rb
|
315
313
|
- spec/rspec/core/formatters/deprecation_formatter_spec.rb
|
316
314
|
- spec/rspec/core/formatters/documentation_formatter_spec.rb
|
317
315
|
- spec/rspec/core/formatters/helpers_spec.rb
|
318
|
-
- spec/rspec/core/formatters/html_formatted.html
|
316
|
+
- spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
|
317
|
+
- spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html
|
318
|
+
- spec/rspec/core/formatters/html_formatted-1.8.7.html
|
319
|
+
- spec/rspec/core/formatters/html_formatted-1.9.2.html
|
320
|
+
- spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html
|
321
|
+
- spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html
|
322
|
+
- spec/rspec/core/formatters/html_formatted-1.9.3.html
|
323
|
+
- spec/rspec/core/formatters/html_formatted-2.0.0.html
|
319
324
|
- spec/rspec/core/formatters/html_formatter_spec.rb
|
320
325
|
- spec/rspec/core/formatters/json_formatter_spec.rb
|
321
326
|
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
322
327
|
- spec/rspec/core/formatters/snippet_extractor_spec.rb
|
323
|
-
- spec/rspec/core/formatters/text_mate_formatted.html
|
324
|
-
- spec/rspec/core/formatters/text_mate_formatter_spec.rb
|
325
328
|
- spec/rspec/core/hooks_filtering_spec.rb
|
326
329
|
- spec/rspec/core/hooks_spec.rb
|
327
|
-
- spec/rspec/core/kernel_extensions_spec.rb
|
328
330
|
- spec/rspec/core/memoized_helpers_spec.rb
|
329
331
|
- spec/rspec/core/metadata_spec.rb
|
330
332
|
- spec/rspec/core/option_parser_spec.rb
|
333
|
+
- spec/rspec/core/ordering_spec.rb
|
331
334
|
- spec/rspec/core/pending_example_spec.rb
|
332
|
-
- spec/rspec/core/pending_spec.rb
|
333
335
|
- spec/rspec/core/project_initializer_spec.rb
|
334
336
|
- spec/rspec/core/rake_task_spec.rb
|
337
|
+
- spec/rspec/core/random_spec.rb
|
335
338
|
- spec/rspec/core/reporter_spec.rb
|
336
339
|
- spec/rspec/core/resources/a_bar.rb
|
337
340
|
- spec/rspec/core/resources/a_foo.rb
|
@@ -345,6 +348,7 @@ files:
|
|
345
348
|
- spec/rspec/core/shared_context_spec.rb
|
346
349
|
- spec/rspec/core/shared_example_group/collection_spec.rb
|
347
350
|
- spec/rspec/core/shared_example_group_spec.rb
|
351
|
+
- spec/rspec/core/warnings_spec.rb
|
348
352
|
- spec/rspec/core/world_spec.rb
|
349
353
|
- spec/rspec/core_spec.rb
|
350
354
|
- spec/spec_helper.rb
|
@@ -358,40 +362,42 @@ files:
|
|
358
362
|
- spec/support/mathn_integration_support.rb
|
359
363
|
- spec/support/sandboxed_mock_space.rb
|
360
364
|
- spec/support/shared_example_groups.rb
|
361
|
-
- spec/support/silence_dsl_deprecations.rb
|
362
365
|
- spec/support/spec_files.rb
|
366
|
+
- spec/support/stderr_splitter.rb
|
367
|
+
- exe/rspec
|
363
368
|
homepage: http://github.com/rspec/rspec-core
|
364
369
|
licenses:
|
365
370
|
- MIT
|
366
371
|
metadata: {}
|
367
372
|
post_install_message:
|
368
373
|
rdoc_options:
|
369
|
-
-
|
374
|
+
- --charset=UTF-8
|
370
375
|
require_paths:
|
371
376
|
- lib
|
372
377
|
required_ruby_version: !ruby/object:Gem::Requirement
|
373
378
|
requirements:
|
374
|
-
- -
|
379
|
+
- - ! '>='
|
375
380
|
- !ruby/object:Gem::Version
|
376
|
-
version:
|
381
|
+
version: 1.8.7
|
377
382
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
378
383
|
requirements:
|
379
|
-
- -
|
384
|
+
- - ! '>'
|
380
385
|
- !ruby/object:Gem::Version
|
381
|
-
version:
|
386
|
+
version: 1.3.1
|
382
387
|
requirements: []
|
383
388
|
rubyforge_project: rspec
|
384
|
-
rubygems_version: 2.
|
389
|
+
rubygems_version: 2.0.7
|
385
390
|
signing_key:
|
386
391
|
specification_version: 4
|
387
|
-
summary: rspec-core-
|
392
|
+
summary: rspec-core-3.0.0.beta1
|
388
393
|
test_files:
|
389
|
-
- features/Autotest.md
|
390
394
|
- features/README.md
|
391
395
|
- features/Upgrade.md
|
392
396
|
- features/command_line/README.md
|
397
|
+
- features/command_line/dry_run.feature
|
393
398
|
- features/command_line/example_name_option.feature
|
394
399
|
- features/command_line/exit_status.feature
|
400
|
+
- features/command_line/fail_fast.feature
|
395
401
|
- features/command_line/format_option.feature
|
396
402
|
- features/command_line/init.feature
|
397
403
|
- features/command_line/line_number_appended_to_path.feature
|
@@ -399,12 +405,13 @@ test_files:
|
|
399
405
|
- features/command_line/order.feature
|
400
406
|
- features/command_line/pattern_option.feature
|
401
407
|
- features/command_line/rake_task.feature
|
408
|
+
- features/command_line/randomization.feature
|
402
409
|
- features/command_line/require_option.feature
|
403
410
|
- features/command_line/ruby.feature
|
404
411
|
- features/command_line/tag.feature
|
405
412
|
- features/command_line/warnings_option.feature
|
406
413
|
- features/configuration/alias_example_to.feature
|
407
|
-
- features/configuration/
|
414
|
+
- features/configuration/backtrace_exclusion_patterns.feature
|
408
415
|
- features/configuration/custom_settings.feature
|
409
416
|
- features/configuration/default_path.feature
|
410
417
|
- features/configuration/deprecation_stream.feature
|
@@ -412,12 +419,12 @@ test_files:
|
|
412
419
|
- features/configuration/failure_exit_code.feature
|
413
420
|
- features/configuration/order_and_seed.feature
|
414
421
|
- features/configuration/output_stream.feature
|
422
|
+
- features/configuration/overriding_global_ordering.feature
|
415
423
|
- features/configuration/pattern.feature
|
416
424
|
- features/configuration/profile.feature
|
417
425
|
- features/configuration/read_options_from_file.feature
|
418
426
|
- features/configuration/run_all_when_everything_filtered.feature
|
419
427
|
- features/configuration/show_failures_in_pending_blocks.feature
|
420
|
-
- features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature
|
421
428
|
- features/example_groups/basic_structure.feature
|
422
429
|
- features/example_groups/shared_context.feature
|
423
430
|
- features/example_groups/shared_examples.feature
|
@@ -446,24 +453,18 @@ test_files:
|
|
446
453
|
- features/pending/pending_examples.feature
|
447
454
|
- features/spec_files/arbitrary_file_suffix.feature
|
448
455
|
- features/step_definitions/additional_cli_steps.rb
|
449
|
-
- features/subject/attribute_of_subject.feature
|
450
456
|
- features/subject/explicit_subject.feature
|
457
|
+
- features/subject/implicit_receiver.feature
|
451
458
|
- features/subject/implicit_subject.feature
|
452
|
-
- features/subject/one_liner_syntax.feature
|
453
459
|
- features/support/env.rb
|
460
|
+
- features/support/require_expect_syntax_in_aruba_specs.rb
|
454
461
|
- features/support/rubinius.rb
|
455
|
-
- spec/autotest/discover_spec.rb
|
456
|
-
- spec/autotest/failed_results_re_spec.rb
|
457
|
-
- spec/autotest/rspec_spec.rb
|
458
462
|
- spec/command_line/order_spec.rb
|
459
|
-
- spec/rspec/core/
|
460
|
-
- spec/rspec/core/caller_filter_spec.rb
|
463
|
+
- spec/rspec/core/backtrace_formatter_spec.rb
|
461
464
|
- spec/rspec/core/command_line_spec.rb
|
462
465
|
- spec/rspec/core/command_line_spec_output.txt
|
463
466
|
- spec/rspec/core/configuration_options_spec.rb
|
464
467
|
- spec/rspec/core/configuration_spec.rb
|
465
|
-
- spec/rspec/core/deprecation_spec.rb
|
466
|
-
- spec/rspec/core/deprecations_spec.rb
|
467
468
|
- spec/rspec/core/drb_command_line_spec.rb
|
468
469
|
- spec/rspec/core/drb_options_spec.rb
|
469
470
|
- spec/rspec/core/dsl_spec.rb
|
@@ -472,27 +473,31 @@ test_files:
|
|
472
473
|
- spec/rspec/core/filter_manager_spec.rb
|
473
474
|
- spec/rspec/core/formatters/base_formatter_spec.rb
|
474
475
|
- spec/rspec/core/formatters/base_text_formatter_spec.rb
|
475
|
-
- spec/rspec/core/formatters/console_codes_spec.rb
|
476
476
|
- spec/rspec/core/formatters/deprecation_formatter_spec.rb
|
477
477
|
- spec/rspec/core/formatters/documentation_formatter_spec.rb
|
478
478
|
- spec/rspec/core/formatters/helpers_spec.rb
|
479
|
-
- spec/rspec/core/formatters/html_formatted.html
|
479
|
+
- spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
|
480
|
+
- spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html
|
481
|
+
- spec/rspec/core/formatters/html_formatted-1.8.7.html
|
482
|
+
- spec/rspec/core/formatters/html_formatted-1.9.2.html
|
483
|
+
- spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html
|
484
|
+
- spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html
|
485
|
+
- spec/rspec/core/formatters/html_formatted-1.9.3.html
|
486
|
+
- spec/rspec/core/formatters/html_formatted-2.0.0.html
|
480
487
|
- spec/rspec/core/formatters/html_formatter_spec.rb
|
481
488
|
- spec/rspec/core/formatters/json_formatter_spec.rb
|
482
489
|
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
483
490
|
- spec/rspec/core/formatters/snippet_extractor_spec.rb
|
484
|
-
- spec/rspec/core/formatters/text_mate_formatted.html
|
485
|
-
- spec/rspec/core/formatters/text_mate_formatter_spec.rb
|
486
491
|
- spec/rspec/core/hooks_filtering_spec.rb
|
487
492
|
- spec/rspec/core/hooks_spec.rb
|
488
|
-
- spec/rspec/core/kernel_extensions_spec.rb
|
489
493
|
- spec/rspec/core/memoized_helpers_spec.rb
|
490
494
|
- spec/rspec/core/metadata_spec.rb
|
491
495
|
- spec/rspec/core/option_parser_spec.rb
|
496
|
+
- spec/rspec/core/ordering_spec.rb
|
492
497
|
- spec/rspec/core/pending_example_spec.rb
|
493
|
-
- spec/rspec/core/pending_spec.rb
|
494
498
|
- spec/rspec/core/project_initializer_spec.rb
|
495
499
|
- spec/rspec/core/rake_task_spec.rb
|
500
|
+
- spec/rspec/core/random_spec.rb
|
496
501
|
- spec/rspec/core/reporter_spec.rb
|
497
502
|
- spec/rspec/core/resources/a_bar.rb
|
498
503
|
- spec/rspec/core/resources/a_foo.rb
|
@@ -506,6 +511,7 @@ test_files:
|
|
506
511
|
- spec/rspec/core/shared_context_spec.rb
|
507
512
|
- spec/rspec/core/shared_example_group/collection_spec.rb
|
508
513
|
- spec/rspec/core/shared_example_group_spec.rb
|
514
|
+
- spec/rspec/core/warnings_spec.rb
|
509
515
|
- spec/rspec/core/world_spec.rb
|
510
516
|
- spec/rspec/core_spec.rb
|
511
517
|
- spec/spec_helper.rb
|
@@ -519,6 +525,6 @@ test_files:
|
|
519
525
|
- spec/support/mathn_integration_support.rb
|
520
526
|
- spec/support/sandboxed_mock_space.rb
|
521
527
|
- spec/support/shared_example_groups.rb
|
522
|
-
- spec/support/silence_dsl_deprecations.rb
|
523
528
|
- spec/support/spec_files.rb
|
529
|
+
- spec/support/stderr_splitter.rb
|
524
530
|
has_rdoc:
|