brakecheck 0.1.4 → 0.1.6
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0defc33f43712a390b17674f92aef941bed2c54
|
4
|
+
data.tar.gz: e448fe84f4d925afa273a1fe88d7e952448144e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c719e48e0cec19f3a7dbd15ef2ba48fd65bd6a51e8a3fec589076fcdb0a129e64e6ca0743d144d7c23d2157b154a00eef7e508c4ab3b7575c4bf182a1e485d
|
7
|
+
data.tar.gz: f9b6c34887059e95e6ab7702925530b623ae9b5620c1380f3bcd447ca7bf4639aad366c6cf1c5979774cd120cad89541ba4aa47695d48fb68bc810f6bd024716
|
data/lib/brakecheck.rb
CHANGED
@@ -39,18 +39,18 @@ module Brakecheck
|
|
39
39
|
"expected gem to be #{expected} but was actually #{actual}."
|
40
40
|
end
|
41
41
|
end
|
42
|
-
end
|
43
42
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
43
|
+
def loaded_specs(gem_name)
|
44
|
+
gem_here = specs.detect do |specs|
|
45
|
+
specs.name == gem_name
|
46
|
+
end
|
48
47
|
|
49
|
-
|
50
|
-
|
48
|
+
gem_here.nil? ? :not_in_bundle : gem_here.version.to_s
|
49
|
+
end
|
51
50
|
|
52
|
-
|
53
|
-
|
51
|
+
def specs
|
52
|
+
@specs ||= Bundler::LockfileParser.new(Bundler.read_file(Bundler.default_lockfile)).specs
|
53
|
+
end
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
data/lib/brakecheck/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brakecheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Panzer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|