gondola 1.1.8 → 1.1.9.pre1
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/gondola.gemspec +3 -3
- data/lib/gondola/converter.rb +4 -1
- data/lib/gondola/testrunner.rb +2 -2
- data/lib/gondola/version.rb +1 -1
- metadata +6 -6
data/gondola.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{gondola}
|
|
8
|
-
s.version = "1.1.
|
|
8
|
+
s.version = "1.1.9.pre1"
|
|
9
9
|
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Matthew Perry"]
|
|
12
|
-
s.date = %q{2011-03-
|
|
12
|
+
s.date = %q{2011-03-23}
|
|
13
13
|
s.default_executable = %q{gondola}
|
|
14
14
|
s.description = %q{
|
|
15
15
|
Gondola is Ruby command line utility and as well as a library which helps
|
data/lib/gondola/converter.rb
CHANGED
|
@@ -29,7 +29,10 @@ module Gondola
|
|
|
29
29
|
# and returns valid selenium ruby code
|
|
30
30
|
def ruby
|
|
31
31
|
unless @ruby
|
|
32
|
-
@ruby =
|
|
32
|
+
@ruby = ""
|
|
33
|
+
enum = @body.lines
|
|
34
|
+
enum = enum.map { |l| l + "cmd_inc\n" }
|
|
35
|
+
enum.each { |l| @ruby << l }
|
|
33
36
|
end
|
|
34
37
|
@ruby
|
|
35
38
|
end
|
data/lib/gondola/testrunner.rb
CHANGED
|
@@ -87,7 +87,7 @@ module Gondola
|
|
|
87
87
|
# If the given test is just a file then start your search in
|
|
88
88
|
# its parent directory
|
|
89
89
|
unless File.directory? file
|
|
90
|
-
return config_from_file(File.dirname(file))
|
|
90
|
+
return config_from_file(File.expand_path(File.dirname(file)))
|
|
91
91
|
end
|
|
92
92
|
# Load any config files in the current directory only if
|
|
93
93
|
# a config hasn't already been found
|
|
@@ -109,7 +109,7 @@ module Gondola
|
|
|
109
109
|
# Recurse through the parent directories and merge the
|
|
110
110
|
# current configuration
|
|
111
111
|
unless file == File.dirname(file)
|
|
112
|
-
return config_from_file(File.dirname(file), api, data).merge(conf)
|
|
112
|
+
return config_from_file(File.expand_path(File.dirname(file)), api, data).merge(conf)
|
|
113
113
|
end
|
|
114
114
|
return conf
|
|
115
115
|
end
|
data/lib/gondola/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gondola
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
5
|
-
version: 1.1.
|
|
4
|
+
prerelease: 6
|
|
5
|
+
version: 1.1.9.pre1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Matthew Perry
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-03-
|
|
13
|
+
date: 2011-03-23 00:00:00 -04:00
|
|
14
14
|
default_executable: gondola
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -111,16 +111,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
111
111
|
requirements:
|
|
112
112
|
- - ">="
|
|
113
113
|
- !ruby/object:Gem::Version
|
|
114
|
-
hash:
|
|
114
|
+
hash: 636356211
|
|
115
115
|
segments:
|
|
116
116
|
- 0
|
|
117
117
|
version: "0"
|
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
none: false
|
|
120
120
|
requirements:
|
|
121
|
-
- - "
|
|
121
|
+
- - ">"
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version:
|
|
123
|
+
version: 1.3.1
|
|
124
124
|
requirements: []
|
|
125
125
|
|
|
126
126
|
rubyforge_project:
|