drydocker 0.1.3 → 0.1.4

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: fb219a24ac1051242a1059271e935f9b514758f3
4
- data.tar.gz: acc9e3f7bfbc985f222f15ddee9ef757ab55d17c
3
+ metadata.gz: 148d6f965d8c1652b9431ad76f88d834ef6cf57d
4
+ data.tar.gz: 6f956115387705fddf190fc4ecd21463faf1d910
5
5
  SHA512:
6
- metadata.gz: 4bc68de58e56ef29e715f2cee316d35b42eba4d8b97b84388d783091850609926943119940e2af44c56b08cdae8116d59940e74aec505823084deceea1cdcefa
7
- data.tar.gz: be9901f0a3683d188e7b635fe1c4f32f5f1a48820c8e44453ecff97de7ce246402c4d790d63f4021ee7ab360a2dd31ae063ec1aa623ba8deaba7c2b3860870fd
6
+ metadata.gz: ef9dd041f76a0270c550117cf47143d84aba3706c7e56d11caa74dfae820aa3f7619e4998a15fffb210d348c2a48f370193a57ee3d9376bd76cb38a90af75a9c
7
+ data.tar.gz: c3ef15922603fdf70c8f37181807e6ec26d1830efb4f11c239febd6c6f04ca8ef795f29d40ce2d45329d4728b21974d303cad93c486d1e7848cda906c18900e4
data/README.md CHANGED
@@ -32,6 +32,13 @@ if you need to run your tests in a different way or container.
32
32
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
33
33
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
34
34
 
35
+ ## Links
36
+
37
+ * Source code: https://github.com/silarsis/drydocker
38
+ * Build/Test: https://app.wercker.com/status/b00d4339862ef12b880f0022b6d20b2a/s
39
+ * Docker container: https://registry.hub.docker.com/u/silarsis/drydocker/
40
+ * RubyGem: https://rubygems.org/gems/drydocker
41
+
35
42
  ## Copyright
36
43
 
37
44
  Copyright (c) 2015 Kevin Littlejohn. See LICENSE.txt for
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/drydocker.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: drydocker 0.1.3 ruby lib
5
+ # stub: drydocker 0.1.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "drydocker"
9
- s.version = "0.1.3"
9
+ s.version = "0.1.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
data/lib/drydocker.rb CHANGED
@@ -29,7 +29,7 @@ module Drydocker
29
29
  private
30
30
 
31
31
  def name_from_image
32
- "#{image.sub('/', '-').sub(':', '-')}-test"
32
+ "#{image.gsub(/[\/:]/, '-')}-test"
33
33
  end
34
34
  end
35
35
 
@@ -24,6 +24,10 @@ module Drydocker
24
24
  let(:config) { Config.new(image: 'args-test') }
25
25
  specify { expect(config.image).to eq 'args-test' }
26
26
  end
27
+ context 'image (longform)' do
28
+ let(:config) { Config.new(image: 'reg.me.com/ns/container:tag') }
29
+ specify { expect(config.image).to eq 'reg.me.com/ns/container:tag' }
30
+ end
27
31
  context 'entrypoint' do
28
32
  let(:config) { Config.new(entrypoint: 'args-test') }
29
33
  specify { expect(config.entrypoint).to eq 'args-test' }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drydocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Littlejohn