fly.io-rails 0.1.5 → 0.1.6

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: '09430ace636e3b85c5b26ea93685d04c6ac9849a739d4bf9112737b14db0c066'
4
- data.tar.gz: ae3546d0dc0d4091bb80397ea064a685b755de8f22cfe6873822f74d13c5b9b8
3
+ metadata.gz: 77922df296b340d88899a1249c1d962f1b13976c35af4d777f4572d999c10195
4
+ data.tar.gz: 9a7738006ada1ce48323a0017dae4917ef974a4bbd7b1dab39c0428554a21086
5
5
  SHA512:
6
- metadata.gz: b677c704e6cb60d17705509b10b1ac1bc301f032ecef1997605d00851bafa3fd58d3bd431c76f897eebade03bb2205ce33c472c425ca55eb4407b0a053314fd7
7
- data.tar.gz: 81907b62d795adae29bce7479de234cc9de8e172b20d3ed5d7d3cf881f7e926b3571db7d38bb1dbabf058982f80d725627a45256f9132b5e50eb685149c3f917
6
+ metadata.gz: ffc9e1793531cd8b3a399dab5bdcb7a93f75a37f051bbd868e5c78686e4fa34be94559dd573317317956cc7477ef131c5157671ef57f37e83a35eb47cd64362d
7
+ data.tar.gz: ba8eda493ee0e6c530ee529f637e76d7c0e3ee46333a62acffcefa211914573f03ef7896c92f9f626c6aa66cdce229916eeaa3ddc998c6b6612a695fe5701cd6
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
data/lib/fly.io-rails.rb CHANGED
@@ -11,7 +11,7 @@ class FlyIoRailtie < Rails::Railtie
11
11
  end
12
12
 
13
13
  # set FLY_IMAGE_NAME on Nomad VMs
14
- if not ENV['FLY_IMAGE_NAME'] and ENV['FLY_APP_NAME'] and ENV['FLY_API_TOKEN']
14
+ if not ENV['FLY_IMAGE_REF'] and ENV['FLY_APP_NAME'] and ENV['FLY_API_TOKEN']
15
15
  require 'fly.io-rails/machines'
16
16
 
17
17
  ENV['FLY_IMAGE_REF'] = Fly::Machines.graphql(%{
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-02 00:00:00.000000000 Z
11
+ date: 2022-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fly-ruby