dockerfile-rails 1.5.11 → 1.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/dockerfile_generator.rb +9 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdf6d8e58eec7c4d0eec797792faa410c9b0c09a7cfc478563e0f387166be802
|
4
|
+
data.tar.gz: e238089dfc97a18fb6809be291ffbdc08d65e58b21be427fb5f3d3c7db5986bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e7b085fb960accab2838308541e3a85eb08f3a069d486dc48e644f42d06d6ffb2d8f240ab2abf9df87dc10f82b2881ea5f93f264f9c192f3e32895bda7754d4
|
7
|
+
data.tar.gz: 94d2d844c5af3382f81c8956148878564ad1dc6ca5ff636d75c67ef031e18c4276ec980e729883ab0220474e30fc69565a319c592a83dda21387365d7aba121b
|
@@ -1107,12 +1107,15 @@ private
|
|
1107
1107
|
return unless toml.include?("primary_region") # v2
|
1108
1108
|
|
1109
1109
|
# see if flyctl is in the path
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1110
|
+
flyctl = (lambda do
|
1111
|
+
cmd = "flyctl"
|
1112
|
+
ENV["PATH"].split(File::PATH_SEPARATOR).each do |path|
|
1113
|
+
(ENV["PATHEXT"] ? ENV["PATHEXT"].split(";") : [""]).each do |ext|
|
1114
|
+
path = File.join(path, "#{cmd}#{ext}")
|
1115
|
+
return path if File.executable? path
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
end).call
|
1116
1119
|
return unless flyctl
|
1117
1120
|
|
1118
1121
|
# see if secret is already set?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dockerfile-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|