vls 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/vls +0 -1
- data/lib/vls.rb +6 -1
- data/lib/vls/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: 81d673c1c6e738320a8e6646567125284428f281
|
4
|
+
data.tar.gz: 542f4e44b0343e72221aa51682ecdc2757da2ae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24247c19e7e81287520c072aac8eff9d5b7ad989d1960937fab71e2a4e624a3fa000112e1b64a17b461a38e47a19dcad00013c58113090c96519388bd3dbd92b
|
7
|
+
data.tar.gz: 2947a4d7bc1e6c23a629f7a2efeef3f0035adc3d5fdea662370973badf092024fe9fd84eb8a654b2501029491ac90a3c4a3ed77bcf1fd01dd4aed01cd7713770
|
data/bin/vls
CHANGED
data/lib/vls.rb
CHANGED
@@ -7,7 +7,12 @@ module VersionLS
|
|
7
7
|
#Execute the core of the vls command and return an array of
|
8
8
|
#[module, version] arrays.
|
9
9
|
def self.vls
|
10
|
-
modules.map
|
10
|
+
modules.map do |mod|
|
11
|
+
version = mod.const_get(:VERSION)
|
12
|
+
version = version::STRING if version.is_a?(Module)
|
13
|
+
|
14
|
+
[mod, version]
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
#Get a list of modules that have VERSION info.
|
data/lib/vls/version.rb
CHANGED