deployhq 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/deploy/request.rb +2 -2
  2. metadata +35 -49
@@ -23,8 +23,8 @@ module Deploy
23
23
  uri = URI.parse([Deploy.site, @path].join('/'))
24
24
  http_request = http_class.new(uri.path)
25
25
  http_request.basic_auth(Deploy.email, Deploy.api_key)
26
- http_request.add_field("Accept", "application/json")
27
- http_request.add_field("Content-type", "application/json")
26
+ http_request["Accept"] = "application/json"
27
+ http_request["Content-type"] = "application/json"
28
28
 
29
29
  http = Net::HTTP.new(uri.host, uri.port)
30
30
  if uri.scheme == 'https'
metadata CHANGED
@@ -1,45 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: deployhq
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 0
9
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Adam Cooke
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2010-08-24 00:00:00 +01:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: json
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 4
30
- - 6
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
31
21
  version: 1.4.6
32
22
  type: :runtime
33
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.6
34
30
  description:
35
31
  email: adam@atechmedia.com
36
32
  executables: []
37
-
38
33
  extensions: []
39
-
40
34
  extra_rdoc_files: []
41
-
42
- files:
35
+ files:
43
36
  - lib/deploy/base.rb
44
37
  - lib/deploy/deployment.rb
45
38
  - lib/deploy/errors.rb
@@ -47,35 +40,28 @@ files:
47
40
  - lib/deploy/request.rb
48
41
  - lib/deploy/server.rb
49
42
  - lib/deploy.rb
50
- has_rdoc: true
51
43
  homepage: http://www.deployhq.com
52
44
  licenses: []
53
-
54
45
  post_install_message:
55
46
  rdoc_options: []
56
-
57
- require_paths:
47
+ require_paths:
58
48
  - lib
59
- required_ruby_version: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- segments:
64
- - 0
65
- version: "0"
66
- required_rubygems_version: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- segments:
71
- - 0
72
- version: "0"
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
73
61
  requirements: []
74
-
75
62
  rubyforge_project:
76
- rubygems_version: 1.3.6
63
+ rubygems_version: 1.8.24
77
64
  signing_key:
78
65
  specification_version: 3
79
66
  summary: API client for the DeployHQ deployment platform
80
67
  test_files: []
81
-