soda 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/Soda.rb CHANGED
@@ -31,7 +31,7 @@ module Soda
31
31
  # Module Global Info:
32
32
  ###############################################################################
33
33
  SODA_VERSION = 1.1
34
- SODA_WATIR_VERSION = "1.7.1"
34
+ SODA_WATIR_VERSION = "1.8.0"
35
35
 
36
36
  ###############################################################################
37
37
  # Needed Ruby libs:
@@ -39,8 +39,8 @@ SODA_WATIR_VERSION = "1.7.1"
39
39
  require 'rubygems'
40
40
  require 'rbconfig'
41
41
  require 'pathname'
42
- gem 'commonwatir', '= 1.7.1'
43
- gem 'firewatir', '= 1.7.1'
42
+ gem 'commonwatir', '= 1.8.0'
43
+ gem 'firewatir', '= 1.8.0'
44
44
  require "watir"
45
45
  require 'SodaUtils'
46
46
  require "SodaReporter"
@@ -159,6 +159,7 @@ class Soda
159
159
  @SugarWait = params['sugarwait']
160
160
  end
161
161
 
162
+
162
163
  # stack of elements allowing for parent child hierchy
163
164
  # <form id='myform'><textfield name='myfield'/></form>
164
165
  @parentEl = []
@@ -2746,7 +2747,7 @@ JSCode
2746
2747
  shooter = SodaScreenShot.new(result_dir)
2747
2748
  image_file = shooter.GetOutputFile()
2748
2749
  @rep.log("ScreenShot taken: #{image_file}\n")
2749
- rescue Exception => e
2750
+ rescue Exception => e
2750
2751
  @rep.ReportException(e)
2751
2752
  ensure
2752
2753
  end
data/lib/SodaFireFox.rb CHANGED
@@ -29,8 +29,8 @@
29
29
  # Needed ruby libs:
30
30
  ###############################################################################
31
31
  require 'rubygems'
32
- gem 'commonwatir', '= 1.7.1'
33
- gem 'firewatir', '= 1.7.1'
32
+ gem 'commonwatir', '= 1.8.0'
33
+ gem 'firewatir', '= 1.8.0'
34
34
  require 'watir'
35
35
  require 'SodaUtils'
36
36
 
@@ -1052,8 +1052,8 @@ def GenHtmlReport2(data, reportfile, create_links = false)
1052
1052
  end
1053
1053
 
1054
1054
  test_totals = summary_totals['Total Test Count']
1055
- test_totals -= summary_totals['Test Skip Count']
1056
- test_totals -= summary_totals['Test Blocked Count']
1055
+ test_totals += summary_totals['Test Skip Count']
1056
+ test_totals += summary_totals['Test Blocked Count']
1057
1057
 
1058
1058
  total_failures = 0
1059
1059
  total_failures += summary_totals['Test Failure Count']
@@ -1063,8 +1063,8 @@ def GenHtmlReport2(data, reportfile, create_links = false)
1063
1063
 
1064
1064
  sub_totals = "<tr id=\"totals\">\n"+
1065
1065
  "\t<td class=\"td_header_master\">Totals:</td>\n"+
1066
- "\t<td class=\"td_footer_run\">#{test_totals}"+
1067
- "/#{summary_totals['Total Test Count']}</td>\n"+
1066
+ "\t<td class=\"td_footer_run\">#{summary_totals['Total Test Count']}"+
1067
+ "/#{test_totals}</td>\n"+
1068
1068
  "\t<td class=\"td_footer_passed\">#{summary_totals['Test Pass Count']}"+
1069
1069
  "</td>\n"+
1070
1070
  "\t<td class=\"td_footer_failed\">"+
data/lib/sodainfo.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  require 'Soda'
2
2
 
3
- SODA_GEM_VERSION = "1.2.0"
3
+ SODA_GEM_VERSION = "1.2.1"
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Trampus Richmond
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - "="
28
28
  - !ruby/object:Gem::Version
29
- hash: 9
29
+ hash: 55
30
30
  segments:
31
31
  - 1
32
- - 7
33
- - 1
34
- version: 1.7.1
32
+ - 8
33
+ - 0
34
+ version: 1.8.0
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency