soda 1.2.9 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -234,7 +234,7 @@ class Soda
234
234
  end
235
235
 
236
236
  if (@params['browser'] =~ /firefox/i)
237
- for i in 0..2 do
237
+ for i in 0..10 do
238
238
  if (@params['profile'] != nil)
239
239
  result = SodaFireFox.CreateFireFoxBrowser(
240
240
  {:profile => "#{@params['profile']}"})
@@ -159,7 +159,8 @@ def SodaFireFox.KillProcessWindows()
159
159
  begin
160
160
  print "Killing Process ID: #{hash['pid']}, Name:"+
161
161
  "#{hash['name']}\n"
162
- Process.kill("KILL", hash['pid'])
162
+ cmd = "taskkill /F /T /PID #{hash['pid']}"
163
+ res = Kernel.system(cmd)
163
164
  rescue Exception => e
164
165
  print "(!)Exception : #{e.message}\n"
165
166
  result = -1
@@ -1,4 +1,4 @@
1
1
  require 'Soda'
2
2
 
3
- SODA_GEM_VERSION = "1.2.9"
3
+ SODA_GEM_VERSION = "1.3.0"
4
4
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soda
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 2
9
- - 9
10
- version: 1.2.9
8
+ - 3
9
+ - 0
10
+ version: 1.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Trampus Richmond
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-23 00:00:00 -07:00
18
+ date: 2011-03-25 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency