fly.io-rails 0.0.15-x86-linux → 0.0.16-x86-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: b78935fd1f24dcf151e1a2c17f639725b3db933364a6cfcbb1995853f10a63fa
4
- data.tar.gz: '0945ea5bd70aff895edf9b06ec9e01f60c080480b0574e0bf1008ff18531b539'
3
+ metadata.gz: 3ca2b35f45c729f5504f1ceb682ddb4c2cf12cf64023a4527ecf60799000ddcb
4
+ data.tar.gz: 9cb3d1d1d55ebb81ede83f469c8cd932ba6bde75a92602d8ee45b26b21e2d774
5
5
  SHA512:
6
- metadata.gz: 1ddda9265f2c4dfb8efd0f22498d39d80c27a1cb920d4e5fb9ca7ba76d99adb13ecc8ad1d67a2ec6a63ad02c1e47bc3c5252993229e51cdddc2a0f24e2dab802
7
- data.tar.gz: 8fc81b4d147b7e31ba4fa39898c445ea1b79e51e7b8fce6efa1246a4fa0b840882f4b4742e1270e898a0874bb19004e9db0c7fedbb5a1572cb1603c6bebcee01
6
+ metadata.gz: 1a8cc45745f4dd1036fee04d33afa6562810efb993bc1e220184076a725f7b368b8e49958643a42aa0bd8fce814b604af0640b741e4c13bba0885c6b62610bbe
7
+ data.tar.gz: 90392da9813c0eabd4c8ab011767ea2234043487ea3503ae1c3d1eff3d986a36dafb0512676ba2100d78b03a49b519a16772673c3babe610ca36ebd19ce91f49
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.0.15'
2
+ VERSION = '0.0.16'
3
3
  end
@@ -8,6 +8,8 @@ class TerraformGenerator < Rails::Generators::Base
8
8
  class_option :region, type: :array, repeatable: true, default: []
9
9
 
10
10
  def terraform
11
+ source_paths.push File.expand_path('./templates', __dir__)
12
+
11
13
  cmd = if options[:name]
12
14
  "flyctl apps create #{options[:name].inspect} --org #{options[:org].inspect}"
13
15
  else
@@ -27,8 +29,6 @@ class TerraformGenerator < Rails::Generators::Base
27
29
  @regions = options[:regions].flatten
28
30
  end
29
31
 
30
- source_paths.push File.expand_path('./templates', __dir__)
31
-
32
32
  @ruby_version = RUBY_VERSION
33
33
  @bundler_version = Bundler::VERSION
34
34
  @node = File.exist? 'node_modules'
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.15
4
+ version: 0.0.16
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Sam Ruby