vls 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vls.rb +2 -4
  3. data/lib/vls/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56829e5ca3f1738854377aa261fa31007f842727
4
- data.tar.gz: 7a1deb11651e1af6796f395415e3a12f1eb7ea67
3
+ metadata.gz: 158bb96a6eadbaadec15b4735de0171e457ddce6
4
+ data.tar.gz: 1997eaab64bf7b51329b68d6288409d6e60335c5
5
5
  SHA512:
6
- metadata.gz: 2e99b53ea8c68227b63d95d13ac0033fd0550a23c021db21ae3e45bfad9ea220727726ffba23e84d283ab49eeb0b26065e24d9d2dc7a81f306e2be1a2dc24f61
7
- data.tar.gz: 4fe67b80c4143e4446b03d0075cd364d3a2fe5140cc6db5fb4c350d8d3086328efec570508d9636bf40751aa4a56beaace39099ee6789c685df4b8ae06b07f0e
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 module ???"
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
 
@@ -1,3 +1,3 @@
1
1
  module VersionLS
2
- VERSION = "0.3.1"
2
+ STRING = VERSION = "0.3.2"
3
3
  end
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.1
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-24 00:00:00.000000000 Z
11
+ date: 2016-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler