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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb5ad2f5239058b4cbe3ceca06ac1455e659211d
4
- data.tar.gz: dbeb560e89cacb6fecaf28a2370da23d44350da8
3
+ metadata.gz: 4f2153bd93ec648db56caaeb9a8ada00429e98c8
4
+ data.tar.gz: 91c4a6e57f4cc4210159c89036873c7efab34a42
5
5
  SHA512:
6
- metadata.gz: c2d333d808a12618046aeb497f11455db5053ae80bcb2fecd404ce94f7fa74f891b1df7f54c77d73a17478f835c721ce4bf9fb29f84553cc6ebd6e3e644866ac
7
- data.tar.gz: 09f89ca78aef353c1727529649accc22604ad47668809e90e3a370095e93a178baba3299e96617f86ebfc0a3dda2cb172ce70eb198c2543d0c229750797158dd
6
+ metadata.gz: d9448d1557db51e7327e18aafb69649093fd83d79f18b1e661ea5f04c33fdf0e804f7a1f034cd7e72bfe9fb741866c275eb7e1bb2ac43b275c711dae8fb0de8d
7
+ data.tar.gz: 54f487380c6c2136ca463de9efeddb610e0cb35a0487b618c598de4942f6c35274a05457c4939eef1170aa07785b34ab7a10d5cc7ad455b2b90ddaca10aa9104
@@ -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
@@ -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? }
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.33.0'
3
+ VERSION = '1.33.1'
4
4
 
5
5
  # The version of the compatible Docker remote API.
6
6
  API_VERSION = '1.16'
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.0
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-29 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon