dockerfile-rails 1.0.3 → 1.0.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
  SHA256:
3
- metadata.gz: ca1f4e5fe001307e03c7a37ad194cc643b0130d709a3974c453dc036857eb4a8
4
- data.tar.gz: 81508d5aa170bfc00062ce1fb52ca54237def089702937b13ce7ae56e95f99a0
3
+ metadata.gz: 54eedb6e7aa9530a02b253ea1b730b386c2b87a49a00a64611c4c6d96e762505
4
+ data.tar.gz: f47c1b6851c2a3c3e2bacbb999ad0a7ad43d4b28d64a9cde83c392762d810342
5
5
  SHA512:
6
- metadata.gz: e2f75d96502988be41600c72ee59a6bfd32d583fc8e0d1c9ea59c3a4c478bcefb484510b4db03fd8c28730d356944f62678244ceb5ac8d4bd4769de166760700
7
- data.tar.gz: 9f75d764d9ad5badedfd6c935796db84e7988441a2c87fc12eab78c1a2cbae67eaeffed1f2f14b2a28c89df0f6cb13222c9653c983ef85540cc2acb8986568f0
6
+ metadata.gz: 9ed32b4fd6b57906c1e7b2f47270b5edeb96ea710891c9817989c44ea693095e35110b833b4994877e931d3dd0b6ede9b8cac21348120a4ae80b691cfe307c7c
7
+ data.tar.gz: db989d76c9f7e48553a3047b2096fa38708495c0a854bdd0a9805f92152018660850804464f45e3ceed0d0a6cd43809b64bc54b7606f945b5fe3bd25e2cf3797
@@ -25,6 +25,9 @@ module DockerfileRails
25
25
  if File.exist? 'Gemfile.lock'
26
26
  parser = Bundler::LockfileParser.new(Bundler.read_file('Gemfile.lock'))
27
27
  @gemfile += parser.specs.map { |spec, version| spec.name }
28
+ @git ||= ENV['RAILS_ENV'] != 'test' && parser.specs.any? do |spec|
29
+ spec.source.instance_of? Bundler::Source::Git
30
+ end
28
31
  end
29
32
 
30
33
  if File.exist? 'Gemfile'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockerfile-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby