WindowsInstaller 0.1.28 → 0.1.29

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 +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d25fe61ae528fdece49b640efe1d92d4417e65423f11ba5b77ef2b4af866bde
4
- data.tar.gz: 45fde1c5da6b76381ccea3d42f287ea07c4a87cdbeb0cfbf9d3bc0db3ee8831b
3
+ metadata.gz: b9921e2472c23fd4886a164740d681855777d6591367de36f696bf56b5248a22
4
+ data.tar.gz: 7115cffd2462c008c2902a1681aacbe53c643d9fe2b40083d6e54a55bbb42739
5
5
  SHA512:
6
- metadata.gz: f3d304b967f8e02a62e5d25068aafcf3b07076f67d4c516580a9e9142822df7127af6db59215fa7a322c20b92ef6bc66a763ef1fa96b698b0bf35e75163b5b3e
7
- data.tar.gz: 68c8551758d7f2caffdc65b744201ff421eedfd2ecf80b074ddfc8fcb4b841f43ed2ffbe6dcb0b4cf4d0b00bebd3fdc3b6530c4be0b771424fa8a415bd68cb85
6
+ metadata.gz: a8f5d9a9c419520e07aeda3badff66b776618511ade0441cf8438ee1347dea8d5dc2e8cf707f6713f81fc4a79a9785c372e07db0646586ba4f91ec826bfb9004
7
+ data.tar.gz: 90f89fe1b66ab41cbcb541cfa5f5206122b7da9d51073e3e9540cf563e69b48c9c8803c65e8b1475a2419cd73d2c82b23e1a8a14dcd67fe231a78e908a5678c1
@@ -34,7 +34,7 @@ class WindowsInstaller < Hash
34
34
  end
35
35
 
36
36
  def install_msi(msi_file)
37
- raise "#{msi_file} does not exist!" unless(File.exists?(msi_file))
37
+ raise "#{msi_file} does not exist!" unless(File.exist?(msi_file))
38
38
 
39
39
  msi_file = File.absolute_path(msi_file).gsub(/\//, '\\')
40
40
 
@@ -47,7 +47,7 @@ class WindowsInstaller < Hash
47
47
  end
48
48
 
49
49
  def uninstall_msi(msi_file)
50
- raise "#{msi_file} does not exist!" unless(File.exists?(msi_file))
50
+ raise "#{msi_file} does not exist!" unless(File.exist?(msi_file))
51
51
  info = msi_properties(msi_file)
52
52
  uninstall_product_code(info['ProductCode'])
53
53
  end
@@ -72,7 +72,7 @@ class WindowsInstaller < Hash
72
72
  end
73
73
 
74
74
  def msi_properties(msi_file)
75
- raise "#{msi_file} does not exist!" unless(File.exists?(msi_file))
75
+ raise "#{msi_file} does not exist!" unless(File.exist?(msi_file))
76
76
 
77
77
  properties = {}
78
78
 
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.28
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall