fly.io-rails 0.0.13-aarch64-linux → 0.0.14-aarch64-linux

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: 407575b4e055ea62282e3d683862b883bf390fdf57eefc5f28bbee2e3f6be066
4
- data.tar.gz: e64318084634debd66ce2d08f2bcfe2e73d18c5bd238184249e9a40c06afa319
3
+ metadata.gz: b1d39a8889462ece2b824e27136cc89583130622f067a62529ce4af72956e3f4
4
+ data.tar.gz: 2d8823f21d7b56b5c4fa12d33e4ce04147726d68063dacaf86d2ef509c5937c1
5
5
  SHA512:
6
- metadata.gz: 0a18e46f3c584322b6b27cc6f99d601d25c544c612fdf90644abfb088eed9b75d47db31ddcdee2e3b26d083abb681ac668f0f846f3f51e72f0510cf2a45ee6b0
7
- data.tar.gz: 410321e67491b03b3144c12cdc778a524148ea36731d6c185353c0c8ff25d20f2b0e682e1a8a6d234430f7284af1f2c26d576eec71b01f1247867e9f8259f273
6
+ metadata.gz: 6c52a344529c2625f21cf9c1abe177135df79122ce89eb5b1010c9e0521fa3d0fa77aaea956ee56e658e6f650cc37c7beccbf89842bfb0a65ac62c58e69e6ece
7
+ data.tar.gz: 6862a0be87fa0fd6bebc3c67b414dd97c36da3382325255d25c04d79409a8e07f8a78d6aa3de57d66733a9601679d9f415cd437865eecd1aa8b52cb69a0021f8
@@ -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: aarch64-linux
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