arturop-hydra 0.23.4 → 0.24.0

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.
@@ -0,0 +1,126 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "nulogy-hydra"
8
+ s.version = "0.24.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Nick Gauthier", "Justin Fitzsimmons", "Victor Savkin", "Arturo Pie"]
12
+ s.date = "2012-02-15"
13
+ s.description = "Spread your tests over multiple machines to test your code faster."
14
+ s.email = "engineering@nulogy.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc",
18
+ "TODO"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "TODO",
26
+ "VERSION",
27
+ "caliper.yml",
28
+ "hydra-icon-64x64.png",
29
+ "hydra.gemspec",
30
+ "hydra_gray.png",
31
+ "lib/hydra.rb",
32
+ "lib/hydra/cucumber/formatter.rb",
33
+ "lib/hydra/cucumber/partial_html.rb",
34
+ "lib/hydra/hash.rb",
35
+ "lib/hydra/js/lint.js",
36
+ "lib/hydra/listener/abstract.rb",
37
+ "lib/hydra/listener/cucumber.css",
38
+ "lib/hydra/listener/cucumber_html_report.rb",
39
+ "lib/hydra/listener/jquery-min.js",
40
+ "lib/hydra/listener/minimal_output.rb",
41
+ "lib/hydra/listener/notifier.rb",
42
+ "lib/hydra/listener/progress_bar.rb",
43
+ "lib/hydra/listener/report_generator.rb",
44
+ "lib/hydra/master.rb",
45
+ "lib/hydra/message.rb",
46
+ "lib/hydra/message/master_messages.rb",
47
+ "lib/hydra/message/runner_messages.rb",
48
+ "lib/hydra/message/worker_messages.rb",
49
+ "lib/hydra/messaging_io.rb",
50
+ "lib/hydra/pipe.rb",
51
+ "lib/hydra/proxy_config.rb",
52
+ "lib/hydra/runner.rb",
53
+ "lib/hydra/runner_listener/abstract.rb",
54
+ "lib/hydra/safe_fork.rb",
55
+ "lib/hydra/spec/autorun_override.rb",
56
+ "lib/hydra/spec/hydra_formatter.rb",
57
+ "lib/hydra/ssh.rb",
58
+ "lib/hydra/stdio.rb",
59
+ "lib/hydra/sync.rb",
60
+ "lib/hydra/tasks.rb",
61
+ "lib/hydra/threadsafe_io.rb",
62
+ "lib/hydra/tmpdir.rb",
63
+ "lib/hydra/trace.rb",
64
+ "lib/hydra/worker.rb",
65
+ "nulogy-hydra.gemspec",
66
+ "test/fixtures/assert_true.rb",
67
+ "test/fixtures/bad_proxy_config.yml",
68
+ "test/fixtures/config.yml",
69
+ "test/fixtures/conflicting.rb",
70
+ "test/fixtures/features/step_definitions.rb",
71
+ "test/fixtures/features/write_alternate_file.feature",
72
+ "test/fixtures/features/write_file.feature",
73
+ "test/fixtures/hello_world.rb",
74
+ "test/fixtures/hydra_worker_init.rb",
75
+ "test/fixtures/js_file.js",
76
+ "test/fixtures/json_data.json",
77
+ "test/fixtures/many_outputs_to_console.rb",
78
+ "test/fixtures/master_listeners.rb",
79
+ "test/fixtures/proxy_config.yml",
80
+ "test/fixtures/proxy_config_http.yml",
81
+ "test/fixtures/runner_listeners.rb",
82
+ "test/fixtures/slow.rb",
83
+ "test/fixtures/sync_test.rb",
84
+ "test/fixtures/task_test_config.yml",
85
+ "test/fixtures/write_file.rb",
86
+ "test/fixtures/write_file_alternate_spec.rb",
87
+ "test/fixtures/write_file_spec.rb",
88
+ "test/fixtures/write_file_with_pending_spec.rb",
89
+ "test/master_test.rb",
90
+ "test/message_test.rb",
91
+ "test/pipe_test.rb",
92
+ "test/proxy_config_test.rb",
93
+ "test/runner_test.rb",
94
+ "test/ssh_test.rb",
95
+ "test/sync_test.rb",
96
+ "test/task_test.rb",
97
+ "test/test_helper.rb",
98
+ "test/worker_test.rb"
99
+ ]
100
+ s.homepage = "http://github.com/nulogy/hydra"
101
+ s.require_paths = ["lib"]
102
+ s.rubygems_version = "1.8.15"
103
+ s.summary = "Distributed testing toolkit"
104
+
105
+ if s.respond_to? :specification_version then
106
+ s.specification_version = 3
107
+
108
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
109
+ s.add_development_dependency(%q<shoulda>, ["= 2.10.3"])
110
+ s.add_development_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
111
+ s.add_development_dependency(%q<cucumber>, ["= 1.1.4"])
112
+ s.add_development_dependency(%q<therubyracer>, ["= 0.9.9"])
113
+ else
114
+ s.add_dependency(%q<shoulda>, ["= 2.10.3"])
115
+ s.add_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
116
+ s.add_dependency(%q<cucumber>, ["= 1.1.4"])
117
+ s.add_dependency(%q<therubyracer>, ["= 0.9.9"])
118
+ end
119
+ else
120
+ s.add_dependency(%q<shoulda>, ["= 2.10.3"])
121
+ s.add_dependency(%q<rspec>, ["= 2.0.0.beta.19"])
122
+ s.add_dependency(%q<cucumber>, ["= 1.1.4"])
123
+ s.add_dependency(%q<therubyracer>, ["= 0.9.9"])
124
+ end
125
+ end
126
+
@@ -0,0 +1,4 @@
1
+ ---
2
+ proxy:
3
+ path: test/fixtures/config.yml
4
+ type: fjoeaij
@@ -0,0 +1,4 @@
1
+ ---
2
+ proxy:
3
+ path: test/fixtures/config.yml
4
+ type: file
@@ -0,0 +1,4 @@
1
+ ---
2
+ proxy:
3
+ path: http://mocked/url
4
+ type: http
@@ -0,0 +1,31 @@
1
+ require File.join(File.dirname(__FILE__), 'test_helper')
2
+ require 'yaml'
3
+ require 'hydra/proxy_config'
4
+
5
+ class ProxyConfigTest < Test::Unit::TestCase
6
+
7
+ context "proxy config" do
8
+ should "fetch and parse yml from a file source" do
9
+ assert_equal YAML::load_file("test/fixtures/config.yml"), Hydra::ProxyConfig.load(File.read("test/fixtures/proxy_config.yml"))
10
+ end
11
+ should "fetch and parse yml from a http source" do
12
+ class Net::HTTP
13
+ def self.get(path)
14
+ return File.new("test/fixtures/config.yml", "r").read
15
+ end
16
+ end
17
+ assert_equal YAML::load_file("test/fixtures/config.yml"), Hydra::ProxyConfig.load(File.read("test/fixtures/proxy_config_http.yml"))
18
+ end
19
+ should "raise exception when type is unknown" do
20
+ assert_raise Hydra::UnknownProxyType do
21
+ Hydra::ProxyConfig.load(File.read("test/fixtures/bad_proxy_config.yml"))
22
+ end
23
+ end
24
+ end
25
+
26
+ context "normal hydra config" do
27
+ should "return unserialized configuration" do
28
+ assert_equal YAML::load_file("test/fixtures/config.yml"), Hydra::ProxyConfig.load(File.read("test/fixtures/config.yml"))
29
+ end
30
+ end
31
+ end
metadata CHANGED
@@ -1,24 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arturop-hydra
3
3
  version: !ruby/object:Gem::Version
4
- hash: 75
5
- prerelease: false
4
+ hash: 127
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 23
9
- - 4
10
- version: 0.23.4
8
+ - 24
9
+ - 0
10
+ version: 0.24.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nick Gauthier
14
+ - Justin Fitzsimmons
15
+ - Victor Savkin
14
16
  - Arturo Pie
15
- - Sean Kirby
16
17
  autorequire:
17
18
  bindir: bin
18
19
  cert_chain: []
19
20
 
20
- date: 2011-06-06 00:00:00 -04:00
21
- default_executable:
21
+ date: 2012-02-15 00:00:00 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: shoulda
@@ -62,12 +62,12 @@ dependencies:
62
62
  requirements:
63
63
  - - "="
64
64
  - !ruby/object:Gem::Version
65
- hash: 63
65
+ hash: 27
66
66
  segments:
67
- - 0
68
- - 9
69
- - 2
70
- version: 0.9.2
67
+ - 1
68
+ - 1
69
+ - 4
70
+ version: 1.1.4
71
71
  type: :development
72
72
  version_requirements: *id003
73
73
  - !ruby/object:Gem::Dependency
@@ -78,16 +78,16 @@ dependencies:
78
78
  requirements:
79
79
  - - "="
80
80
  - !ruby/object:Gem::Version
