gondola 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gondola +3 -8
- data/examples/gondola_agora_fail.html +1 -1
- data/examples/gondola_agora_pass.html +1 -1
- data/lib/gondola/converter.rb +0 -2
- metadata +31 -4
data/bin/gondola
CHANGED
@@ -21,16 +21,14 @@ require 'gondola'
|
|
21
21
|
# Function to configure sauce labs' gem with proper api information
|
22
22
|
# as well as populate the configuration for the specific test being run
|
23
23
|
def configure( file )
|
24
|
+
puts "Configuring"
|
24
25
|
# Load possible paths for the api information (Sauce already does this to some extent
|
25
26
|
# but more paths were required for this gem
|
26
27
|
api = {}
|
27
28
|
apiPaths = [
|
28
|
-
"ondemand.yml",
|
29
|
-
File.expand_path( "../ondemand.yml", __FILE__ ),
|
29
|
+
File.expand_path( File.join( file, "ondemand.yml" ) ),
|
30
30
|
File.expand_path( File.join( File.dirname( file ), "ondemand.yml" ) ),
|
31
31
|
File.expand_path( File.join( File.dirname( file ), "../ondemand.yml" ) ),
|
32
|
-
File.expand_path( File.join( file, "ondemand.yml" ) ),
|
33
|
-
File.expand_path( File.join( file, "../ondemand.yml" ) ),
|
34
32
|
]
|
35
33
|
apiPaths.each do |path|
|
36
34
|
if File.exists?( path )
|
@@ -42,12 +40,9 @@ def configure( file )
|
|
42
40
|
# Load possible paths for the configuration information
|
43
41
|
conf = {}
|
44
42
|
configPaths = [
|
45
|
-
"config.yml",
|
46
|
-
File.expand_path( "../config.yml", __FILE__ ),
|
47
|
-
File.expand_path( File.join( File.dirname( file ), "config.yml" ) ),
|
48
43
|
File.expand_path( File.join( File.dirname( file ), "../config.yml" ) ),
|
44
|
+
File.expand_path( File.join( File.dirname( file ), "config.yml" ) ),
|
49
45
|
File.expand_path( File.join( file, "config.yml" ) ),
|
50
|
-
File.expand_path( File.join( file, "../config.yml" ) ),
|
51
46
|
]
|
52
47
|
configPaths.each do |path|
|
53
48
|
if File.exists?( path )
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
6
|
<link rel="selenium.base" href="http://www.google.com/" />
|
7
|
-
<title>
|
7
|
+
<title>gondola_agora_fail</title>
|
8
8
|
</head>
|
9
9
|
<body>
|
10
10
|
<table cellpadding="1" cellspacing="1" border="1">
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
6
|
<link rel="selenium.base" href="http://www.google.com/" />
|
7
|
-
<title>
|
7
|
+
<title>gondola_agora_pass</title>
|
8
8
|
</head>
|
9
9
|
<body>
|
10
10
|
<table cellpadding="1" cellspacing="1" border="1">
|
data/lib/gondola/converter.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gondola
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
version: 1.0.4
|
6
10
|
platform: ruby
|
7
11
|
authors:
|
8
12
|
- Matthew Perry
|
@@ -10,7 +14,7 @@ autorequire:
|
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
16
|
|
13
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-07 00:00:00 -05:00
|
14
18
|
default_executable:
|
15
19
|
dependencies:
|
16
20
|
- !ruby/object:Gem::Dependency
|
@@ -21,9 +25,28 @@ dependencies:
|
|
21
25
|
requirements:
|
22
26
|
- - ">="
|
23
27
|
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
- 17
|
31
|
+
- 5
|
24
32
|
version: 0.17.5
|
25
33
|
type: :runtime
|
26
34
|
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: parallel
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
- 5
|
46
|
+
- 2
|
47
|
+
version: 0.5.2
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
27
50
|
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"
|
28
51
|
email: mperry@agoragames.com
|
29
52
|
executables:
|
@@ -57,17 +80,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
80
|
requirements:
|
58
81
|
- - ">="
|
59
82
|
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
60
85
|
version: "0"
|
61
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
87
|
none: false
|
63
88
|
requirements:
|
64
89
|
- - ">="
|
65
90
|
- !ruby/object:Gem::Version
|
91
|
+
segments:
|
92
|
+
- 0
|
66
93
|
version: "0"
|
67
94
|
requirements: []
|
68
95
|
|
69
96
|
rubyforge_project:
|
70
|
-
rubygems_version: 1.
|
97
|
+
rubygems_version: 1.3.7
|
71
98
|
signing_key:
|
72
99
|
specification_version: 3
|
73
100
|
summary: Ruby command line utility and library for integrating the Selenium IDE more tightly with Sauce Labs' Ondemand services
|