rspec-core 3.2.2 → 3.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba0ddfd56ea03cc9a322731b3f8dfaffdbf30e0a
4
- data.tar.gz: c583095f89e08f9bad505e66ff8e7c6b8d86463e
3
+ metadata.gz: 6ffb9391f287b05bbc4b0e880a9e3298d654dd62
4
+ data.tar.gz: 371448563101988388e4b14c0e5ab7425c4523bb
5
5
  SHA512:
6
- metadata.gz: fc5a1e85733f04c1356f602fb26423b97d6d77f615b9fed60af58c000a6f053d9370de6d07cb7ccf0491597b3483ae50c04f8520196dea74bb1f3dd69fa3dc0c
7
- data.tar.gz: c69325b31b38dd11ad00ba848bd4863184031aec28479d2329d0e7971443e4fc06ebeb82416cbfaa3d2a5b348992c3a906d65a3472fe1eb5f7f1d648a043309c
6
+ metadata.gz: 0c23ef42b3e1dea1f69b392bae0f2d2ad4e9e5ff6d90fa6c9e931766deae1f8a171f200df3e67320d015cd2196989a7d3c293fc68b0288364aa946d574b49541
7
+ data.tar.gz: 4dd69a42f3893d6fa6cc493a211bd2a346a589efeef033caf40a83dd804e568d0f664370f265e21131bec5596afba712ed2ceafd17c8ccd0eeae7e9add1f3d74
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,15 @@
1
+ ### 3.2.3 / 2015-04-06
2
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.2...v3.2.3)
3
+
4
+ Bug Fixes:
5
+
6
+ * Fix how the DSL methods are defined so that RSpec is compatible with
7
+ gems that define methods of the same name on `Kernel` (such as
8
+ the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, #1907)
9
+ * Fix `before(:context) { skip }` so that it does not wrongly cause the
10
+ spec suite to exit with a non-zero status when no examples failed.
11
+ (Myron Marston, #1926)
12
+
1
13
  ### 3.2.2 / 2015-03-11
2
14
  [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.1...v3.2.2)
3
15
 
@@ -61,6 +73,13 @@ Enhancements:
61
73
  * Make `-I` option support multiple values when separated by
62
74
  `File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
63
75
  the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).
76
+ * Treat each example as having a singleton example group for the
77
+ purposes of applying metadata-based features that normally apply
78
+ to example groups to individually tagged examples. For example,
79
+ `RSpec.shared_context "Uses redis", :uses_redis` will now apply
80
+ to individual examples tagged with `:uses_redis`, as will
81
+ `config.include RedisHelpers, :uses_redis`, and
82
+ `config.before(:context, :uses_redis) { }`, etc. (Myron Marston, #1749)
64
83
 
65
84
  Bug Fixes:
66
85
 
@@ -35,7 +35,7 @@ module RSpec
35
35
  # @private
36
36
  def self.idempotently_define_singleton_method(name, &definition)
37
37
  (class << self; self; end).module_exec do
38
- remove_method(name) if method_defined?(name)
38
+ remove_method(name) if method_defined?(name) && instance_method(name).owner == self
39
39
  define_method(name, &definition)
40
40
  end
41
41
  end
@@ -514,6 +514,7 @@ module RSpec
514
514
  result_for_this_group && results_for_descendants
515
515
  rescue Pending::SkipDeclaredInExample => ex
516
516
  for_filtered_examples(reporter) { |example| example.skip_with_exception(reporter, ex) }
517
+ true
517
518
  rescue Exception => ex
518
519
  RSpec.world.wants_to_quit = true if fail_fast?
519
520
  for_filtered_examples(reporter) { |example| example.fail_with_exception(reporter, ex) }
@@ -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.2.2'
6
+ STRING = '3.2.3'
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.2.2
4
+ version: 3.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
@@ -46,7 +46,7 @@ cert_chain:
46
46
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
47
47
  F3MdtaDehhjC
48
48
  -----END CERTIFICATE-----
49
- date: 2015-03-12 00:00:00.000000000 Z
49
+ date: 2015-04-06 00:00:00.000000000 Z
50
50
  dependencies:
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: rspec-support
@@ -279,6 +279,6 @@ rubyforge_project: rspec
279
279
  rubygems_version: 2.2.2
280
280
  signing_key:
281
281
  specification_version: 4
282
- summary: rspec-core-3.2.2
282
+ summary: rspec-core-3.2.3
283
283
  test_files: []
284
284
  has_rdoc:
metadata.gz.sig CHANGED
Binary file