fly.io-rails 0.0.14 → 0.0.15

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: 15c603605584b54ffebd9ec4dca378819be35ad10af27535975c9fff17985572
4
- data.tar.gz: f340c0f0b06b3e512ea5c3e731292968486e9213936488c0e3e9ccba7dff2d60
3
+ metadata.gz: 2b3b3f185af400b0c785450430046fbc8e7090cf9b5c99531d0c6772c91c99e6
4
+ data.tar.gz: 35fce1ae44ba3c79243e83134ff8736b6273e17584b2b453a7e897fca1b2ee58
5
5
  SHA512:
6
- metadata.gz: '08d49f650af670c1ced20dca8ffdc3e91c838b3830399dc8a9cfacdcb95f148301552b2f3574100d5948603e9a5bff8f650f652afb02ac56280ccb1a0730db92'
7
- data.tar.gz: 4f68e1372390cf061da4c80812f35cbdd88189c365296109b2ffbd4cc6f1961a60b8eb7f99d2170c0c30d2f1482bd9dd11f64997df842fb6dc7153e9dc92d7fb
6
+ metadata.gz: a9b5a45761db7d5d4e66803a87b5ef972238d026309d8696281727368d4bbcd2d92221dd9d3be2d69fbdea8e3035083146553496edf74b155e2e69293e69b2e7
7
+ data.tar.gz: c2d554686a70553ab179dfb0be87440ed865b042220f570e7f8b7a160b76e23a6da288104f0099f489101abe63b5cb4b0f59b7451910fc30f5d6c1f2799d5585
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
3
3
  end
@@ -18,6 +18,7 @@ class TerraformGenerator < Rails::Generators::Base
18
18
  exit 1 unless output =~ /^New app created: /
19
19
 
20
20
  @app = output.split.last
21
+ template 'fly.toml.erb', 'fly.toml'
21
22
 
22
23
  if options[:region].empty?
23
24
  @regions = JSON.parse(`flyctl regions list --json`)['Regions'].
@@ -37,7 +38,6 @@ class TerraformGenerator < Rails::Generators::Base
37
38
 
38
39
  template 'Dockerfile.erb', 'Dockerfile'
39
40
  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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fly.io-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby