fly.io-rails 0.0.15 → 0.0.16

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: 2b3b3f185af400b0c785450430046fbc8e7090cf9b5c99531d0c6772c91c99e6
4
- data.tar.gz: 35fce1ae44ba3c79243e83134ff8736b6273e17584b2b453a7e897fca1b2ee58
3
+ metadata.gz: 4038f99a970057219701102b716c26b6d6d3713d576e62d8cec7151829728578
4
+ data.tar.gz: ead0c61371b41a53182fcd03e2489695971827c693e9aa3af810525ee5324efd
5
5
  SHA512:
6
- metadata.gz: a9b5a45761db7d5d4e66803a87b5ef972238d026309d8696281727368d4bbcd2d92221dd9d3be2d69fbdea8e3035083146553496edf74b155e2e69293e69b2e7
7
- data.tar.gz: c2d554686a70553ab179dfb0be87440ed865b042220f570e7f8b7a160b76e23a6da288104f0099f489101abe63b5cb4b0f59b7451910fc30f5d6c1f2799d5585
6
+ metadata.gz: 1b938c6e28c26e577942f2af1525d89cdb36df86a7c5585364c3304f2a04d670febb2f17380c798b9fef35ddd36ad2daec7fbd9400db5b2a6f21c2b932daae0c
7
+ data.tar.gz: 5c8d3cb0d08ca82167cd908f11791b1ac97c20405ffa2b55c9bf3cc372a61e08334c73017cfe6837f33a083b16684d9255bbe3713f66530d39de58ee080e9b28
@@ -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: ruby
6
6
  authors:
7
7
  - Sam Ruby