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 +4 -4
- data/lib/dockerfile-rails/scanner.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54eedb6e7aa9530a02b253ea1b730b386c2b87a49a00a64611c4c6d96e762505
|
4
|
+
data.tar.gz: f47c1b6851c2a3c3e2bacbb999ad0a7ad43d4b28d64a9cde83c392762d810342
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|