docker-api 1.5.3 → 1.5.4

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.
data/lib/docker/image.rb CHANGED
@@ -154,10 +154,10 @@ class Docker::Image
154
154
  # Convience method to get the Dockerfile for a file hash and a path to
155
155
  # output to.
156
156
  def dockerfile_for(file_hash, output_path)
157
- dockerfile = "from #{self.id}"
157
+ dockerfile = "from #{self.id}\n"
158
158
 
159
159
  file_hash.keys.each do |basename|
160
- dockerfile << "add #{basename} #{output_path}"
160
+ dockerfile << "add #{basename} #{output_path}\n"
161
161
  end
162
162
 
163
163
  dockerfile
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.5.3'
3
+ VERSION = '1.5.4'
4
4
 
5
5
  # The version of the compatible Docker remote API.
6
6
  API_VERSION = '1.4'
@@ -54,7 +54,7 @@ http_interactions:
54
54
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
55
  headers:
56
56
  User-Agent:
57
- - Swipely/Docker-API 1.5.1
57
+ - Swipely/Docker-API 1.5.3
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -62,20 +62,20 @@ http_interactions:
62
62
  code: 200
63
63
  message: ''
64
64
  headers:
65
- Content-Type:
66
- - text/plain; charset=utf-8
67
- Date:
68
- - Fri, 30 Aug 2013 19:10:51 GMT
69
- Transfer-Encoding:
70
- - chunked
65
+ !binary "Q29udGVudC1UeXBl":
66
+ - !binary |-
67
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
68
+ !binary "RGF0ZQ==":
69
+ - !binary |-
70
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
71
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
72
+ - !binary |-
73
+ Y2h1bmtlZA==
71
74
  body:
72
- encoding: UTF-8
73
- string: |
74
- Step 1 : FROM base
75
- ---> b750fe79269d
76
- Successfully built b750fe79269d
75
+ encoding: US-ASCII
76
+ string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
77
77
  http_version:
78
- recorded_at: Fri, 30 Aug 2013 19:10:51 GMT
78
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
79
79
  - request:
80
80
  method: post
81
81
  uri: http://localhost:4243/v1.4/build
@@ -107,8 +107,8 @@ http_interactions:
107
107
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERvY2tlcmZpbGUA
108
108
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
109
109
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAw
110
- MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDAzNwAwMDAwMDAwMDAw
111
- MAAwMTMyNDUAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
110
+ MDAwNjQwADAwMDAwMDAAMDAwMDAwMAAwMDAwMDAwMDA0MAAwMDAwMDAwMDAw
111
+ MAAwMTMyMzcAIDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
112
112
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
113
113
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAdXN0YXIAMDB3aGVlbAAAAAAAAAAAAAAA
114
114
  AAAAAAAAAAAAAAAAAAAAAHdoZWVsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -116,7 +116,7 @@ http_interactions:
116
116
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
117
117
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
118
118
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
119
- AAAAAAAAZnJvbSBiNzUwZmU3OTI2OWQKYWRkIEdlbWZpbGUgLwAAAAAAAAAA
119
+ AAAAAAAAZnJvbSBiNzUwZmU3OTI2OWQKYWRkIEdlbWZpbGUgLwoAAAAAAAAA
120
120
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
121
121
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
122
122
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@@ -153,7 +153,7 @@ http_interactions:
153
153
  AAAAAAAAAAAAAAAA
154
154
  headers:
155
155
  User-Agent:
156
- - Swipely/Docker-API 1.5.1
156
+ - Swipely/Docker-API 1.5.3
157
157
  Content-Type:
158
158
  - application/json
159
159
  response:
@@ -161,31 +161,30 @@ http_interactions:
161
161
  code: 200
162
162
  message: ''
163
163
  headers:
164
- Content-Type:
165
- - text/plain; charset=utf-8
166
- Date:
167
- - Fri, 30 Aug 2013 19:10:51 GMT
168
- Transfer-Encoding:
169
- - chunked
164
+ !binary "Q29udGVudC1UeXBl":
165
+ - !binary |-
166
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
167
+ !binary "RGF0ZQ==":
168
+ - !binary |-
169
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
170
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
171
+ - !binary |-
172
+ Y2h1bmtlZA==
170
173
  body:
