docker-api 1.33.0 → 1.33.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker.rb +2 -0
- data/lib/docker/connection.rb +1 -1
- data/lib/docker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f2153bd93ec648db56caaeb9a8ada00429e98c8
|
4
|
+
data.tar.gz: 91c4a6e57f4cc4210159c89036873c7efab34a42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9448d1557db51e7327e18aafb69649093fd83d79f18b1e661ea5f04c33fdf0e804f7a1f034cd7e72bfe9fb741866c275eb7e1bb2ac43b275c711dae8fb0de8d
|
7
|
+
data.tar.gz: 54f487380c6c2136ca463de9efeddb610e0cb35a0487b618c598de4942f6c35274a05457c4939eef1170aa07785b34ab7a10d5cc7ad455b2b90ddaca10aa9104
|
data/lib/docker.rb
CHANGED
@@ -14,6 +14,8 @@ require 'open-uri'
|
|
14
14
|
require 'excon/middlewares/hijack'
|
15
15
|
Excon.defaults[:middlewares].unshift Excon::Middleware::Hijack
|
16
16
|
|
17
|
+
Excon.defaults[:middlewares] << Excon::Middleware::RedirectFollower
|
18
|
+
|
17
19
|
# The top-level module for this gem. Its purpose is to hold global
|
18
20
|
# configuration variables that are used as defaults in other classes.
|
19
21
|
module Docker
|
data/lib/docker/connection.rb
CHANGED
@@ -85,7 +85,7 @@ private
|
|
85
85
|
:headers => { 'Content-Type' => content_type,
|
86
86
|
'User-Agent' => user_agent,
|
87
87
|
}.merge(headers),
|
88
|
-
:expects => (200..204).to_a << 304,
|
88
|
+
:expects => (200..204).to_a << 301 << 304,
|
89
89
|
:idempotent => http_method == :get,
|
90
90
|
:request_block => block,
|
91
91
|
}.merge(opts).reject { |_, v| v.nil? }
|
data/lib/docker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.33.
|
4
|
+
version: 1.33.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swipely, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|