fly.io-rails 0.0.15-x86_64-darwin → 0.0.16-x86_64-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: d6679a0c25458384e3c8e453687e51c627b800fad17b21993d02aa1465607a16
4
- data.tar.gz: 8f82cdfe58fc5e383758a27d356d2e6263e6cf3cd3a03c93e4c365c4aaa29a35
3
+ metadata.gz: a73d5c93b85b6973cf0af8bbf8edde012f9ca5020b54f6a6f0307dd1bcc7dc1a
4
+ data.tar.gz: 03ab6a37ff95740c6c635b35e9e33ac30c91596f0dde1a941087f63b7f42b4e8
5
5
  SHA512:
6
- metadata.gz: 700670a6e7f3a4ce6aa7cd549c3eecc39abd073808e67c964c2b45db04735a634b84ce437824437c558ce43ea49821fc93bff5002b46f75d42b0a3b57854dfc9
7
- data.tar.gz: f2fbfc3b310414cff29d0f568e239b1de6aa00b70f585ee9e68365ea96754f50caea53cdf174da9ec77f37c79fb30764e16bc9a6d3594a72080864c867d0767e
6
+ metadata.gz: 0c4d97f6f17a1ea61214def65066cf2f5b51b542a8ead951d1142d2cbb3343de759bd81e798ef987891bf5d8eff864dfdf357f84eb55b40380ce528f639622b0
7
+ data.tar.gz: 1a28d5b1819a8dfa52a56629360f5970a8df04e4955bb803fa7fad3efad80735ca58cdb70069320bfca0779fba74f80b64155d2a13112323684aca3d4fd0b363
@@ -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_64-darwin
6
6
  authors:
7
7
  - Sam Ruby