171
- encoding: UTF-8
172
- string: |
173
- Step 1 : FROM b750fe79269d
174
- ---> b750fe79269d
175
- Step 2 : ADD Gemfile /
176
- ---> eed61e263f7d
177
- Successfully built eed61e263f7d
174
+ encoding: US-ASCII
175
+ string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
176
+ /\n ---> 764be4f5f609\nSuccessfully built 764be4f5f609\n"
178
177
  http_version:
179
- recorded_at: Fri, 30 Aug 2013 19:10:51 GMT
178
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
180
179
  - request:
181
180
  method: post
182
181
  uri: http://localhost:4243/v1.4/containers/create
183
182
  body:
184
183
  encoding: UTF-8
185
- string: '{"Image":"eed61e263f7d","Cmd":["cat","/Gemfile"]}'
184
+ string: ! '{"Image":"764be4f5f609","Cmd":["cat","/Gemfile"]}'
186
185
  headers:
187
186
  User-Agent:
188
- - Swipely/Docker-API 1.5.1
187
+ - Swipely/Docker-API 1.5.3
189
188
  Content-Type:
190
189
  - application/json
191
190
  response:
@@ -193,26 +192,29 @@ http_interactions:
193
192
  code: 201
194
193
  message: ''
195
194
  headers:
196
- Content-Type:
197
- - text/plain; charset=utf-8
198
- Content-Length:
199
- - '21'
200
- Date:
201
- - Fri, 30 Aug 2013 19:10:51 GMT
195
+ !binary "Q29udGVudC1UeXBl":
196
+ - !binary |-
197
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
198
+ !binary "Q29udGVudC1MZW5ndGg=":
199
+ - !binary |-
200
+ NjU=
201
+ !binary "RGF0ZQ==":
202
+ - !binary |-
203
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
202
204
  body:
203
- encoding: UTF-8
204
- string: '{"Id":"d2060f8c9a82"}'
205
+ encoding: US-ASCII
206
+ string: ! '{"Id":"1b3e3fa0e5f2","Warnings":["IPv4 forwarding is disabled."]}'
205
207
  http_version:
206
- recorded_at: Fri, 30 Aug 2013 19:10:51 GMT
208
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
207
209
  - request:
208
210
  method: post
209
- uri: http://localhost:4243/v1.4/containers/d2060f8c9a82/start
211
+ uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/start
210
212
  body:
211
213
  encoding: UTF-8
212
- string: '{}'
214
+ string: ! '{}'
213
215
  headers:
214
216
  User-Agent:
215
- - Swipely/Docker-API 1.5.1
217
+ - Swipely/Docker-API 1.5.3
216
218
  Content-Type:
217
219
  - application/json
218
220
  response:
@@ -220,26 +222,29 @@ http_interactions:
220
222
  code: 204
221
223
  message: ''
222
224
  headers:
223
- Content-Type:
224
- - text/plain; charset=utf-8
225
- Content-Length:
226
- - '0'
227
- Date:
228
- - Fri, 30 Aug 2013 19:10:51 GMT
225
+ !binary "Q29udGVudC1UeXBl":
226
+ - !binary |-
227
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
228
+ !binary "Q29udGVudC1MZW5ndGg=":
229
+ - !binary |-
230
+ MA==
231
+ !binary "RGF0ZQ==":
232
+ - !binary |-
233
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
229
234
  body:
230
- encoding: UTF-8
235
+ encoding: US-ASCII
231
236
  string: ''
232
237
  http_version:
233
- recorded_at: Fri, 30 Aug 2013 19:10:51 GMT
238
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
234
239
  - request:
235
240
  method: post
236
- uri: http://localhost:4243/v1.4/containers/d2060f8c9a82/start
241
+ uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/start
237
242
  body:
238
243
  encoding: UTF-8
239
- string: '{}'
244
+ string: ! '{}'
240
245
  headers:
241
246
  User-Agent:
242
- - Swipely/Docker-API 1.5.1
247
+ - Swipely/Docker-API 1.5.3
243
248
  Content-Type:
244
249
  - application/json
245
250
  response:
@@ -247,27 +252,32 @@ http_interactions:
247
252
  code: 500
248
253
  message: ''
249
254
  headers:
250
- Content-Type:
251
- - text/plain; charset=utf-8
252
- Content-Length:
253
- - '138'
254
- Date:
255
- - Fri, 30 Aug 2013 19:10:51 GMT
255
+ !binary "Q29udGVudC1UeXBl":
256
+ - !binary |-
257
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
258
+ !binary "Q29udGVudC1MZW5ndGg=":
259
+ - !binary |-
260
+ MTM4
261
+ !binary "RGF0ZQ==":
262
+ - !binary |-
263
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
256
264
  body:
257
- encoding: UTF-8
258
- string: |
259
- Error starting container d2060f8c9a82: The container d2060f8c9a82e54e0662eeab6eae083513639bdc77c4b4fd9efad94858015c86 is already running.
265
+ encoding: US-ASCII
266
+ string: ! 'Error starting container 1b3e3fa0e5f2: The container 1b3e3fa0e5f250dd614b82241abb0cce0b4b302d02b73426f3e116f8fe40b9a4
267
+ is already running.
268
+
269
+ '
260
270
  http_version:
261
- recorded_at: Fri, 30 Aug 2013 19:10:51 GMT
271
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
262
272
  - request:
263
273
  method: post
264
- uri: http://localhost:4243/v1.4/containers/d2060f8c9a82/attach?stdout=true&stream=true
274
+ uri: http://localhost:4243/v1.4/containers/1b3e3fa0e5f2/attach?stdout=true&stream=true
265
275
  body:
266
276
  encoding: US-ASCII
267
277
  string: ''
268
278
  headers:
269
279
  User-Agent:
270
- - Swipely/Docker-API 1.5.1
280
+ - Swipely/Docker-API 1.5.3
271
281
  Content-Type:
272
282
  - text/plain
273
283
  response:
@@ -275,14 +285,17 @@ http_interactions:
275
285
  code: 200
276
286
  message: ''
277
287
  headers:
278
- Content-Type:
279
- - application/vnd.docker.raw-stream
288
+ !binary "Q29udGVudC1UeXBl":
289
+ - !binary |-
290
+ YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
280
291
  body:
281
- encoding: UTF-8
282
- string: |
283
- source 'http://rubygems.org'
292
+ encoding: US-ASCII
293
+ string: ! 'source ''http://rubygems.org''
294
+
284
295
 
285
296
  gemspec
297
+
298
+ '
286
299
  http_version:
287
- recorded_at: Fri, 30 Aug 2013 19:10:51 GMT
300
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
288
301
  recorded_with: VCR 2.5.0
@@ -54,7 +54,7 @@ http_interactions:
54
54
  AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
55
55
  headers:
56
56
  User-Agent:
57
- - Swipely/Docker-API 1.5.1
57
+ - Swipely/Docker-API 1.5.3
58
58
  Content-Type:
59
59
  - application/json
60
60
  response:
@@ -62,18 +62,18 @@ http_interactions:
62
62
  code: 200
63
63
  message: ''
64
64
  headers:
65
- Content-Type:
66
- - text/plain; charset=utf-8
67
- Date:
68
- - Fri, 30 Aug 2013 18:43:13 GMT
69
- Transfer-Encoding:
70
- - chunked
65
+ !binary "Q29udGVudC1UeXBl":
66
+ - !binary |-
67
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
68
+ !binary "RGF0ZQ==":
69
+ - !binary |-
70
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
71
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
72
+ - !binary |-
73
+ Y2h1bmtlZA==
71
74
  body:
72
- encoding: UTF-8
73
- string: |
74
- Step 1 : FROM base
75
- ---> b750fe79269d
76
- Successfully built b750fe79269d
75
+ encoding: US-ASCII
76
+ string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
77
77
  http_version:
78
- recorded_at: Fri, 30 Aug 2013 18:43:14 GMT
78
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
79
79
  recorded_with: VCR 2.5.0
@@ -62,18 +62,20 @@ http_interactions:
62
62
  code: 200
63
63
  message: ''
64
64
  headers:
65
- Content-Type:
66
- - text/plain; charset=utf-8
67
- Date:
68
- - Sat, 14 Sep 2013 23:02:27 GMT
69
- Transfer-Encoding:
70
- - chunked
65
+ !binary "Q29udGVudC1UeXBl":
66
+ - !binary |-
67
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
68
+ !binary "RGF0ZQ==":
69
+ - !binary |-
70
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
71
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
72
+ - !binary |-
73
+ Y2h1bmtlZA==
71
74
  body:
72
- encoding: UTF-8
73
- string: "Step 1 : FROM base\nPulling repository base\r\nPulling image b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc
74
- (ubuntu-quantl) from base\r\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
75
+ encoding: US-ASCII
76
+ string: ! "Step 1 : FROM base\n ---> b750fe79269d\nSuccessfully built b750fe79269d\n"
75
77
  http_version:
76
- recorded_at: Sat, 14 Sep 2013 23:02:31 GMT
78
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
77
79
  - request:
78
80
  method: post
79
81
  uri: http://localhost:4243/v1.4/build
@@ -182,30 +184,28 @@ http_interactions:
182
184
  code: 200
183
185
  message: ''
184
186
  headers:
185
- Content-Type:
186
- - text/plain; charset=utf-8
187
- Date:
188
- - Sat, 14 Sep 2013 23:02:31 GMT
189
- Transfer-Encoding:
190
- - chunked
187
+ !binary "Q29udGVudC1UeXBl":
188
+ - !binary |-
189
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
190
+ !binary "RGF0ZQ==":
191
+ - !binary |-
192
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
193
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
194
+ - !binary |-
195
+ Y2h1bmtlZA==
191
196
  body:
192
- encoding: UTF-8
193
- string: |
194
- Step 1 : FROM b750fe79269d
195
- ---> b750fe79269d
196
- Step 2 : ADD Gemfile /
197
- ---> 8124a17c1581
198
- Step 3 : ADD Rakefile /
199
- ---> ed8565d07a24
200
- Successfully built ed8565d07a24
197
+ encoding: US-ASCII
198
+ string: ! "Step 1 : FROM b750fe79269d\n ---> b750fe79269d\nStep 2 : ADD Gemfile
199
+ /\n ---> 9a8f51ecd54e\nStep 3 : ADD Rakefile /\n ---> f7f65708771f\nSuccessfully
200
+ built f7f65708771f\n"
201
201
  http_version:
202
- recorded_at: Sat, 14 Sep 2013 23:02:31 GMT
202
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
203
203
  - request:
204
204
  method: post
205
205
  uri: http://localhost:4243/v1.4/containers/create
206
206
  body:
207
207
  encoding: UTF-8
208
- string: '{"Image":"ed8565d07a24","Cmd":["cat","/Gemfile","/Rakefile"]}'
208
+ string: ! '{"Image":"f7f65708771f","Cmd":["cat","/Gemfile","/Rakefile"]}'
209
209
  headers:
210
210
  User-Agent:
211
211
  - Swipely/Docker-API 1.5.3
@@ -216,23 +216,26 @@ http_interactions:
216
216
  code: 201
217
217
  message: ''
218
218
  headers:
219
- Content-Type:
220
- - text/plain; charset=utf-8
221
- Content-Length:
222
- - '21'
223
- Date:
224
- - Sat, 14 Sep 2013 23:02:31 GMT
219
+ !binary "Q29udGVudC1UeXBl":
220
+ - !binary |-
221
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
222
+ !binary "Q29udGVudC1MZW5ndGg=":
223
+ - !binary |-
224
+ NjU=
225
+ !binary "RGF0ZQ==":
226
+ - !binary |-
227
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
225
228
  body:
226
- encoding: UTF-8
227
- string: '{"Id":"01b2292bf658"}'
229
+ encoding: US-ASCII
230
+ string: ! '{"Id":"9fb2f8702b1c","Warnings":["IPv4 forwarding is disabled."]}'
228
231
  http_version:
229
- recorded_at: Sat, 14 Sep 2013 23:02:31 GMT
232
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
230
233
  - request:
231
234
  method: post
232
- uri: http://localhost:4243/v1.4/containers/01b2292bf658/start
235
+ uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/start
233
236
  body:
234
237
  encoding: UTF-8
235
- string: '{}'
238
+ string: ! '{}'
236
239
  headers:
237
240
  User-Agent:
238
241
  - Swipely/Docker-API 1.5.3
@@ -243,23 +246,26 @@ http_interactions:
243
246
  code: 204
244
247
  message: ''
245
248
  headers:
246
- Content-Type:
247
- - text/plain; charset=utf-8
248
- Content-Length:
249
- - '0'
250
- Date:
251
- - Sat, 14 Sep 2013 23:02:31 GMT
249
+ !binary "Q29udGVudC1UeXBl":
250
+ - !binary |-
251
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
252
+ !binary "Q29udGVudC1MZW5ndGg=":
253
+ - !binary |-
254
+ MA==
255
+ !binary "RGF0ZQ==":
256
+ - !binary |-
257
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
252
258
  body:
253
- encoding: UTF-8
259
+ encoding: US-ASCII
254
260
  string: ''
255
261
  http_version:
256
- recorded_at: Sat, 14 Sep 2013 23:02:31 GMT
262
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
257
263
  - request:
258
264
  method: post
259
- uri: http://localhost:4243/v1.4/containers/01b2292bf658/start
265
+ uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/start
260
266
  body:
261
267
  encoding: UTF-8
262
- string: '{}'
268
+ string: ! '{}'
263
269
  headers:
264
270
  User-Agent:
265
271
  - Swipely/Docker-API 1.5.3
@@ -270,21 +276,26 @@ http_interactions:
270
276
  code: 500
271
277
  message: ''
272
278
  headers:
273
- Content-Type:
274
- - text/plain; charset=utf-8
275
- Content-Length:
276
- - '138'
277
- Date:
278
- - Sat, 14 Sep 2013 23:02:31 GMT
279
+ !binary "Q29udGVudC1UeXBl":
280
+ - !binary |-
281
+ dGV4dC9wbGFpbjsgY2hhcnNldD11dGYtOA==
282
+ !binary "Q29udGVudC1MZW5ndGg=":
283
+ - !binary |-
284
+ MTM4
285
+ !binary "RGF0ZQ==":
286
+ - !binary |-
287
+ V2VkLCAxOCBTZXAgMjAxMyAxNTozMzowOCBHTVQ=
279
288
  body:
280
- encoding: UTF-8
281
- string: |
282
- Error starting container 01b2292bf658: The container 01b2292bf6589519cb88fd1fc85b51472a5813cbba49333567cc0a129c57026b is already running.
289
+ encoding: US-ASCII
290
+ string: ! 'Error starting container 9fb2f8702b1c: The container 9fb2f8702b1c32ef25aa0f83f833a223b71f98b4a9cd79d9f8a05e85b8ea8f73
291
+ is already running.
292
+
293
+ '
283
294
  http_version:
284
- recorded_at: Sat, 14 Sep 2013 23:02:31 GMT
295
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
285
296
  - request:
286
297
  method: post
287
- uri: http://localhost:4243/v1.4/containers/01b2292bf658/attach?stdout=true&stream=true
298
+ uri: http://localhost:4243/v1.4/containers/9fb2f8702b1c/attach?stdout=true&stream=true
288
299
  body:
289
300
  encoding: US-ASCII
290
301
  string: ''
@@ -298,30 +309,16 @@ http_interactions:
298
309
  code: 200
299
310
  message: ''
300
311
  headers:
301
- Content-Type:
302
- - application/vnd.docker.raw-stream
312
+ !binary "Q29udGVudC1UeXBl":
313
+ - !binary |-
314
+ YXBwbGljYXRpb24vdm5kLmRvY2tlci5yYXctc3RyZWFt
303
315
  body:
