WindowsInstaller 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/WindowsInstaller.rb +5 -2
- 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: af28eb733a4760b5e0fa873760afd6e1fc205a71
|
4
|
+
data.tar.gz: 24c477dfd03466d5d62d240634c0503ed9773306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 910e586067f8ed178d43fbef211316ebe59b1bdc026cb75d133dc3c89268756651543b3e42d95ec7b2f2fd65c5e616ecba6d462c1797ef4e6ddc19799bbae926
|
7
|
+
data.tar.gz: c108ad6dda0e0f24143af8acdde95d2fe384722a8f4e294f67a0c9e106e4f4e88baec318321dc720a9e7b250c794f4ee69efc325b9cd5165198b2d01f75e243d
|
data/lib/WindowsInstaller.rb
CHANGED
@@ -95,8 +95,11 @@ class WindowsInstaller < Hash
|
|
95
95
|
return properties
|
96
96
|
end
|
97
97
|
|
98
|
-
def installation_properties(
|
99
|
-
|
98
|
+
def installation_properties(product_name_or_product_code)
|
99
|
+
properties = installed_properties(product_name_or_product_code)
|
100
|
+
return properties unless(properties.nil?)
|
101
|
+
|
102
|
+
product_code = installed_get_product_code(product_name_or_product_code)
|
100
103
|
return nil if(product_code == '')
|
101
104
|
|
102
105
|
return installed_properties(product_code)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: WindowsInstaller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|