docker-api 1.8.2 → 1.8.3

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: 2988f8c913167ca5397109ec491e736d9dd81555
4
- data.tar.gz: 675470810cdc22194f628f84028df22d6c873be0
3
+ metadata.gz: 10e7b09edbd6f9a2cce6e7e52cbda2234d31cda9
4
+ data.tar.gz: c8978cbf247564ef4bcd96e12a555efbbf1a2510
5
5
  SHA512:
6
- metadata.gz: 42e0251763576b242756868e189b16b74763293e7ad69995d9813bebf2e198a3bd34b0bd88489f37e45831db1ec596f4ea24de5b7cae77054fe2a84651bc9a59
7
- data.tar.gz: 1bef1e84d16864525b062f0aa217209201a5c973f197304060a8ed23cb6579bb3a92a1fb50d4bc63dc0d8a4069978569f54eb20a6b17dc49b2f468ed7ce0e795
6
+ metadata.gz: cac9445f6e32fe9911626a5085a906f396005a648c332d7c46e02541b3c5387e543f93cfced81097fc1e5151856172460cf526f90b0c4f3b4a8b8252f128bb1d
7
+ data.tar.gz: 052c6711087ba38912f9a24a3d1787614d8c235463b0ef211e70c476dfe6394446b71aefa555aae985b71d5b7bc930858616c075d0a3b9f617937d685874371d
data/README.md CHANGED
@@ -4,6 +4,8 @@ docker-api
4
4
 
5
5
  This gem provides an object-oriented interface to the [Docker Remote API](http://docs.docker.io/en/latest/api/docker_remote_api_v1.4/). Every method listed there is implemented, with the exception of attaching to the STDIN of a Container. At the time of this writing, docker-api is meant to interface with Docker version 0.8.*.
6
6
 
7
+ If you're interested in using Docker to package your apps, we recmommend the [dockly](https://github.com/swipely/dockly) gem. Dockly provides a simple DSL for describing Docker containers that install as Debian packages and are controlled by upstart scripts.
8
+
7
9
  Installation
8
10
  ------------
9
11
 
@@ -32,8 +34,6 @@ Usage
32
34
 
33
35
  docker-api is designed to be very lightweight. Almost no state is cached (aside from id's which are immutable) to ensure that each method call's information is up to date. As such, just about every extrenal method represents an API call.
34
36
 
35
- If you're just looking to build Docker images, [dockly](https://github.com/swipely/dockly) provides a simple syntax for building and packaging images.
36
-
37
37
  ## Starting up
38
38
 
39
39
  Follow the [installation instructions](http://www.docker.io/gettingstarted/), and then run:
data/lib/docker/image.rb CHANGED
@@ -103,7 +103,7 @@ class Docker::Image < Docker::Base
103
103
  {}
104
104
  end
105
105
  conn.post('/images/create', opts)
106
- id = opts['repo'] ? "#{opts['repo']}/#{opts['tag']}" : opts['fromImage']
106
+ id = opts['repo'] ? "#{opts['repo']}:#{opts['tag']}" : opts['fromImage']
107
107
  new(conn, 'id' => id, :headers => headers)
108
108
  end
109
109
 
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.8.2'
3
+ VERSION = '1.8.3'
4
4
 
5
5
  # The version of the compatible Docker remote API.
6
6
  API_VERSION = '1.8'
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.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-19 00:00:00.000000000 Z
11
+ date: 2014-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon