plat4m 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d774a6034deb7d66867efea3c8d068cd8df0aa6fcc3fb78b81b02fdd1db5eb05
4
- data.tar.gz: 2626301d32033e23ab9f510c8eda0f3c25a61146c575079a455fa81a2ebf17de
3
+ metadata.gz: 685c2e4edcc91906cd86fe043ac708f5e13d5abdea21f3e5eb6cc0607bd2c5ed
4
+ data.tar.gz: a8b9a9ae28e64180015b6c63b7d7e82915a5b38e22df138680705748c8a3c9ef
5
5
  SHA512:
6
- metadata.gz: 242a9eb4d6077d64e5a95aa8fd5c51d3ab6185c949d7d5bbf36153ba089ce7caf160db0d1fbb8c9013978dcb134d72c19fcea828c57a12e9e3a03ca51892f6e6
7
- data.tar.gz: afa1a19f783a9a7631d7aa0ed44717ba6edf5cdc8dae6f7bd7b4171aa84ab0f162d63af373d75b3697482b642f5dc47d2dddb7a146ab76bbea0e1fab80b0bd87
6
+ metadata.gz: 8e0b8127692a652b625c17c94740a1202e1fafcb6a02b14e6658798ab72f53109a7b49ca02c788ea61264ae9b2b2d21968e8c612b023dfeca14ec29fecac544e
7
+ data.tar.gz: c1e1a4006bddac350fd68b54f9b09fe46d0360810c8223fda7282d33cc7828ce3981b22e3cd0b00b690c4433827cb3940681fb55b7918b243425db00562e28c0
@@ -36,6 +36,10 @@ module Plat4m
36
36
  distro: 'macosx'
37
37
  }
38
38
  ver = `sw_vers --productVersion`.strip
39
+ if ver =~ /Usage:\s+sw_vers/
40
+ # older MacOSX
41
+ ver = `sw_vers -productVersion`.strip
42
+ end
39
43
  distro[:release] = ver.split('.').first
40
44
  distro[:version] = ver
41
45
  distro[:pkgman] = MacPkgManager.new
@@ -8,6 +8,6 @@
8
8
  module Plat4m
9
9
 
10
10
  # Current Plat4m version.
11
- VERSION = '1.0.3'
11
+ VERSION = '1.0.4'
12
12
 
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plat4m
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino