brakecheck 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/brakecheck.rb +9 -9
- data/lib/brakecheck/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: ba892848df110826b3fc51c0a7bc51e72fb55986
|
4
|
+
data.tar.gz: 726c2c36de91bd9f682108dcb84c262f1db60e8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da96fbb56ceba32843ed877678eec703ce40c6f4fc67b05b5576347f81eaca96179e17ce6544908eb7b3cf05ed87f352bffe89834bb52c68af9b45b4e1e35206
|
7
|
+
data.tar.gz: e7674be082c44edfb2388ae1e184f22967f933b4bbf5d2386a785b2c23ac8c0b7556b9cbc5f489fde05b31bc528928ed08ec71cf8211f74d26e5e52f445d66bb
|
data/lib/brakecheck.rb
CHANGED
@@ -40,17 +40,17 @@ module Brakecheck
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
43
|
-
end
|
44
43
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
44
|
+
def loaded_specs(gem_name)
|
45
|
+
gem_here = specs.detect do |specs|
|
46
|
+
specs.name == gem_name
|
47
|
+
end
|
49
48
|
|
50
|
-
|
51
|
-
|
49
|
+
gem_here.nil? ? :not_in_bundle : gem_here.version.to_s
|
50
|
+
end
|
52
51
|
|
53
|
-
|
54
|
-
|
52
|
+
def specs
|
53
|
+
@specs ||= Bundler::LockfileParser.new(Bundler.read_file(Bundler.default_lockfile)).specs
|
54
|
+
end
|
55
55
|
end
|
56
56
|
end
|
data/lib/brakecheck/version.rb
CHANGED