powder 0.3.0.pre2 → 0.3.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/powder +2 -2
- data/lib/powder/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: 4e4a35b1d405232538646453110547b32aba37b0
|
4
|
+
data.tar.gz: 17f115261003f7f702b3a0f7a099a41562ae4f46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e63e2ca725be0350fd318a099a9329324ed3705c8f43d55505a10cc6705f09352bf0f8b59de3688a22ba570233f4b6571f79141d355632facc1e1769b3fd51b4
|
7
|
+
data.tar.gz: b80d074eec145223790399be6df763ccab57bc3f44741c2e734db2b2fb7be66c88757e4e38e140304d4aa6e0514f5bdb91267460da20b83301f9d2175ff415ea
|
data/bin/powder
CHANGED
@@ -21,9 +21,9 @@ module Powder
|
|
21
21
|
map '-o' => 'open'
|
22
22
|
map '-v' => 'version'
|
23
23
|
|
24
|
-
MAC_OS_X_VERSION_REGEXP = /^(?<major_version>\d+)\.(?<minor_version>\d+)
|
24
|
+
MAC_OS_X_VERSION_REGEXP = /^(?<major_version>\d+)\.(?<minor_version>\d+)/
|
25
25
|
MAC_OS_X_MINOR_VERSION = begin
|
26
|
-
version_string = %x{sw_vers -productVersion}
|
26
|
+
version_string = %x{sw_vers -productVersion}.strip
|
27
27
|
version_string.match(MAC_OS_X_VERSION_REGEXP)[:minor_version].to_i
|
28
28
|
end
|
29
29
|
|
data/lib/powder/version.rb
CHANGED