rspec-core 3.1.5 → 3.1.6
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -1
- data/Changelog.md +11 -0
- data/lib/rspec/core/configuration.rb +12 -2
- data/lib/rspec/core/rake_task.rb +1 -1
- data/lib/rspec/core/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2b3632b51db161f35c5b34de9edc51e46d9cf3d
|
|
4
|
+
data.tar.gz: 3c8b1ce86cafdcc09fe9dbca4cecc32c2b10efb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf9a1a0778774bc4f4c19b2ca537e9cc6a96e48e52e0d4ffb1de7254ec92338a9e103dea333a3b61050b040328518ee2ac77ffab82b35af357b6c863d2c71d46
|
|
7
|
+
data.tar.gz: 41557dacbba9ce26a55a7d04ff315664fa5d23c9a8d1d451cdd3812fc33c3cbd086b13fb2b13e51d97faa3fe8efc8fd52331a2e6c7a79b3894fd802f9a965707
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
o,7௲ ��}�wS�J̬ň1�A$ce�Gؕ\\&C�ek�5&��,Μ��|�>Wc�~7�GOu ��V��NXY� �%��W�8X�<��Y��PMDg
|
|
2
|
+
�8��L�L���41����Υ���c��B�O*c`1]xD�KC�˝m������Z���U��H�41��~�hbNY2��L���d]�#��aN_�>p"$�����m�]��K�E�u\$�n���j=�b�b�(G��
|
data/Changelog.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
### 3.1.6 / 2014-10-08
|
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.5...v3.1.6)
|
|
3
|
+
|
|
4
|
+
Bug Fixes:
|
|
5
|
+
|
|
6
|
+
* Fix regression in rake task pattern handling, that prevented patterns
|
|
7
|
+
that were relative from the current directory rather than from `spec`
|
|
8
|
+
from working properly. (Myron Marston, #1734)
|
|
9
|
+
* Prevent rake task from generating duplicate load path entries.
|
|
10
|
+
(Myron Marston, #1735)
|
|
11
|
+
|
|
1
12
|
### 3.1.5 / 2014-09-29
|
|
2
13
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.4...v3.1.5)
|
|
3
14
|
|
|
@@ -1323,10 +1323,19 @@ module RSpec
|
|
|
1323
1323
|
private
|
|
1324
1324
|
|
|
1325
1325
|
def get_files_to_run(paths)
|
|
1326
|
-
FlatMap.flat_map(paths) do |path|
|
|
1326
|
+
FlatMap.flat_map(paths_to_check(paths)) do |path|
|
|
1327
1327
|
path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
|
|
1328
1328
|
File.directory?(path) ? gather_directories(path) : extract_location(path)
|
|
1329
|
-
end.sort
|
|
1329
|
+
end.sort.uniq
|
|
1330
|
+
end
|
|
1331
|
+
|
|
1332
|
+
def paths_to_check(paths)
|
|
1333
|
+
return paths if pattern_might_load_specs_from_vendored_dirs?
|
|
1334
|
+
paths + ['.']
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
def pattern_might_load_specs_from_vendored_dirs?
|
|
1338
|
+
pattern.split(File::SEPARATOR).first.include?('**')
|
|
1330
1339
|
end
|
|
1331
1340
|
|
|
1332
1341
|
def gather_directories(path)
|
|
@@ -1369,6 +1378,7 @@ module RSpec
|
|
|
1369
1378
|
filter_manager.add_location path, lines
|
|
1370
1379
|
end
|
|
1371
1380
|
|
|
1381
|
+
return [] if path == default_path
|
|
1372
1382
|
path
|
|
1373
1383
|
end
|
|
1374
1384
|
|
data/lib/rspec/core/rake_task.rb
CHANGED
|
@@ -177,7 +177,7 @@ module RSpec
|
|
|
177
177
|
@rspec_load_path ||= begin
|
|
178
178
|
core_and_support = $LOAD_PATH.grep(
|
|
179
179
|
/#{File::SEPARATOR}rspec-(core|support)[^#{File::SEPARATOR}]*#{File::SEPARATOR}lib/
|
|
180
|
-
)
|
|
180
|
+
).uniq
|
|
181
181
|
|
|
182
182
|
"-I#{core_and_support.map { |file| escape file }.join(File::PATH_SEPARATOR)}"
|
|
183
183
|
end
|
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.1.
|
|
4
|
+
version: 3.1.6
|
|
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-09
|
|
37
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
|
38
38
|
dependencies:
|
|
39
39
|
- !ruby/object:Gem::Dependency
|
|
40
40
|
name: rspec-support
|
|
@@ -266,6 +266,6 @@ rubyforge_project: rspec
|
|
|
266
266
|
rubygems_version: 2.2.2
|
|
267
267
|
signing_key:
|
|
268
268
|
specification_version: 4
|
|
269
|
-
summary: rspec-core-3.1.
|
|
269
|
+
summary: rspec-core-3.1.6
|
|
270
270
|
test_files: []
|
|
271
271
|
has_rdoc:
|
metadata.gz.sig
CHANGED
|
Binary file
|