WindowsInstaller 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/WindowsInstaller.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc69b5a9bfaf4057bd08f3d3a431a596af7e4d15
4
- data.tar.gz: 917d55175c816b8dd6d506726f8af01db92f655a
3
+ metadata.gz: be207c2db3085807a04d774733ce76ebf39dc9a2
4
+ data.tar.gz: 2a403b3a3e2a08c9ea31a5939fcba9dfbd641549
5
5
  SHA512:
6
- metadata.gz: cea33f07180d9f22b9f8b43ec3edc48ae0686ca6e3af7b181b774c01679cf1760ba48fcc9fc6911af7a546a8c28c44e4198c24c02ec55d76e7a24030b9270521
7
- data.tar.gz: 731787034a6d0b61da149f99a62a0502fdd16e499db44deab2c2372d6580c1cc4e2d5bed493a4517fe1a4f2c3f84123fe64b7af8426d294d6fe728264f60202e
6
+ metadata.gz: 69974e884782a9b58d04d212f90a74c6d551e5df162e2e98377aed0cdfecd78c1aceea0434049b5157a28460af9556e5781ed88a7918eae41f2424afda4e55d4
7
+ data.tar.gz: 99eb5b7227b951bea6abe9ff5ace2cd088bf93c1b45fc65d6035047a719f5fa425dd1ec433d34e411aae7453861ab2ce15bb76b22055c74cd12540659f48d5cb
@@ -120,7 +120,7 @@ class WindowsInstaller < Hash
120
120
  return properties
121
121
  end
122
122
 
123
- def product_codes_from_upgrade_code(upgrade_code)
123
+ def product_codes(upgrade_code)
124
124
  upgrade_codes = get_upgrade_codes
125
125
  return (upgrade_codes.key?(upgrade_code)) ? upgrade_codes[upgrade_code] : nil
126
126
  end
@@ -179,7 +179,7 @@ class WindowsInstaller < Hash
179
179
  return nil if(!product_code_installed?(product_code))
180
180
  upgrade_codes = get_upgrade_codes
181
181
  upgrade_codes.each do |upgrade_code, product_codes|
182
- product_codes.each { |pc| return upgrade_code if(pc == produt_code) }
182
+ product_codes.each { |pc| return upgrade_code if(pc == product_code) }
183
183
  end
184
184
  return nil
185
185
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: WindowsInstaller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall