docker-rails 0.4.0 → 0.4.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: d26c8278640216cf598752f489b351eac1528b36
4
- data.tar.gz: d6b8073a625aba9bf8a2e8363dc13f88e043b30e
3
+ metadata.gz: 201c27258faf2fd7c7e3da8be4ef103692af5d3d
4
+ data.tar.gz: 2cddc4422dd2fbde906a8b3eebeae4fe5659b4f8
5
5
  SHA512:
6
- metadata.gz: 968f011b7447d44c7f9d300256092f16bccd3d1cb76a374a56fa96f9e94c8e56e6471b7f49dd6731a167401c4012c4023ed7c0a21a1ee00923a486c158815276
7
- data.tar.gz: bb4a69f2f43f141989b8cbea4ba678ed088d14769b2ec7f96248103dc7e43a291cd44b6f9ccdec4a19afa6ad0a45d22bb6711ea784c82737bb70eb092ab6ad12
6
+ metadata.gz: 10b164b7176bc7bc04fbf1aafe8700c108bc5916be22ee49ff961d253cadc39be6b6ae5f755dde04f6bbd469c694a9cccb9f535ba71cbbcd7800d36a0b7b2660
7
+ data.tar.gz: fcaf8df78943d829d525c630d71517c28bf47d681d85d65ea6401d9b470ae0d2568979c1a13eb1c9b6728109055b71af27c4583bd9b8f8a45bb5e9ac04c08096
@@ -59,7 +59,12 @@ module Docker
59
59
 
60
60
  puts "Processing extract for #{service_name}:"
61
61
  puts '---------------------------------'
62
- container = get_container(service_name)
62
+ container = get_container(service_name) rescue nil
63
+ if container.nil?
64
+ puts 'none.'
65
+ next
66
+ end
67
+
63
68
  extractions.each do |extraction|
64
69
  if extraction =~ /:/
65
70
  tokens = extraction.split(':')
@@ -184,6 +189,7 @@ module Docker
184
189
  end
185
190
 
186
191
  # Create global gems data volume to cache gems for this version of ruby
192
+ # https://docs.docker.com/userguide/dockervolumes/
187
193
  def create_gems_volume
188
194
  begin
189
195
  Docker::Container.get(@gems_volume_name)
@@ -1,5 +1,5 @@
1
1
  module Docker
2
2
  module Rails
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Ross