81
- hash: 11
81
+ hash: 41
82
82
  segments:
83
83
  - 0
84
- - 7
85
- - 4
86
- version: 0.7.4
84
+ - 9
85
+ - 9
86
+ version: 0.9.9
87
87
  type: :development
88
88
  version_requirements: *id004
89
89
  description: Spread your tests over multiple machines to test your code faster.
90
- email: nick@smartlogicsolutions.com
90
+ email: arturotd08@yahoo.ca
91
91
  executables: []
92
92
 
93
93
  extensions: []
@@ -109,9 +109,13 @@ files:
109
109
  - hydra_gray.png
110
110
  - lib/hydra.rb
111
111
  - lib/hydra/cucumber/formatter.rb
112
+ - lib/hydra/cucumber/partial_html.rb
112
113
  - lib/hydra/hash.rb
113
114
  - lib/hydra/js/lint.js
114
115
  - lib/hydra/listener/abstract.rb
116
+ - lib/hydra/listener/cucumber.css
117
+ - lib/hydra/listener/cucumber_html_report.rb
118
+ - lib/hydra/listener/jquery-min.js
115
119
  - lib/hydra/listener/minimal_output.rb
116
120
  - lib/hydra/listener/notifier.rb
117
121
  - lib/hydra/listener/progress_bar.rb
@@ -123,6 +127,7 @@ files:
123
127
  - lib/hydra/message/worker_messages.rb
124
128
  - lib/hydra/messaging_io.rb
125
129
  - lib/hydra/pipe.rb
130
+ - lib/hydra/proxy_config.rb
126
131
  - lib/hydra/runner.rb
127
132
  - lib/hydra/runner_listener/abstract.rb
128
133
  - lib/hydra/safe_fork.rb
@@ -132,10 +137,13 @@ files:
132
137
  - lib/hydra/stdio.rb
133
138
  - lib/hydra/sync.rb
134
139
  - lib/hydra/tasks.rb
140
+ - lib/hydra/threadsafe_io.rb
135
141
  - lib/hydra/tmpdir.rb
136
142
  - lib/hydra/trace.rb
137
143
  - lib/hydra/worker.rb
144
+ - nulogy-hydra.gemspec
138
145
  - test/fixtures/assert_true.rb
146
+ - test/fixtures/bad_proxy_config.yml
139
147
  - test/fixtures/config.yml
140
148
  - test/fixtures/conflicting.rb
141
149
  - test/fixtures/features/step_definitions.rb
@@ -147,6 +155,8 @@ files:
147
155
  - test/fixtures/json_data.json
148
156
  - test/fixtures/many_outputs_to_console.rb
149
157
  - test/fixtures/master_listeners.rb
158
+ - test/fixtures/proxy_config.yml
159
+ - test/fixtures/proxy_config_http.yml
150
160
  - test/fixtures/runner_listeners.rb
151
161
  - test/fixtures/slow.rb
152
162
  - test/fixtures/sync_test.rb
@@ -158,14 +168,14 @@ files:
158
168
  - test/master_test.rb
159
169
  - test/message_test.rb
160
170
  - test/pipe_test.rb
171
+ - test/proxy_config_test.rb
161
172
  - test/runner_test.rb
162
173
  - test/ssh_test.rb
163
174
  - test/sync_test.rb
164
175
  - test/task_test.rb
165
176
  - test/test_helper.rb
166
177
  - test/worker_test.rb
167
- has_rdoc: true
168
- homepage: http://github.com/ngauthier/hydra
178
+ homepage: http://github.com/nulogy/hydra
169
179
  licenses: []
170
180
 
171
181
  post_install_message:
@@ -194,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
204
  requirements: []
195
205
 
196
206
  rubyforge_project:
197
- rubygems_version: 1.3.7
207
+ rubygems_version: 1.8.15
198
208
  signing_key:
199
209
  specification_version: 3
200
210
  summary: Distributed testing toolkit