304
- encoding: UTF-8
305
- string: |
306
- source 'http://rubygems.org'
307
-
308
- gemspec
309
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
310
-
311
- require 'rake'
312
- require 'docker'
313
- require 'rspec/core/rake_task'
314
- require 'cane/rake_task'
315
-
316
- task :default => [:spec, :quality]
317
-
318
- RSpec::Core::RakeTask.new do |t|
319
- t.pattern = 'spec/**/*_spec.rb'
320
- end
321
-
322
- Cane::RakeTask.new(:quality) do |cane|
323
- cane.canefile = '.cane'
324
- end
316
+ encoding: US-ASCII
317
+ string: ! "source 'http://rubygems.org'\n\ngemspec\n$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
318
+ 'lib'))\n\nrequire 'rake'\nrequire 'docker'\nrequire 'rspec/core/rake_task'\nrequire
319
+ 'cane/rake_task'\n\ntask :default => [:spec, :quality]\n\nRSpec::Core::RakeTask.new
320
+ do |t|\n t.pattern = 'spec/**/*_spec.rb'\nend\n\nCane::RakeTask.new(:quality)
321
+ do |cane|\n cane.canefile = '.cane'\nend\n"
325
322
  http_version:
326
- recorded_at: Sat, 14 Sep 2013 23:02:31 GMT
323
+ recorded_at: Wed, 18 Sep 2013 15:35:33 GMT
327
324
  recorded_with: VCR 2.5.0
metadata CHANGED
@@ -1,153 +1,174 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Swipely, Inc.
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-09-17 00:00:00.000000000 Z
12
+ date: 2013-09-18 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: excon
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: 0.22.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.22.0
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: json
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: archive-tar-minitar
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rake
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rspec
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - '>='
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - '>='
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: cane
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - '>='
99
+ - - ! '>='
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - '>='
107
+ - - ! '>='
95
108
  - !ruby/object:Gem::Version
96
109
  version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: pry
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: webmock
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - '>='
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: 1.11.0
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - '>='
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: 1.11.0
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: vcr
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - '>='
147
+ - - ! '>='
130
148
  - !ruby/object:Gem::Version
131
149
  version: 2.4.0
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - '>='
155
+ - - ! '>='
137
156
  - !ruby/object:Gem::Version
138
157
  version: 2.4.0
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: simplecov
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - '>='
163
+ - - ! '>='
144
164
  - !ruby/object:Gem::Version
145
165
  version: '0'
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - '>='
171
+ - - ! '>='
151
172
  - !ruby/object:Gem::Version
152
173
  version: '0'
153
174
  description: A simple REST client for the Docker Remote API
@@ -224,26 +245,27 @@ files:
224
245
  homepage: https://github.com/swipely/docker-api
225
246
  licenses:
226
247
  - MIT
227
- metadata: {}
228
248
  post_install_message:
229
249
  rdoc_options: []
230
250
  require_paths:
231
251
  - lib
232
252
  required_ruby_version: !ruby/object:Gem::Requirement
253
+ none: false
233
254
  requirements:
234
- - - '>='
255
+ - - ! '>='
235
256
  - !ruby/object:Gem::Version
236
257
  version: '0'
237
258
  required_rubygems_version: !ruby/object:Gem::Requirement
259
+ none: false
238
260
  requirements:
239
- - - '>='
261
+ - - ! '>='
240
262
  - !ruby/object:Gem::Version
241
263
  version: '0'
242
264
  requirements: []
243
265
  rubyforge_project:
244
- rubygems_version: 2.0.2
266
+ rubygems_version: 1.8.23
245
267
  signing_key:
246
- specification_version: 4
268
+ specification_version: 3
247
269
  summary: A simple REST client for the Docker Remote API
248
270
  test_files:
249
271
  - spec/docker/connection_spec.rb
@@ -294,3 +316,4 @@ test_files:
294
316
  - spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
295
317
  - spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
296
318
  - spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
319
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: f0d24fe7ee17232226259b46a172f06261fd264f
4
- data.tar.gz: e7ad9fe5f3ffdccdbe90d41a35e27f3326e2f564
5
- SHA512:
6
- metadata.gz: 659c3b9a38880c6ad2a3673a02f89d3619789509e51da88b105ab7791ab276e786fdaf29cf91658cf9a233402232b8416ec4d0a4622a4e147b0b23e79fe3ef53
7
- data.tar.gz: 74e5cdf949589a4d4b87cd1e18c63e30b4ef3cd26a2b29e77f8fb88b2614d80d7ff2001707d815d19b9722c0d6edc4c90a1d9e9a06e5fe96a43de57fc28db7e3