capistrano-hivequeen 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  ## If your rubyforge_project name is different, then edit it and comment out
7
7
  ## the sub! line in the Rakefile
8
8
  s.name = 'capistrano-hivequeen'
9
- s.version = '0.4.2'
9
+ s.version = '0.4.3'
10
10
  s.date = '2011-10-07'
11
11
 
12
12
  ## Make sure your summary is short. The description may be as long
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
38
38
  s.add_dependency('capistrano-ext')
39
39
  s.add_dependency('capistrano')
40
40
  s.add_dependency('json')
41
+ s.add_dependency('excon', '>= 0.6.0') # Perhaps we can support older. Haven't checked.
41
42
 
42
43
  ## List your development dependencies here. Development dependencies are
43
44
  ## those that are only needed during development
@@ -62,7 +62,7 @@ class HiveQueen
62
62
  def fetch(path)
63
63
  url = "#{endpoint}#{path}"
64
64
  logger.trace "Fetching #{url}"
65
- response = connection.get(:path => path, :headers => auth_header)
65
+ response = connection.request(:method => 'GET', :path => path, :headers => auth_header)
66
66
  unless (200..299).include?(response.status)
67
67
  raise "Request to #{url} returned #{response.status} status"
68
68
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-hivequeen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 2
10
- version: 0.4.2
9
+ - 3
10
+ version: 0.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aaron Suggs
@@ -60,6 +60,22 @@ dependencies:
60
60
  version: "0"
61
61
  type: :runtime
62
62
  version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: excon
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 7
72
+ segments:
73
+ - 0
74
+ - 6
75
+ - 0
76
+ version: 0.6.0
77
+ type: :runtime
78
+ version_requirements: *id004
63
79
  description: Capistrano extensions for interacting with HiveQueen
64
80
  email: aaron@kickstarter.com
65
81
  executables: []