soda 1.4.3 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/SodaUtils.rb +6 -1
  2. data/lib/sodainfo.rb +1 -1
  3. metadata +4 -4
data/lib/SodaUtils.rb CHANGED
@@ -839,7 +839,12 @@ def SodaUtils.WaitSugarAjaxDone(browser, reportobj)
839
839
  reportobj.log("Calling: SugarWait.\n")
840
840
  t1 = Time.now()
841
841
 
842
- for i in 0..60
842
+ #We need to give the browser enough time to start its ajax requests
843
+ #This number can probably be lowered once tests start passing consistently
844
+ sleep(0.1)
845
+
846
+ #Maximum 15 second wait time
847
+ for i in 0..30
843
848
  tmp = SodaUtils.execute_script(js, false, browser, reportobj)
844
849
 
845
850
  case (tmp)
data/lib/sodainfo.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  require 'Soda'
2
2
 
3
- SODA_GEM_VERSION = "1.4.3"
3
+ SODA_GEM_VERSION = "1.4.5"
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: 1
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 3
10
- version: 1.4.3
9
+ - 5
10
+ version: 1.4.5
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-05-25 00:00:00 Z
18
+ date: 2011-06-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: firewatir