fly.io-rails 0.0.13 → 0.0.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15c603605584b54ffebd9ec4dca378819be35ad10af27535975c9fff17985572
|
4
|
+
data.tar.gz: f340c0f0b06b3e512ea5c3e731292968486e9213936488c0e3e9ccba7dff2d60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08d49f650af670c1ced20dca8ffdc3e91c838b3830399dc8a9cfacdcb95f148301552b2f3574100d5948603e9a5bff8f650f652afb02ac56280ccb1a0730db92'
|
7
|
+
data.tar.gz: 4f68e1372390cf061da4c80812f35cbdd88189c365296109b2ffbd4cc6f1961a60b8eb7f99d2170c0c30d2f1482bd9dd11f64997df842fb6dc7153e9dc92d7fb
|
data/lib/fly.io-rails/version.rb
CHANGED
@@ -18,7 +18,6 @@ class TerraformGenerator < Rails::Generators::Base
|
|
18
18
|
exit 1 unless output =~ /^New app created: /
|
19
19
|
|
20
20
|
@app = output.split.last
|
21
|
-
create_file 'fly.toml', "app = #{@app.inspect}\n"
|
22
21
|
|
23
22
|
if options[:region].empty?
|
24
23
|
@regions = JSON.parse(`flyctl regions list --json`)['Regions'].
|
@@ -38,6 +37,7 @@ class TerraformGenerator < Rails::Generators::Base
|
|
38
37
|
|
39
38
|
template 'Dockerfile.erb', 'Dockerfile'
|
40
39
|
template 'dockerignore.erb', '.dockerignore'
|
40
|
+
template 'fly.toml.erb', 'fly.toml'
|
41
41
|
template 'main.tf.erb', 'main.tf'
|
42
42
|
template 'fly.rake.erb', 'lib/tasks/fly.rake'
|
43
43
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fly.io-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fly-ruby
|
@@ -45,6 +45,7 @@ files:
|
|
45
45
|
- lib/generators/templates/Dockerfile.erb
|
46
46
|
- lib/generators/templates/dockerignore.erb
|
47
47
|
- lib/generators/templates/fly.rake.erb
|
48
|
+
- lib/generators/templates/fly.toml.erb
|
48
49
|
- lib/generators/templates/main.tf.erb
|
49
50
|
- lib/generators/terraform_generator.rb
|
50
51
|
- lib/tasks/fly.rake
|