rspec-core 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +12 -0
- data/lib/rspec/core/backtrace_formatter.rb +6 -10
- data/lib/rspec/core/metadata.rb +1 -1
- data/lib/rspec/core/notifications.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: df77bb782f455bfb1ae08962875679185c2a38a1
|
4
|
+
data.tar.gz: b518071746d17b15141cf4508730ac98ef4a5f0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1420cc5987896afb9ea7db1b52cb287326a1a38016a4a2a85b4e8b895f378a11ea3e77108b11b98ad8c2bce713752a80d54d0a668411184ce5ad246846acd9a
|
7
|
+
data.tar.gz: 5b21526d9b56ab20095e905152e338ecc13a2f6b0b314abc04c9d1940163e6bcbd53cb7bea650f7bf400d45a4f1b291bef6f19d17633146da4febc3c15a7069f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
### 3.0.3 / 2014-07-21
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.2...v3.0.3)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Properly convert both parts of a description into strings before
|
7
|
+
concatenation. (@nicklink483, #1636)
|
8
|
+
* Exclude the working directory when figuring out folders to ignore.
|
9
|
+
(Jon Rowe, Myron Marston, #1616)
|
10
|
+
* Allow `::RSpec::Core::Notifications::FailedExampleNotification#message_lines`
|
11
|
+
to be accessed without a colouriser. (@tomykaira, #1637)
|
12
|
+
|
1
13
|
### 3.0.2 / 2014-06-19
|
2
14
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.1...v3.0.2)
|
3
15
|
|
@@ -44,27 +44,23 @@ module RSpec
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def backtrace_line(line)
|
47
|
-
|
47
|
+
Metadata.relative_path(line) unless exclude?(line)
|
48
48
|
rescue SecurityError
|
49
49
|
nil
|
50
50
|
end
|
51
51
|
|
52
52
|
def exclude?(line)
|
53
53
|
return false if @full_backtrace
|
54
|
-
|
55
|
-
|
54
|
+
relative_line = Metadata.relative_path(line)
|
55
|
+
return false unless matches?(@exclusion_patterns, relative_line)
|
56
|
+
matches?(@system_exclusion_patterns, relative_line) || !matches?(@inclusion_patterns, line)
|
56
57
|
end
|
57
58
|
|
58
59
|
private
|
59
60
|
|
60
|
-
def
|
61
|
-
|
61
|
+
def matches?(patterns, line)
|
62
|
+
patterns.any? { |p| line =~ p }
|
62
63
|
end
|
63
|
-
|
64
|
-
def doesnt_match_inclusion_pattern_unless_system_exclusion?(line)
|
65
|
-
@system_exclusion_patterns.any? { |p| line =~ p } || @inclusion_patterns.none? { |p| p =~ line }
|
66
|
-
end
|
67
|
-
|
68
64
|
end
|
69
65
|
end
|
70
66
|
end
|
data/lib/rspec/core/metadata.rb
CHANGED
@@ -126,7 +126,7 @@ module RSpec
|
|
126
126
|
def build_description_from(parent_description=nil, my_description=nil)
|
127
127
|
return parent_description.to_s unless my_description
|
128
128
|
separator = description_separator(parent_description, my_description)
|
129
|
-
parent_description.to_s + separator + my_description
|
129
|
+
parent_description.to_s + separator + my_description.to_s
|
130
130
|
end
|
131
131
|
|
132
132
|
def ensure_valid_user_keys
|
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.
|
4
|
+
version: 3.0.3
|
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-
|
37
|
+
date: 2014-07-21 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.
|
268
|
+
summary: rspec-core-3.0.3
|
269
269
|
test_files: []
|
270
270
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|