gondola 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/gondola +6 -2
- data/lib/gondola/converter.rb +4 -0
- metadata +2 -2
data/bin/gondola
CHANGED
@@ -57,8 +57,12 @@ def configure( file )
|
|
57
57
|
|
58
58
|
# Configure Sauce accordingly
|
59
59
|
Sauce.config do |config|
|
60
|
-
|
61
|
-
|
60
|
+
if api["username"]
|
61
|
+
config.username = api["username"]
|
62
|
+
end
|
63
|
+
if api["access_key"]
|
64
|
+
config.access_key = api["access_key"]
|
65
|
+
end
|
62
66
|
config.browser_url = conf["base_url"]
|
63
67
|
config.browsers = conf["browsers"]
|
64
68
|
config.job_name = conf["project_name"]
|
data/lib/gondola/converter.rb
CHANGED
@@ -115,6 +115,10 @@ module Gondola
|
|
115
115
|
|
116
116
|
# Wait For command
|
117
117
|
when /^waitFor(.*)$/ then
|
118
|
+
# Special case
|
119
|
+
if $1 == "PageToLoad"
|
120
|
+
return "#{@sObject}.wait_for_page_to_load \"30000\""
|
121
|
+
end
|
118
122
|
# The expression that is checked against depends on whether
|
119
123
|
# or not the command uses the "is" or the "get" symantic
|
120
124
|
if commandIs( $1 )
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gondola
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matthew Perry
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ">="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.17.
|
24
|
+
version: 0.17.5
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
description: " Gondola is Ruby command line utility and as well as a library which helps\n for integrate the Selenium IDE more tightly with Sauce Labs' Ondemand services and\n provide greater ease for those who would like to use both tools but do not have\n enough technical knowledge\n"
|