legendary 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/legendary/rspec.rb +2 -2
- data/lib/legendary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 011b36ac21ec2edf3489788c92e99bb79d8c2f93
|
4
|
+
data.tar.gz: 4f84f64ed37e39fa806dbbfe464d0933b06bc334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8830e3971fba8741c1f845bcf1128d509843592df40a20080c62fa225b7e66ac95cdb35212ea93ca694ca6afa92c47c91bef0abdda74489f282f4333101ca133
|
7
|
+
data.tar.gz: e582ee13c1f4bb82b32a25c39bca3896b27b492072101d8d755d8de0f76a08daa1de8edc16b88da7a4db4d0b407c4113b0f94d054956c82aee3e249d8d019894
|
data/lib/legendary/rspec.rb
CHANGED
@@ -10,7 +10,7 @@ RSpec::Matchers.define :be_secure do
|
|
10
10
|
match do |thing|
|
11
11
|
vulnerable_gems = GemStore.gems.collect do |gem|
|
12
12
|
gem if gem.vulnerable?
|
13
|
-
end
|
13
|
+
end.compact
|
14
14
|
|
15
15
|
expect(vulnerable_gems.length).to eql(0)
|
16
16
|
end
|
@@ -20,7 +20,7 @@ RSpec::Matchers.define :be_updated do
|
|
20
20
|
match do |thing|
|
21
21
|
outdated = GemStore.gems.collect do |gem|
|
22
22
|
gem if gem.outdated?
|
23
|
-
end
|
23
|
+
end.compact
|
24
24
|
|
25
25
|
expect(outdated.length).to eql(0)
|
26
26
|
end
|
data/lib/legendary/version.rb
CHANGED