rspec-core 3.0.0.rc1 → 3.0.0
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.
- checksums.yaml +14 -6
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +28 -1
- data/lib/rspec/core.rb +1 -0
- data/lib/rspec/core/backport_random.rb +36 -34
- data/lib/rspec/core/backtrace_formatter.rb +9 -7
- data/lib/rspec/core/configuration.rb +2 -0
- data/lib/rspec/core/example_group.rb +1 -1
- data/lib/rspec/core/formatters.rb +30 -18
- data/lib/rspec/core/formatters/base_text_formatter.rb +4 -1
- data/lib/rspec/core/metadata.rb +9 -6
- data/lib/rspec/core/metadata_filter.rb +3 -3
- data/lib/rspec/core/project_initializer.rb +26 -23
- data/lib/rspec/core/project_initializer/{dot_rspec → .rspec} +0 -0
- data/lib/rspec/core/project_initializer/{spec_helper.rb → spec/spec_helper.rb} +0 -5
- data/lib/rspec/core/version.rb +1 -1
- metadata +66 -129
- metadata.gz.sig +1 -3
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjlhNTVjYmI4MjQwNDYwMWViMjUzNDBlZTg0OWE3MmIxMTMwMTNmYw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YmYxZTAyNzhjNTgzNTRjMzk1OWQyMWU5NzQ5MDNmMWVlNTA0ZTRhYw==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTI1OTczM2M4NDgxNjRiN2YyNDBkZDdhM2FiZmVhNGFjMmQ2NjA4OGMwMWNk
|
10
|
+
ODkwM2ZjZWI5ZmFkOTlmY2QzZGFmOTA3NDIwMjcxOGRjMjk5Mzg3YWJmNjE2
|
11
|
+
YzdkNTc2Y2IzMmQ0YzY0MmNmOTk5ZGNmNzZlNDc4ZGJmZWQ3YTU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NGJjMDgwMDZlNzQ0YTI3YmZkYjY5OGVjNDc4ZTFmYmUxMGYwMGFlYWY0MDlm
|
14
|
+
Mjg1ZGRkNTMzZGI2MTNhYWIxNmFlOGRlYThkYmZhOGM5N2FjNmQwM2Y2OTdm
|
15
|
+
ZWNlZTg3NmZhOTA3NWZjODRmNmQwMTA5NDkzNTM5MmMxMjY3YTM=
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
### 3.0.0 / 2014-06-01
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.rc1...v3.0.0)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Fix `BaseTextFormatter` so that it does not re-close a closed output
|
7
|
+
stream. (Myron Marston)
|
8
|
+
* Fix regression in metadata that caused the metadata hash of a top-level
|
9
|
+
example group to have a `:parent_example_group` key even though it has
|
10
|
+
no parent example group. (Myron Marston)
|
11
|
+
|
12
|
+
Enhancements:
|
13
|
+
|
14
|
+
* Alter the default `spec_helper.rb` to no longer recommend
|
15
|
+
`config.full_backtrace = true` see #1536 for discussion. (Jon Rowe)
|
16
|
+
|
1
17
|
### 3.0.0.rc1 / 2014-05-18
|
2
18
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.beta2...v3.0.0.rc1)
|
3
19
|
|
@@ -249,7 +265,7 @@ Bug Fixes:
|
|
249
265
|
or `default_path`. (Matijs van Zuijlen)
|
250
266
|
|
251
267
|
### 3.0.0.beta1 / 2013-11-07
|
252
|
-
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0
|
268
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0...v3.0.0.beta1)
|
253
269
|
|
254
270
|
Breaking Changes for 3.0.0:
|
255
271
|
|
@@ -320,6 +336,17 @@ Deprecations:
|
|
320
336
|
longer has an affect now that the behavior it enabled is always
|
321
337
|
enabled. (Myron Marston)
|
322
338
|
|
339
|
+
### 2.99.0 / 2014-06-01
|
340
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.rc1...v2.99.0)
|
341
|
+
|
342
|
+
Bug Fixes:
|
343
|
+
|
344
|
+
* Fix `BaseTextFormatter` so that it does not re-close a closed output
|
345
|
+
stream. (Myron Marston)
|
346
|
+
* Use `RSpec::Configuration#backtrace_exclusion_patterns` rather than the
|
347
|
+
deprecated `RSpec::Configuration#backtrace_clean_patterns` when mocking
|
348
|
+
with rr. (David Dollar)
|
349
|
+
|
323
350
|
### 2.99.0.rc1 / 2014-05-18
|
324
351
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.beta2...v2.99.0.rc1)
|
325
352
|
|
data/lib/rspec/core.rb
CHANGED
@@ -34,6 +34,7 @@ RSpec::Support.define_optimized_require_for_rspec(:core) { |f| require_relative
|
|
34
34
|
example_group
|
35
35
|
].each { |name| RSpec::Support.require_rspec_core name }
|
36
36
|
|
37
|
+
# Namespace for all core RSpec code.
|
37
38
|
module RSpec
|
38
39
|
autoload :SharedContext, 'rspec/core/shared_context'
|
39
40
|
|
@@ -1,40 +1,42 @@
|
|
1
|
-
# This code was (mostly) ported from the backports gem found at
|
2
|
-
# https://github.com/marcandre/backports which is subject to this license:
|
3
|
-
#
|
4
|
-
# =============================================================================
|
5
|
-
#
|
6
|
-
# Copyright (c) 2009 Marc-Andre Lafortune
|
7
|
-
#
|
8
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
9
|
-
# a copy of this software and associated documentation files (the
|
10
|
-
# "Software"), to deal in the Software without restriction, including
|
11
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
12
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
14
|
-
# the following conditions:
|
15
|
-
#
|
16
|
-
# The above copyright notice and this permission notice shall be
|
17
|
-
# included in all copies or substantial portions of the Software.
|
18
|
-
#
|
19
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
-
#
|
27
|
-
# =============================================================================
|
28
|
-
#
|
29
|
-
# The goal is to provide a random number generator in Ruby versions that do
|
30
|
-
# not have one. This was added to support localization of random spec ordering.
|
31
|
-
#
|
32
|
-
# These were in multiple files in backports, but merged into one here.
|
33
|
-
|
34
1
|
module RSpec
|
35
2
|
module Core
|
36
|
-
# Methods used internally by the backports.
|
37
3
|
# @private
|
4
|
+
#
|
5
|
+
# Methods used internally by the backports.
|
6
|
+
#
|
7
|
+
# This code was (mostly) ported from the backports gem found at
|
8
|
+
# https://github.com/marcandre/backports which is subject to this license:
|
9
|
+
#
|
10
|
+
# =========================================================================
|
11
|
+
#
|
12
|
+
# Copyright (c) 2009 Marc-Andre Lafortune
|
13
|
+
#
|
14
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
15
|
+
# a copy of this software and associated documentation files (the
|
16
|
+
# "Software"), to deal in the Software without restriction, including
|
17
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
18
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
19
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
20
|
+
# the following conditions:
|
21
|
+
#
|
22
|
+
# The above copyright notice and this permission notice shall be
|
23
|
+
# included in all copies or substantial portions of the Software.
|
24
|
+
#
|
25
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
26
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
27
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
28
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
29
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
30
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
31
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
32
|
+
#
|
33
|
+
# =========================================================================
|
34
|
+
#
|
35
|
+
# The goal is to provide a random number generator in Ruby versions that do
|
36
|
+
# not have one. This was added to support localization of random spec
|
37
|
+
# ordering.
|
38
|
+
#
|
39
|
+
# These were in multiple files in backports, but merged into one here.
|
38
40
|
module Backports
|
39
41
|
# Helper method to coerce a value into a specific class.
|
40
42
|
# Raises a TypeError if the coercion fails or the returned value
|
@@ -7,13 +7,15 @@ module RSpec
|
|
7
7
|
|
8
8
|
def initialize
|
9
9
|
@full_backtrace = false
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
|
11
|
+
patterns = [
|
12
|
+
"/lib\d*/ruby/",
|
13
|
+
"org/jruby/",
|
14
|
+
"bin/",
|
15
|
+
"/gems/",
|
16
|
+
].map { |s| Regexp.new(s.gsub("/", File::SEPARATOR)) }
|
17
|
+
|
18
|
+
@system_exclusion_patterns = [Regexp.union(RSpec::CallerFilter::IGNORE_REGEX, *patterns)]
|
17
19
|
@exclusion_patterns = [] + @system_exclusion_patterns
|
18
20
|
@inclusion_patterns = [Regexp.new(Dir.getwd)]
|
19
21
|
end
|
@@ -355,7 +355,7 @@ module RSpec
|
|
355
355
|
args.unshift(description)
|
356
356
|
|
357
357
|
@metadata = Metadata::ExampleGroupHash.create(
|
358
|
-
superclass_metadata
|
358
|
+
superclass_metadata, user_metadata, *args, &example_group_block
|
359
359
|
)
|
360
360
|
|
361
361
|
hooks.register_globals(self, RSpec.configuration.hooks)
|
@@ -28,25 +28,37 @@
|
|
28
28
|
#
|
29
29
|
# The reporter calls every formatter with this protocol:
|
30
30
|
#
|
31
|
-
# *
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# * `
|
35
|
-
#
|
36
|
-
# * `
|
37
|
-
#
|
38
|
-
# * `
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# *
|
42
|
-
#
|
43
|
-
# *
|
44
|
-
#
|
45
|
-
#
|
31
|
+
# * To start
|
32
|
+
# * `start(StartNotification)`
|
33
|
+
# * Once per example group
|
34
|
+
# * `example_group_started(GroupNotification)`
|
35
|
+
# * Once per example
|
36
|
+
# * `example_started(ExampleNotification)`
|
37
|
+
# * One of these per example, depending on outcome
|
38
|
+
# * `example_passed(ExampleNotification)`
|
39
|
+
# * `example_failed(FailedExampleNotification)`
|
40
|
+
# * `example_pending(ExampleNotification)`
|
41
|
+
# * Optionally at any time
|
42
|
+
# * `message(MessageNotification)`
|
43
|
+
# * At the end of the suite
|
44
|
+
# * `stop(ExamplesNotification)`
|
45
|
+
# * `start_dump(NullNotification)`
|
46
|
+
# * `dump_pending(ExamplesNotification)`
|
47
|
+
# * `dump_failures(ExamplesNotification)`
|
48
|
+
# * `dump_summary(SummaryNotification)`
|
49
|
+
# * `seed(SeedNotification)`
|
50
|
+
# * `close(NullNotification)`
|
46
51
|
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
52
|
+
# Only the notifications to which you subscribe your formatter will be called
|
53
|
+
# on your formatter. To subscribe your formatter use:
|
54
|
+
# `RSpec::Core::Formatters#register` e.g.
|
55
|
+
#
|
56
|
+
# `RSpec::Core::Formatters.register FormatterClassName, :example_passed, :example_failed`
|
57
|
+
#
|
58
|
+
# We recommend you implement the methods yourself; for simplicity we provide the
|
59
|
+
# default formatter output via our notification objects but if you prefer you
|
60
|
+
# can subclass `RSpec::Core::Formatters::BaseTextFormatter` and override the
|
61
|
+
# methods you wish to enhance.
|
50
62
|
#
|
51
63
|
# @see RSpec::Core::Formatters::BaseTextFormatter
|
52
64
|
# @see RSpec::Core::Reporter
|
@@ -66,7 +66,10 @@ module RSpec
|
|
66
66
|
#
|
67
67
|
# @param notification [NullNotification]
|
68
68
|
def close(notification)
|
69
|
-
|
69
|
+
return unless IO === output
|
70
|
+
return if output.closed? || output == $stdout
|
71
|
+
|
72
|
+
output.close
|
70
73
|
end
|
71
74
|
|
72
75
|
end
|
data/lib/rspec/core/metadata.rb
CHANGED
@@ -181,8 +181,11 @@ module RSpec
|
|
181
181
|
class ExampleGroupHash < HashPopulator
|
182
182
|
def self.create(parent_group_metadata, user_metadata, *args, &block)
|
183
183
|
group_metadata = hash_with_backwards_compatibility_default_proc
|
184
|
-
|
185
|
-
|
184
|
+
|
185
|
+
if parent_group_metadata
|
186
|
+
group_metadata.update(parent_group_metadata)
|
187
|
+
group_metadata[:parent_example_group] = parent_group_metadata
|
188
|
+
end
|
186
189
|
|
187
190
|
hash = new(group_metadata, user_metadata, args, block)
|
188
191
|
hash.populate
|
@@ -201,7 +204,8 @@ module RSpec
|
|
201
204
|
:replacement => "the example group's hash directly for the " +
|
202
205
|
"computed keys and `:parent_example_group` to access the parent " +
|
203
206
|
"example group metadata")
|
204
|
-
|
207
|
+
group_hash = example_group_selector.call(hash)
|
208
|
+
LegacyExampleGroupHash.new(group_hash) if group_hash
|
205
209
|
when :example_group_block
|
206
210
|
RSpec.deprecate("`metadata[:example_group_block]`",
|
207
211
|
:replacement => "`metadata[:block]`")
|
@@ -226,10 +230,9 @@ module RSpec
|
|
226
230
|
def full_description
|
227
231
|
description = metadata[:description]
|
228
232
|
parent_example_group = metadata[:parent_example_group]
|
229
|
-
|
230
|
-
|
231
|
-
return description unless parent_description
|
233
|
+
return description unless parent_example_group
|
232
234
|
|
235
|
+
parent_description = parent_example_group[:full_description]
|
233
236
|
separator = description_separator(parent_example_group[:description_args].last,
|
234
237
|
metadata[:description_args].first)
|
235
238
|
|
@@ -75,10 +75,10 @@ module RSpec
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def parent_of(metadata)
|
78
|
-
if metadata.
|
79
|
-
metadata[:parent_example_group]
|
80
|
-
else
|
78
|
+
if metadata.key?(:example_group)
|
81
79
|
metadata[:example_group]
|
80
|
+
else
|
81
|
+
metadata[:parent_example_group]
|
82
82
|
end
|
83
83
|
end
|
84
84
|
end
|
@@ -3,40 +3,43 @@ module RSpec
|
|
3
3
|
# @private
|
4
4
|
# Generates conventional files for an rspec project
|
5
5
|
class ProjectInitializer
|
6
|
-
|
7
|
-
create_spec_helper_file
|
8
|
-
create_dot_rspec_file
|
9
|
-
end
|
6
|
+
attr_reader :destination, :stream, :template_path
|
10
7
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
8
|
+
DOT_RSPEC_FILE = '.rspec'
|
9
|
+
SPEC_HELPER_FILE = 'spec/spec_helper.rb'
|
10
|
+
|
11
|
+
def initialize(opts = {})
|
12
|
+
@destination = opts.fetch(:destination, Dir.getwd)
|
13
|
+
@stream = opts.fetch(:report_stream, $stdout)
|
14
|
+
@template_path = opts.fetch(:template_path) do
|
15
|
+
File.expand_path("../project_initializer", __FILE__)
|
19
16
|
end
|
20
17
|
end
|
21
18
|
|
22
|
-
def
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
19
|
+
def run
|
20
|
+
copy_template DOT_RSPEC_FILE
|
21
|
+
copy_template SPEC_HELPER_FILE
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def copy_template(file)
|
27
|
+
destination_file = File.join(destination, file)
|
28
|
+
return report_exists(file) if File.exist?(destination_file)
|
29
|
+
|
30
|
+
report_creating(file)
|
31
|
+
FileUtils.mkdir_p(File.dirname(destination_file))
|
32
|
+
File.open(destination_file, 'w') do |f|
|
33
|
+
f.write File.read(File.join(template_path, file))
|
31
34
|
end
|
32
35
|
end
|
33
36
|
|
34
37
|
def report_exists(file)
|
35
|
-
puts " exist #{file}"
|
38
|
+
stream.puts " exist #{file}"
|
36
39
|
end
|
37
40
|
|
38
41
|
def report_creating(file)
|
39
|
-
puts " create #{file}"
|
42
|
+
stream.puts " create #{file}"
|
40
43
|
end
|
41
44
|
end
|
42
45
|
end
|
File without changes
|
@@ -29,11 +29,6 @@ RSpec.configure do |config|
|
|
29
29
|
# file, and it's useful to allow more verbose output when running an
|
30
30
|
# individual spec file.
|
31
31
|
if config.files_to_run.one?
|
32
|
-
# RSpec filters the backtrace by default so as not to be so noisy.
|
33
|
-
# This causes the full backtrace to be printed when running a single
|
34
|
-
# spec file (e.g. to troubleshoot a particular spec failure).
|
35
|
-
config.full_backtrace = true
|
36
|
-
|
37
32
|
# Use the documentation formatter for detailed output,
|
38
33
|
# unless a formatter has already been configured
|
39
34
|
# (e.g. via a command-line flag).
|
data/lib/rspec/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -11,99 +11,106 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain:
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
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q3oKbXVBPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
44
|
+
date: 2014-06-02 00:00:00.000000000 Z
|
38
45
|
dependencies:
|
39
46
|
- !ruby/object:Gem::Dependency
|
40
47
|
name: rspec-support
|
41
48
|
requirement: !ruby/object:Gem::Requirement
|
42
49
|
requirements:
|
43
|
-
- -
|
50
|
+
- - ~>
|
44
51
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.0.0
|
52
|
+
version: 3.0.0
|
46
53
|
type: :runtime
|
47
54
|
prerelease: false
|
48
55
|
version_requirements: !ruby/object:Gem::Requirement
|
49
56
|
requirements:
|
50
|
-
- -
|
57
|
+
- - ~>
|
51
58
|
- !ruby/object:Gem::Version
|
52
|
-
version: 3.0.0
|
59
|
+
version: 3.0.0
|
53
60
|
- !ruby/object:Gem::Dependency
|
54
61
|
name: rake
|
55
62
|
requirement: !ruby/object:Gem::Requirement
|
56
63
|
requirements:
|
57
|
-
- -
|
64
|
+
- - ~>
|
58
65
|
- !ruby/object:Gem::Version
|
59
66
|
version: 10.0.0
|
60
67
|
type: :development
|
61
68
|
prerelease: false
|
62
69
|
version_requirements: !ruby/object:Gem::Requirement
|
63
70
|
requirements:
|
64
|
-
- -
|
71
|
+
- - ~>
|
65
72
|
- !ruby/object:Gem::Version
|
66
73
|
version: 10.0.0
|
67
74
|
- !ruby/object:Gem::Dependency
|
68
75
|
name: cucumber
|
69
76
|
requirement: !ruby/object:Gem::Requirement
|
70
77
|
requirements:
|
71
|
-
- -
|
78
|
+
- - ~>
|
72
79
|
- !ruby/object:Gem::Version
|
73
80
|
version: '1.3'
|
74
81
|
type: :development
|
75
82
|
prerelease: false
|
76
83
|
version_requirements: !ruby/object:Gem::Requirement
|
77
84
|
requirements:
|
78
|
-
- -
|
85
|
+
- - ~>
|
79
86
|
- !ruby/object:Gem::Version
|
80
87
|
version: '1.3'
|
81
88
|
- !ruby/object:Gem::Dependency
|
82
89
|
name: minitest
|
83
90
|
requirement: !ruby/object:Gem::Requirement
|
84
91
|
requirements:
|
85
|
-
- -
|
92
|
+
- - ~>
|
86
93
|
- !ruby/object:Gem::Version
|
87
94
|
version: '5.3'
|
88
95
|
type: :development
|
89
96
|
prerelease: false
|
90
97
|
version_requirements: !ruby/object:Gem::Requirement
|
91
98
|
requirements:
|
92
|
-
- -
|
99
|
+
- - ~>
|
93
100
|
- !ruby/object:Gem::Version
|
94
101
|
version: '5.3'
|
95
102
|
- !ruby/object:Gem::Dependency
|
96
103
|
name: aruba
|
97
104
|
requirement: !ruby/object:Gem::Requirement
|
98
105
|
requirements:
|
99
|
-
- -
|
106
|
+
- - ~>
|
100
107
|
- !ruby/object:Gem::Version
|
101
108
|
version: '0.5'
|
102
109
|
type: :development
|
103
110
|
prerelease: false
|
104
111
|
version_requirements: !ruby/object:Gem::Requirement
|
105
112
|
requirements:
|
106
|
-
- -
|
113
|
+
- - ~>
|
107
114
|
- !ruby/object:Gem::Version
|
108
115
|
version: '0.5'
|
109
116
|
- !ruby/object:Gem::Dependency
|
@@ -124,128 +131,58 @@ dependencies:
|
|
124
131
|
name: coderay
|
125
132
|
requirement: !ruby/object:Gem::Requirement
|
126
133
|
requirements:
|
127
|
-
- -
|
134
|
+
- - ~>
|
128
135
|
- !ruby/object:Gem::Version
|
129
136
|
version: 1.0.9
|
130
137
|
type: :development
|
131
138
|
prerelease: false
|
132
139
|
version_requirements: !ruby/object:Gem::Requirement
|
133
140
|
requirements:
|
134
|
-
- -
|
141
|
+
- - ~>
|
135
142
|
- !ruby/object:Gem::Version
|
136
143
|
version: 1.0.9
|
137
144
|
- !ruby/object:Gem::Dependency
|
138
145
|
name: mocha
|
139
146
|
requirement: !ruby/object:Gem::Requirement
|
140
147
|
requirements:
|
141
|
-
- -
|
148
|
+
- - ~>
|
142
149
|
- !ruby/object:Gem::Version
|
143
150
|
version: 0.13.0
|
144
151
|
type: :development
|
145
152
|
prerelease: false
|
146
153
|
version_requirements: !ruby/object:Gem::Requirement
|
147
154
|
requirements:
|
148
|
-
- -
|
155
|
+
- - ~>
|
149
156
|
- !ruby/object:Gem::Version
|
150
157
|
version: 0.13.0
|
151
158
|
- !ruby/object:Gem::Dependency
|
152
159
|
name: rr
|
153
160
|
requirement: !ruby/object:Gem::Requirement
|
154
161
|
requirements:
|
155
|
-
- -
|
162
|
+
- - ~>
|
156
163
|
- !ruby/object:Gem::Version
|
157
164
|
version: 1.0.4
|
158
165
|
type: :development
|
159
166
|
prerelease: false
|
160
167
|
version_requirements: !ruby/object:Gem::Requirement
|
161
168
|
requirements:
|
162
|
-
- -
|
169
|
+
- - ~>
|
163
170
|
- !ruby/object:Gem::Version
|
164
171
|
version: 1.0.4
|
165
172
|
- !ruby/object:Gem::Dependency
|
166
173
|
name: flexmock
|
167
174
|
requirement: !ruby/object:Gem::Requirement
|
168
175
|
requirements:
|
169
|
-
- -
|
176
|
+
- - ~>
|
170
177
|
- !ruby/object:Gem::Version
|
171
178
|
version: 0.9.0
|
172
179
|
type: :development
|
173
180
|
prerelease: false
|
174
181
|
version_requirements: !ruby/object:Gem::Requirement
|
175
182
|
requirements:
|
176
|
-
- -
|
183
|
+
- - ~>
|
177
184
|
- !ruby/object:Gem::Version
|
178
185
|
version: 0.9.0
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: fuubar
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - '='
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: 1.3.2
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - '='
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 1.3.2
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: nyan-cat-formatter
|
195
|
-
requirement: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
- - '='
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: 0.5.2
|
200
|
-
type: :development
|
201
|
-
prerelease: false
|
202
|
-
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - '='
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: 0.5.2
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: rspec-instafail
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
requirements:
|
211
|
-
- - '='
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: 0.2.4
|
214
|
-
type: :development
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
requirements:
|
218
|
-
- - '='
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
version: 0.2.4
|
221
|
-
- !ruby/object:Gem::Dependency
|
222
|
-
name: rspec_spinner
|
223
|
-
requirement: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - '='
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: 2.0.0
|
228
|
-
type: :development
|
229
|
-
prerelease: false
|
230
|
-
version_requirements: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - '='
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: 2.0.0
|
235
|
-
- !ruby/object:Gem::Dependency
|
236
|
-
name: rspec-extra-formatters
|
237
|
-
requirement: !ruby/object:Gem::Requirement
|
238
|
-
requirements:
|
239
|
-
- - '='
|
240
|
-
- !ruby/object:Gem::Version
|
241
|
-
version: 1.0.0
|
242
|
-
type: :development
|
243
|
-
prerelease: false
|
244
|
-
version_requirements: !ruby/object:Gem::Requirement
|
245
|
-
requirements:
|
246
|
-
- - '='
|
247
|
-
- !ruby/object:Gem::Version
|
248
|
-
version: 1.0.0
|
249
186
|
description: BDD for Ruby. RSpec runner and example groups.
|
250
187
|
email: rspec@googlegroups.com
|
251
188
|
executables:
|
@@ -253,12 +190,6 @@ executables:
|
|
253
190
|
extensions: []
|
254
191
|
extra_rdoc_files: []
|
255
192
|
files:
|
256
|
-
- ".document"
|
257
|
-
- ".yardopts"
|
258
|
-
- Changelog.md
|
259
|
-
- License.txt
|
260
|
-
- README.md
|
261
|
-
- exe/rspec
|
262
193
|
- lib/rspec/autorun.rb
|
263
194
|
- lib/rspec/core.rb
|
264
195
|
- lib/rspec/core/backport_random.rb
|
@@ -299,8 +230,8 @@ files:
|
|
299
230
|
- lib/rspec/core/ordering.rb
|
300
231
|
- lib/rspec/core/pending.rb
|
301
232
|
- lib/rspec/core/project_initializer.rb
|
302
|
-
- lib/rspec/core/project_initializer
|
303
|
-
- lib/rspec/core/project_initializer/spec_helper.rb
|
233
|
+
- lib/rspec/core/project_initializer/.rspec
|
234
|
+
- lib/rspec/core/project_initializer/spec/spec_helper.rb
|
304
235
|
- lib/rspec/core/rake_task.rb
|
305
236
|
- lib/rspec/core/reporter.rb
|
306
237
|
- lib/rspec/core/ruby_project.rb
|
@@ -311,30 +242,36 @@ files:
|
|
311
242
|
- lib/rspec/core/version.rb
|
312
243
|
- lib/rspec/core/warnings.rb
|
313
244
|
- lib/rspec/core/world.rb
|
245
|
+
- README.md
|
246
|
+
- License.txt
|
247
|
+
- Changelog.md
|
248
|
+
- .yardopts
|
249
|
+
- .document
|
250
|
+
- exe/rspec
|
314
251
|
homepage: http://github.com/rspec/rspec-core
|
315
252
|
licenses:
|
316
253
|
- MIT
|
317
254
|
metadata: {}
|
318
255
|
post_install_message:
|
319
256
|
rdoc_options:
|
320
|
-
-
|
257
|
+
- --charset=UTF-8
|
321
258
|
require_paths:
|
322
259
|
- lib
|
323
260
|
required_ruby_version: !ruby/object:Gem::Requirement
|
324
261
|
requirements:
|
325
|
-
- -
|
262
|
+
- - ! '>='
|
326
263
|
- !ruby/object:Gem::Version
|
327
264
|
version: 1.8.7
|
328
265
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
329
266
|
requirements:
|
330
|
-
- -
|
267
|
+
- - ! '>='
|
331
268
|
- !ruby/object:Gem::Version
|
332
|
-
version:
|
269
|
+
version: '0'
|
333
270
|
requirements: []
|
334
271
|
rubyforge_project: rspec
|
335
|
-
rubygems_version: 2.
|
272
|
+
rubygems_version: 2.0.7
|
336
273
|
signing_key:
|
337
274
|
specification_version: 4
|
338
|
-
summary: rspec-core-3.0.0
|
275
|
+
summary: rspec-core-3.0.0
|
339
276
|
test_files: []
|
340
277
|
has_rdoc:
|
metadata.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
2
|
-
�1J~��d��C�����(�zd�}F��4��G�l������ Gu�ꗘ
|
3
|
-
�+�I+ǩ�;)��I$]�8��ۙou����#�*���P
|
1
|
+
��dNz� �@̭������u��`�MSf_�$���dF����������\a�(ˬ�Xն�̦)�Â��J6���\.[K���'�7Y��%P��tN���r$���P�����!XYZL��ô�k�Pz��{9�3o�JL*���
|