justinf-hydra 0.23.5 → 0.23.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.23.5
1
+ 0.23.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{justinf-hydra}
8
- s.version = "0.23.5"
8
+ s.version = "0.23.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nick Gauthier", "Justin Fitzsimmons"]
data/lib/hydra/tasks.rb CHANGED
@@ -273,7 +273,7 @@ module Hydra #:nodoc:
273
273
  def define
274
274
  desc "Run #{@name} remotely on all workers"
275
275
  task "hydra:remote:#{@name}" do
276
- config = YAML.load_file(@config)
276
+ config = Hydra::ProxyConfig.load(IO.read(@config))
277
277
  environment = config.fetch('environment') { 'test' }
278
278
  workers = config.fetch('workers') { [] }
279
279
  workers = workers.select{|w| w['type'] == 'ssh'}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: justinf-hydra
3
3
  version: !ruby/object:Gem::Version
4
- hash: 73
4
+ hash: 79
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 23
9
- - 5
10
- version: 0.23.5
9
+ - 6
10
+ version: 0.23.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nick Gauthier