longshoreman 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/longshoreman.rb +4 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86b8cb972f601c3fe8741b52921f96caa4c1443b
4
- data.tar.gz: 346eafb9d3c92bdd81d9e3aea4925228a84609f0
3
+ metadata.gz: 175c3e6e3338647b96df88a81deddff6da71377a
4
+ data.tar.gz: 3389f8e67f5cf5d2e0e79af804a2271f727ccacd
5
5
  SHA512:
6
- metadata.gz: 7e3bdf2ab0301713cd267c272de4626d18451a6f0cce556a518de5b9781d77445c7e1633fab19ac101749d1ed4a289059a8afb91942a47930964e934862b44d4
7
- data.tar.gz: f7712897c76b5ff0f856a6da366171f7bd924fccf357addceed391949af3c3dbd738b45e01ab4999ebfa7286f3ab5922ee1bf299178654452e1d1887c5286892
6
+ metadata.gz: 5c4d435f1d05685f261cd4ce26b6a316120d72c4fc0a60e7d5a7cd7d7eef0adef1e69eec34b8f636072c0626bc32fda9419d0c86908edf152c94608aaa093fd4
7
+ data.tar.gz: c41c80c03d51f16c5f35420a8e5dc56552039c061b071980d69bcc8e2eaf38b1d47f290311a45359ba28b94d05f5fafee3aeb697906d1c380a1e99847d4b2afc
@@ -34,6 +34,10 @@ class Longshoreman
34
34
  @image.cleanup
35
35
  end
36
36
 
37
+ def self.pull_image(image, tag)
38
+ `docker pull #{image}:#{tag}`
39
+ end
40
+
37
41
  attr_reader :ip
38
42
  attr_accessor :container
39
43
  attr_accessor :image
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: longshoreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Mildenstein
8
+ - Tal Levy
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-06-22 00:00:00.000000000 Z
12
+ date: 2015-08-05 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  requirement: !ruby/object:Gem::Requirement