openstack 2.0.2 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6aa4981b8693d6fd48912f20b6c43afe6d18a95e
4
- data.tar.gz: 0f45c93f9539a94b55d8d5f4e0bbdf381f03d874
3
+ metadata.gz: 884339fc18898d36fca662e853c156bb029b193f
4
+ data.tar.gz: f85e37571dc9182651aec8019cec200b023d3de7
5
5
  SHA512:
6
- metadata.gz: abb9b0882bf767eda9fc9e892ae5dc11966b69cd164c4a0370f9fa83ee4f4f98960871acd46647516577e9d3a6b5aeea0b402a8f96f20b0f252087e8d372094b
7
- data.tar.gz: 0dd7ef4e9cf3b9dce4ed747338a31125ffd83e21bebd0aefdc8ede1ce976c2b9f3170f989508e75a3dcf153f489f2e28d724045b01a558cb9ec4eaa8d9fd8370
6
+ metadata.gz: c237b9cf749c80d7147c954fb2239032dd5dffed0eeca36f87874bb549147c36713c7b851673a38c2c01e2ebbd6c4791f76553075c3d1c367672261bd5bc4515
7
+ data.tar.gz: a18111ee6f10c9137e983f1afa4a0ae3d32504b80704f005bd037115283ba8a64f869935e30274db322bdd7ae87361d0a74cadec143cb7f7502ab1c760983580
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.2.0
@@ -1,3 +1,5 @@
1
+ require 'rubygems'
2
+
1
3
  module OpenStack
2
4
 
3
5
  class Connection
@@ -142,7 +144,7 @@ class Connection
142
144
  start_http(server,path,port,scheme,hdrhash)
143
145
  response = @http[server].request(request)
144
146
  if @is_debug
145
- puts "REQUEST: #{method} => #{path}"
147
+ puts "REQUEST: PUT => #{path}"
146
148
  puts data if data
147
149
  puts "RESPONSE: #{response.body}"
148
150
  puts '----------------------------------------'
@@ -225,7 +227,7 @@ class Connection
225
227
  default_headers["X-Auth-Token"] = @authtoken if authok
226
228
  default_headers["X-Storage-Token"] = @authtoken if authok
227
229
  default_headers["Connection"] = "Keep-Alive"
228
- default_headers["User-Agent"] = "OpenStack Ruby API #{OpenStack::VERSION}"
230
+ default_headers["User-Agent"] = "OpenStack Ruby API #{Gem::VERSION}"
229
231
  default_headers["Accept"] = "application/json"
230
232
  default_headers.merge(headers)
231
233
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Prince
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-05-17 00:00:00.000000000 Z
15
+ date: 2016-09-13 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: mocha
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.4.5.1
136
+ rubygems_version: 2.4.8
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: OpenStack Ruby API