docker-rails 0.7.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/rails/cli/main.rb +5 -2
- data/lib/docker/rails/config.rb +5 -2
- data/lib/docker/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 081568a69c2479bd51fc791e354c457a60b88801
|
4
|
+
data.tar.gz: 2d93f559d571ffd94e847fb8fa5949bdb18cc3e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2920bab9b004243d8873b3e78712348c4ac718f006e0d3df7c8690bbdede4f337b365b6d26bd9a06b47296c83bdb52651fcab941b18721a3d258eb532130bfcd
|
7
|
+
data.tar.gz: c6dc7fb1bc824563a72a252cb6561045e411164ac32b229e515633c6f9e6a392ea2664d493fe6847b567d4a030ec75e533dbcc515d798b91be759951cf3871a5
|
@@ -73,8 +73,11 @@ module Docker
|
|
73
73
|
invoke CLI::GemsetVolume, :create, [target], base_options
|
74
74
|
invoke CLI::SshAgent, :forward, [target], base_options
|
75
75
|
|
76
|
-
|
77
|
-
|
76
|
+
if options[:detached]
|
77
|
+
compose_options = '-d'
|
78
|
+
else
|
79
|
+
compose_options = '--abort-on-container-exit'
|
80
|
+
end
|
78
81
|
|
79
82
|
app.up(compose_options)
|
80
83
|
end
|
data/lib/docker/rails/config.rb
CHANGED
@@ -109,7 +109,10 @@ module Docker
|
|
109
109
|
raise "Unknown container #{container}" if unpruned_config[:compose][container.to_sym].nil?
|
110
110
|
compose[container.to_sym] ||= {}
|
111
111
|
compose[container.to_sym].deeper_merge! ({
|
112
|
-
environment: [
|
112
|
+
environment: [
|
113
|
+
"GEM_HOME=#{gemset_volume_path}",
|
114
|
+
"BUNDLE_PATH=#{gemset_volume_path}",
|
115
|
+
],
|
113
116
|
volumes_from: [gemset_volume_name]
|
114
117
|
})
|
115
118
|
end
|
@@ -139,4 +142,4 @@ module Docker
|
|
139
142
|
end
|
140
143
|
end
|
141
144
|
end
|
142
|
-
end
|
145
|
+
end
|
data/lib/docker/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Ross
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|