fly.io-rails 0.0.13-x64-mingw32 → 0.0.14-x64-mingw32

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: 6c291bab1f01ba437e8e067ec11344b5359d3eb0b0b2e47fa22fe6a2bbb167cf
4
- data.tar.gz: efd511f6ddd83380fe3c8826daa2376410960f608a4325ca49153f11a2d77143
3
+ metadata.gz: b0214bc57bd839d379d01335066b1de69cef4d318068aa9049b60983e004a351
4
+ data.tar.gz: fa634d537d6668d74f2e541fde3a167f088cd242c20c9e78c12947bcf091d7d7
5
5
  SHA512:
6
- metadata.gz: 2bc2afbd450c1a5dcb1d8c01094b4278fbf920f3f3551a694ccfaa2cdb5bcd5db62cd8edddbcf10462e79db0c0976b85e520645b0b85287298928e5170c7c5b0
7
- data.tar.gz: 943402aea38d5d6a550863123454559bf7c22b020dc3563ba132a6c03cf438c0ee880934008c164c9db8e091ce9e8434a26048d88871b6019bfd27ecd51f070b
6
+ metadata.gz: 812ca0b22206e85cd77885c9e24ef29aef7a80ae43a5bea6ffc6d7658de11655629d1082469bea3f1cac204fa406c8711d9cd115cf0f03df5fc83d506195a6f4
7
+ data.tar.gz: 9589253bab9d2f0bf9b96fcf9ddcbc209efe7e8b4680bc0986e56d07b058e210c3b2fe189225fadd78c937c5dd6f5c503299e2c570f0fbf89a41c92da8ed0c7d
@@ -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: x64-mingw32
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
@@ -47,6 +47,7 @@ files:
47
47
  - lib/generators/templates/Dockerfile.erb
48
48
  - lib/generators/templates/dockerignore.erb
49
49
  - lib/generators/templates/fly.rake.erb
50
+ - lib/generators/templates/fly.toml.erb
50
51
  - lib/generators/templates/main.tf.erb
51
52
  - lib/generators/terraform_generator.rb
52
53
  - lib/tasks/fly.rake