docker-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/docker/rails/app.rb +2 -2
- data/lib/docker/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac658d93c92f059a526791a850f110b58c3c7d02
|
4
|
+
data.tar.gz: e477c9bacda7849798dfaa22c1f0da71358cc810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e4cac1643b60c5d3e0f373042da97bac01b340881fa6d302f276ee16df12a91bc7fe7dc111622cb057312110baebb5ab605c0c1a8788fcd12d33a489a1390ad
|
7
|
+
data.tar.gz: 67754dd535eb6030733decd8c8f5dc3d46ce577cea9e7da33d49887e5596b28f75f988f7125c47d25e18c668d2fc5223e62a9f018e0b81572d232c395ec919d0
|
data/README.md
CHANGED
@@ -57,7 +57,7 @@ or for local testing (uses `1` for build)
|
|
57
57
|
|
58
58
|
### General CLI
|
59
59
|
|
60
|
-
Almost all of the commands below are in support of the `ci` command, so why not give access directly to them
|
60
|
+
Almost all of the commands below are in support of the `ci` command, so why not give access directly to them? Helpful additions include `bash_connect` to connect to a running container and `exec` the equivalent of `docker-compose run` (but thor complained and we can't use reserverd word `run`)
|
61
61
|
|
62
62
|
```bash
|
63
63
|
Commands:
|
data/lib/docker/rails/app.rb
CHANGED
@@ -57,7 +57,7 @@ module Docker
|
|
57
57
|
extractions = service_config[:extract] unless service_config.nil?
|
58
58
|
next if extractions.nil?
|
59
59
|
|
60
|
-
puts "
|
60
|
+
puts "\n\nProcessing extract for #{service_name}:"
|
61
61
|
puts '---------------------------------'
|
62
62
|
container = get_container(service_name) rescue nil
|
63
63
|
if container.nil?
|
@@ -218,7 +218,7 @@ module Docker
|
|
218
218
|
def get_container(service_name)
|
219
219
|
containers = Docker::Container.all(all: true)
|
220
220
|
containers.each do |container|
|
221
|
-
if is_build_container?(container) && container.compose.service.eql?(service_name)
|
221
|
+
if is_build_container?(container) && container.compose.service.eql?(service_name.to_s)
|
222
222
|
return container
|
223
223
|
end
|
224
224
|
end
|
data/lib/docker/rails/version.rb
CHANGED