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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9912439c29cbd8aaa4d72a9a643dfefd3c4ba0f
4
- data.tar.gz: f63e1c5e92bd41b089f7df5e212f13b0a6bd0e26
3
+ metadata.gz: 081568a69c2479bd51fc791e354c457a60b88801
4
+ data.tar.gz: 2d93f559d571ffd94e847fb8fa5949bdb18cc3e3
5
5
  SHA512:
6
- metadata.gz: ee90c631188cc119cab631f61a3e7fb811cbb4955ad5a1ff964856b0f593a92a1d33e282fb8d94b7668482474e87c23ae17defb0e97f064463b9e5e4284cd9b4
7
- data.tar.gz: 73a09f544bc51f782dba902192fc60a9b7665df208d65d300e955bc8081071a7ab519525a3314dac03cacf246f4dbbfbe5bb95c5326de67e7fe6187b3bd8090a
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
- compose_options = ''
77
- compose_options = '-d' if options[:detached]
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
@@ -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: ["GEM_HOME=#{gemset_volume_path}"],
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
@@ -1,5 +1,5 @@
1
1
  module Docker
2
2
  module Rails
3
- VERSION = '0.7.1'
3
+ VERSION = '0.8.0'
4
4
  end
5
5
  end
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.7.1
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: 2015-10-08 00:00:00.000000000 Z
11
+ date: 2016-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler