rspec-core 3.0.0.rc1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 24e9ee744b540730045b84bf20a81923c580f7f4
4
- data.tar.gz: 6390ec51a3ce3722f68c48729f2af92ea660c2f9
5
- SHA512:
6
- metadata.gz: 170b4ed1f9ac458cd147b2b55da8dac58e937c116f2fbb45b8bda69c9821f7bdcd6551a144796c4405a00d4696cb84763fa585457e4502f0c8912209783ec179
7
- data.tar.gz: 567ea5967b8408fb5fdf5ad083371af79a5e095d0f3c708933939442f8c2fcb677ff3d603bf0ce7132b02a4473844b0d929f73862c64cb8e098e09e1d3cbde83
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=
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.rc1...v3.0.0.beta1)
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
 
@@ -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
- @system_exclusion_patterns = [] << Regexp.union(
11
- *["/lib\d*/ruby/",
12
- "org/jruby/",
13
- "bin/",
14
- "/gems/",
15
- "lib/rspec/(core|expectations|matchers|mocks)"].
16
- map {|s| Regexp.new(s.gsub("/", File::SEPARATOR))})
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
@@ -1072,6 +1072,8 @@ module RSpec
1072
1072
  end
1073
1073
 
1074
1074
  # @private
1075
+ # @macro [attach] delegate_to_ordering_manager
1076
+ # @!method $1
1075
1077
  def self.delegate_to_ordering_manager(*methods)
1076
1078
  methods.each do |method|
1077
1079
  define_method method do |*args, &block|
@@ -355,7 +355,7 @@ module RSpec
355
355
  args.unshift(description)
356
356
 
357
357
  @metadata = Metadata::ExampleGroupHash.create(
358
- superclass_metadata || {}, user_metadata, *args, &example_group_block
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
- # * `start(expected_example_count)`
32
- # * zero or more of the following
33
- # * `example_group_started(group)`
34
- # * `example_started(example)`
35
- # * `example_passed(example)`
36
- # * `example_failed(example)`
37
- # * `example_pending(example)`
38
- # * `message(string)`
39
- # * `stop`
40
- # * `start_dump`
41
- # * `dump_pending`
42
- # * `dump_failures`
43
- # * `dump_summary(duration, example_count, failure_count, pending_count)`
44
- # * `seed(value)`
45
- # * `close`
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
- # You can either implement all of those methods or subclass
48
- # `RSpec::Core::Formatters::BaseTextFormatter` and override the methods you want
49
- # to enhance.
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
- output.close if IO === output && output != $stdout
69
+ return unless IO === output
70
+ return if output.closed? || output == $stdout
71
+
72
+ output.close
70
73
  end
71
74
 
72
75
  end
@@ -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
- group_metadata.update(parent_group_metadata)
185
- group_metadata[:parent_example_group] = parent_group_metadata
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
- LegacyExampleGroupHash.new(example_group_selector.call(hash))
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
- parent_description = parent_example_group[:full_description]
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.has_key?(:parent_example_group)
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
- def run
7
- create_spec_helper_file
8
- create_dot_rspec_file
9
- end
6
+ attr_reader :destination, :stream, :template_path
10
7
 
11
- def create_dot_rspec_file
12
- if File.exist?('.rspec')
13
- report_exists('.rspec')
14
- else
15
- report_creating('.rspec')
16
- File.open('.rspec','w') do |f|
17
- f.write File.read(File.expand_path("../project_initializer/dot_rspec", __FILE__))
18
- end
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 create_spec_helper_file
23
- if File.exist?('spec/spec_helper.rb')
24
- report_exists('spec/spec_helper.rb')
25
- else
26
- report_creating('spec/spec_helper.rb')
27
- FileUtils.mkdir_p('spec')
28
- File.open('spec/spec_helper.rb','w') do |f|
29
- f.write File.read(File.expand_path("../project_initializer/spec_helper.rb", __FILE__))
30
- end
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
@@ -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).
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Core.
4
4
  module Version
5
5
  # Current version of RSpec Core, in semantic versioning format.
6
- STRING = '3.0.0.rc1'
6
+ STRING = '3.0.0'
7
7
  end
8
8
  end
9
9
  end
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.rc1
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
- -----BEGIN CERTIFICATE-----
16
- MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRIwEAYDVQQDDAlyc3Bl
17
- Yy1kZXYxGzAZBgoJkiaJk/IsZAEZFgtnb29nbGVnb3VwczETMBEGCgmSJomT8ixk
18
- ARkWA2NvbTAeFw0xMzExMDcxOTQyNTlaFw0xNDExMDcxOTQyNTlaMEYxEjAQBgNV
19
- BAMMCXJzcGVjLWRldjEbMBkGCgmSJomT8ixkARkWC2dvb2dsZWdvdXBzMRMwEQYK
20
- CZImiZPyLGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
21
- nhCeZouDLXWO55no+EdZNCtjXjfJQ1X9TbPcvBDD29OypIUce2h/VdKXB2gI7ZHs
22
- F5NkPggslTErGFmWAtIiur7u943RVqHOsyoIsy065F9fCtrykkA+22elvTDha4Iz
23
- RUCvuhQ3klatYk4jF+cGt1jNONNVdLOiy0bMynvcM7hoVQ2AomwGs+cEOWQ/4dkD
24
- JcNV3qfzF5QBcTD2372XNM53b25nYVQSX2KH5FF7BhlKyov33bOm2gA9M+mWIujW
25
- qgkyxVlfrlE+ZBgV3wXn1Cojg1LpTq35yOArgwioyrwwlZZJR9joN9s/nDklfr5A
26
- +dyETjFc6cmEPWZrt2cJBQIDAQABo4GGMIGDMAkGA1UdEwQCMAAwCwYDVR0PBAQD
27
- AgSwMB0GA1UdDgQWBBSW+WD7hn1swJ1A7i8tbuFeuNCJCjAkBgNVHREEHTAbgRly
28
- c3BlYy1kZXZAZ29vZ2xlZ291cHMuY29tMCQGA1UdEgQdMBuBGXJzcGVjLWRldkBn
29
- b29nbGVnb3Vwcy5jb20wDQYJKoZIhvcNAQEFBQADggEBAH27jAZ8sD7vnXupj6Y+
30
- BaBdfHtCkFaslLJ0aKuMDIVXwYuKfqoW15cZPDLmS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QWNTWXB2aTJkQWJP
42
+ aUhUNWlRRitrcm00d3NlOEtjdFhnVE5uak1zSEVvR0t1bEpTMi9zWmw5MGpj
43
+ 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.rc1
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.rc1
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/dot_rspec
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
- - "--charset=UTF-8"
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: 1.3.1
269
+ version: '0'
333
270
  requirements: []
334
271
  rubyforge_project: rspec
335
- rubygems_version: 2.2.2
272
+ rubygems_version: 2.0.7
336
273
  signing_key:
337
274
  specification_version: 4
338
- summary: rspec-core-3.0.0.rc1
275
+ summary: rspec-core-3.0.0
339
276
  test_files: []
340
277
  has_rdoc:
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- }3����mq�@E��Iֆug�����K��-ޘ?Y���Ӿ��D���}���7�=K��ou+pغ3Qw4*Tk�ƫ�P�:q�s��k>^���
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�����!XYZ L��ô�kPz��{93o�JL*���