gondola 1.1.4 → 1.1.5

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/examples/config.yml CHANGED
@@ -1,11 +1,11 @@
1
- project_name: "Test Project"
2
- base_url: "http://www.google.com"
3
- browsers:
1
+ :project_name: "Test Project"
2
+ :base_url: "http://www.google.com"
3
+ :browsers:
4
4
  -
5
- os: "Windows 2003"
6
- browser: "firefox"
7
- browser_version: "3.6"
5
+ :os: "Windows 2003"
6
+ :browser: "firefox"
7
+ :browser_version: "3.6"
8
8
  -
9
- os: "Windows 2003"
10
- browser: "iexplore"
11
- browser_version: "8"
9
+ :os: "Windows 2003"
10
+ :browser: "iexplore"
11
+ :browser_version: "8"
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.4"
8
+ s.version = "1.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matthew Perry"]
12
- s.date = %q{2011-03-09}
12
+ s.date = %q{2011-03-10}
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
@@ -73,10 +73,6 @@ module Gondola
73
73
  conf.merge! YAML.load_file(path)
74
74
  end
75
75
  end
76
- conf = conf.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
77
- conf[:browsers].map! do |browser|
78
- browser.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
79
- end
80
76
  return conf
81
77
  end
82
78
 
@@ -95,6 +91,7 @@ module Gondola
95
91
  if conf[:project_name]
96
92
  global[:job_name] = "#{conf[:project_name]} - #{global[:job_name]}"
97
93
  end
94
+ global.merge! conf.select { |k,v| [:username, :access_key].include?(k) }
98
95
  global[:browser_url] = conf[:base_url]
99
96
  # Spawn n threads
100
97
  Parallel.map(conf[:browsers], :in_threads => conf[:browsers].size)do |browser|
@@ -1,3 +1,3 @@
1
1
  module Gondola
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gondola
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.4
5
+ version: 1.1.5
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-09 00:00:00 -05:00
13
+ date: 2011-03-10 00:00:00 -05:00
14
14
  default_executable: gondola
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- hash: -286975601
115
+ hash: -636378161
116
116
  segments:
117
117
  - 0
118
118
  version: "0"