WindowsInstaller 0.1.17 → 0.1.20

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 +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b2ad077d78a4f871bc7ff2d4bc2e3b0b5370955
4
- data.tar.gz: 60a292840ae146ac97f0ac0521beb02bcfb41a8f
3
+ metadata.gz: 5b7903375aebbbda81cb7ee7e36822c95e78c8f9
4
+ data.tar.gz: 7c6506d8d6a72ba761679d3b55195314ffe7d82d
5
5
  SHA512:
6
- metadata.gz: c7a88a6f5e66bca188a5b0b8e3c2dbe13749d1976369d42076b6efc31c835e7446c0bd5a5fd2ca078579e2a343158ec23afca2088a9a5d4aa4792736de37a31b
7
- data.tar.gz: 979adda3f7d7e2c365f46e00658f95890ce4d6d8c70dae35f436a2c857479abebdbf6b8d20110ede4d9d8de2e09e1a1aca7061eaee63e4356c11cd0450ec4cac
6
+ metadata.gz: 0c2f12f8016b470773db8fbc177a08145861b54e9962a051b3823e3a35221129e58cb2c386c8dcb98c5676d0d4d92dfbd96743bb1acdbc0ed28fec9eb7fabef1
7
+ data.tar.gz: 0af26f48d67f769c441ed05f93bf14f121aa4abd2f39443c2d2007f5d2925b70e0b8116541a07a320a617cbbf47fcdf83d48c5af5c6aaa4fa16751e8bfc923c9
@@ -1,5 +1,5 @@
1
1
  require 'win32ole'
2
- require 'cmd'
2
+ require 'execute'
3
3
  require 'sys/proctable'
4
4
 
5
5
  class WindowsInstaller < Hash
@@ -189,14 +189,14 @@ class WindowsInstaller < Hash
189
189
  if(self.has_key?(:administrative_user))
190
190
  msiexec_admin(cmd, cmd_options)
191
191
  else
192
- command = CMD.new(cmd, cmd_options)
192
+ command = Execute.new(cmd, cmd_options)
193
193
  command.execute
194
194
  end
195
195
  end
196
196
 
197
197
  def msiexec_admin(cmd, options)
198
198
  cmd = "runas /noprofile /savecred /user:#{self[:administrative_user]} \"#{cmd}\""
199
- command = CMD.new(cmd, options)
199
+ command = Execute.new(cmd, options)
200
200
  wait_on_spawned(cmd) { cmd.execute }
201
201
  end
202
202
 
metadata CHANGED
@@ -1,31 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: WindowsInstaller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-05 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: execute
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
19
+ version: 0.1.63
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.1.63
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: dev
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: execute
70
+ name: dev
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"