rspec-core 3.0.3 → 3.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df77bb782f455bfb1ae08962875679185c2a38a1
4
- data.tar.gz: b518071746d17b15141cf4508730ac98ef4a5f0c
3
+ metadata.gz: 3bd37cf851aa9d257e6cbc74c9faac447d71d106
4
+ data.tar.gz: bbbd5d2fb3839f3f59b29e26c789da6a507fc47a
5
5
  SHA512:
6
- metadata.gz: c1420cc5987896afb9ea7db1b52cb287326a1a38016a4a2a85b4e8b895f378a11ea3e77108b11b98ad8c2bce713752a80d54d0a668411184ce5ad246846acd9a
7
- data.tar.gz: 5b21526d9b56ab20095e905152e338ecc13a2f6b0b314abc04c9d1940163e6bcbd53cb7bea650f7bf400d45a4f1b291bef6f19d17633146da4febc3c15a7069f
6
+ metadata.gz: 986789472c22b14c4f619b381e4c0d70da004dded0a2c57ca9f7abf082efa7696ebe580252e240b6d8fee50a5b502a6f1f1983b100d81d416b5cc6ecf45158f5
7
+ data.tar.gz: 1e5406a618c112457adde4f8923b5045b63b14f8e3cc0f017e8c46cec7cf3c3e4a0e837d2773c94107f4ebcb17a99c0d935a2f09967bfd06128d2bd0b076ca42
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,14 @@
1
+ ### 3.0.4 / 2014-08-14
2
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.3...v3.0.4)
3
+
4
+ Bug Fixes:
5
+
6
+ * Fix processing order of CLI options so that if `config.files_to_run`
7
+ is accessed from a file loaded by `--require`, `--pattern` is still
8
+ applied. (Myron Marston, #1652)
9
+ * Fix `config.pattern=` so that it still takes affect even if
10
+ `config.files_to_run` has already been accessed. (Myron Marston, #1652)
11
+
1
12
  ### 3.0.3 / 2014-07-21
2
13
  [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.2...v3.0.3)
3
14
 
@@ -193,6 +193,7 @@ module RSpec
193
193
  RSpec.warning "Configuring `pattern` to #{value} has no effect since RSpec has already loaded the spec files."
194
194
  end
195
195
  @pattern = value
196
+ @files_to_run = nil
196
197
  end
197
198
 
198
199
  # @macro add_setting
@@ -82,9 +82,9 @@ module RSpec
82
82
  # set before it.
83
83
  :default_path,
84
84
 
85
- # must be set before `requires` to support checking `config.files_to_run`
85
+ # These must be set before `requires` to support checking `config.files_to_run`
86
86
  # from within `spec_helper.rb` when a `-rspec_helper` option is used.
87
- :files_or_directories_to_run,
87
+ :files_or_directories_to_run, :pattern,
88
88
 
89
89
  # In general, we want to require the specified files as early as possible.
90
90
  # The `--require` option is specifically intended to allow early requires.
@@ -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.3'
6
+ STRING = '3.0.4'
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.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
@@ -34,7 +34,7 @@ cert_chain:
34
34
  1yHC1AcSYpvi2dAbOiHT5iQF+krm4wse8KctXgTNnjMsHEoGKulJS2/sZl90jcCz
35
35
  muA=
36
36
  -----END CERTIFICATE-----
37
- date: 2014-07-21 00:00:00.000000000 Z
37
+ date: 2014-08-14 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rspec-support
@@ -265,6 +265,6 @@ rubyforge_project: rspec
265
265
  rubygems_version: 2.2.2
266
266
  signing_key:
267
267
  specification_version: 4
268
- summary: rspec-core-3.0.3
268
+ summary: rspec-core-3.0.4
269
269
  test_files: []
270
270
  has_rdoc:
metadata.gz.sig CHANGED
Binary file