fly.io-rails 0.0.13-arm64-darwin → 0.0.14-arm64-darwin

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: eaa6aad97621955457153f28418a9111e2f4fbc793d6db5a91f4877ca37e77ec
4
- data.tar.gz: 850851911bc297a5e7f984ced6cf781118228b1c5b38cf7ded304f3a3e337c1f
3
+ metadata.gz: db3ea3b22104f52d4a3c2c0d2be573f7477f233f8c5ac39debdfd54a0f1c217a
4
+ data.tar.gz: 555d6a5c74be9c79b5eb4785b32c1be72f07b6440cde6f0eb11de940d5064d4d
5
5
  SHA512:
6
- metadata.gz: e085510590cf677d4fe8b4d8f278cda9237869ab5eb0b1fbc7bf83f2fa298c2ca4d321fc0ba3de5df533f52fd8280b4ed2c67be9eced2a106995d3c2a8fa755f
7
- data.tar.gz: 23d41bb2471292422b215ba80be9d1a021e2b7eed4ed3ddaeb26273f993af4c9e5ad59845be24846b1c8f03ce14732fd439c28827cbce2b86528beefcb36949d
6
+ metadata.gz: d5641c92fec84133082bc25e82c3ce7a2a60462ecf17068d4d867056cc369ee8725901f81fc1850b8ff69e68ca8bbb57f8b88048549cc0b289b2affce8b327f3
7
+ data.tar.gz: ea2ef4f443e5e6a5c7fee44e76338c6a80bbcf40bffdf20f5bbc7f1e8d3f92cdda282d9da4467d04fa0a688964d9087712f7cb0f8a37d8b8dc7cf1efe542c88a
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.0.13'
2
+ VERSION = '0.0.14'
3
3
  end
@@ -0,0 +1,4 @@
1
+ app = "<%= @app %>"
2
+
3
+ [deploy]
4
+ release_command = "bundle exec rails db:migrate"
@@ -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.13
4
+ version: 0.0.14
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-18 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fly-ruby
@@ -46,6 +46,7 @@ files:
46
46
  - lib/generators/templates/Dockerfile.erb
47
47
  - lib/generators/templates/dockerignore.erb
48
48
  - lib/generators/templates/fly.rake.erb
49
+ - lib/generators/templates/fly.toml.erb
49
50
  - lib/generators/templates/main.tf.erb
50
51
  - lib/generators/terraform_generator.rb
51
52
  - lib/tasks/fly.rake