vls 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vls.rb +2 -4
- data/lib/vls/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: 158bb96a6eadbaadec15b4735de0171e457ddce6
|
4
|
+
data.tar.gz: 1997eaab64bf7b51329b68d6288409d6e60335c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 482121169aa44c502fa0e3b092c76d3ca90eee6c05feca6fbe6f81650e7a88c6e71ecf10584d1920c789beab56d7eae30d7cc022343701b5ea8dcc50f3d736b4
|
7
|
+
data.tar.gz: 4cf106d257e40def8657b4e651a8b3ebf1640ac36e80a3c294a7d5fee362f224d66b52b4c30842bec2187aea9dd141c288d222731a36e955b5eff95ce2a07740
|
data/lib/vls.rb
CHANGED
@@ -24,7 +24,7 @@ class Module
|
|
24
24
|
def to_vls_version_string
|
25
25
|
self::STRING
|
26
26
|
rescue
|
27
|
-
"version
|
27
|
+
"version #{self} ???"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
@@ -32,9 +32,7 @@ end
|
|
32
32
|
class Array
|
33
33
|
#Get the vls version string from this array.
|
34
34
|
def to_vls_version_string
|
35
|
-
self.join('.')
|
36
|
-
rescue
|
37
|
-
"version array ???"
|
35
|
+
(1..5) === self.length ? self.join('.') : super
|
38
36
|
end
|
39
37
|
end
|
40
38
|
|
data/lib/vls/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Camilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|