docker-api 1.33.1 → 1.33.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/lib/docker.rb +2 -0
- 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: c7f6210b17acce594077095ab5b4a79d159c306d
|
4
|
+
data.tar.gz: 976dfd70143edcac266a86b683e6d912febef0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b34dc7548ae9c5f2deb3bc9015362ba9ba7494c24642e9592b1885b5cee35b1e61b3aa4f3ee49a5d4654f6bd760e42c87280df9f57d4c6c7bafa986bbe0ca9ec
|
7
|
+
data.tar.gz: be341758585b6b54698c856932f299fbd9c04a497d2eeac27e8f4ae738678c8d790956848b0d440ac0ac79efde392ab22734917b4e21fd691799d6ffd92f997e
|
data/README.md
CHANGED
@@ -94,6 +94,21 @@ Docker.options = {
|
|
94
94
|
}
|
95
95
|
```
|
96
96
|
|
97
|
+
If you want to load the cert files from a variable, e.g. you want to load them from ENV as needed on Heroku:
|
98
|
+
|
99
|
+
```
|
100
|
+
cert_store = OpenSSL::X509::Store.new
|
101
|
+
certificate = OpenSSL::X509::Certificate.new ENV["DOCKER_CA"]
|
102
|
+
cert_store.add_cert certificate
|
103
|
+
|
104
|
+
Docker.options = {
|
105
|
+
client_cert_data: ENV["DOCKER_CERT"],
|
106
|
+
client_key_data: ENV["DOCKER_KEY"],
|
107
|
+
ssl_cert_store: cert_store,
|
108
|
+
scheme: 'https'
|
109
|
+
}
|
110
|
+
```
|
111
|
+
|
97
112
|
If you need to disable SSL verification, set the DOCKER_SSL_VERIFY variable to 'false'.
|
98
113
|
|
99
114
|
## Global calls
|
data/lib/docker.rb
CHANGED
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swipely, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|