dockerfile-rails 0.4.3 → 0.4.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 +8 -4
- 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: b68e838d9adbcc0404f7f38780918b72d21677922ac627c87bc6d949388e8940
|
4
|
+
data.tar.gz: 98a5cf029b0bd032491c47397ddd3439504629a013ecf371e936817b4ada72ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cc411c1fd37d189592dcacdbad37c572619afb46906d72377dfacc24ef2cf28628d62b898d482cc2845fe1e743304e1abbab44c504da6ccfe6c47b31a7ff16a
|
7
|
+
data.tar.gz: f8e4812222ced1477b7707e668bee69834858a66c2dc931822fc822891dc6fdef0608144a9cfd0757e95d7fedffbed6175365337e693bbbae8198ea6e78b4d11
|
@@ -26,9 +26,13 @@ module DockerfileRails
|
|
26
26
|
end
|
27
27
|
|
28
28
|
if File.exist? 'Gemfile'
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
begin
|
30
|
+
gemfile_definition = Bundler::Definition.build('Gemfile', nil, [])
|
31
|
+
@gemfile += gemfile_definition.dependencies.map(&:name)
|
32
|
+
@git = !gemfile_definition.spec_git_paths.empty?
|
33
|
+
rescue => error
|
34
|
+
STDERR.puts error.message
|
35
|
+
end
|
32
36
|
end
|
33
37
|
|
34
38
|
@sidekiq = @gemfile.include? 'sidekiq'
|
@@ -67,4 +71,4 @@ module DockerfileRails
|
|
67
71
|
@redis = @redis_cable || @redis_cache || @sidekiq
|
68
72
|
end
|
69
73
|
end
|
70
|
-
end
|
74
|
+
end
|