fly.io-rails 0.0.10 → 0.0.11

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: 6daa30822b31d8a816c32d85ab6a52bd65e42fa00bf9304820df2ea01442fd52
4
- data.tar.gz: 4f0dad3cd0c63a54b030e113aa996631ffe88ade3d615a757b291af248fa4527
3
+ metadata.gz: 5d9991a9da5d9f5d1f689a03a18696ad5d217e8ba2f5e2c8a01983da4069c376
4
+ data.tar.gz: 4973d581b8d41e43220d8e827428fd9c1c9af2bad6253302d41fcff50511f9c8
5
5
  SHA512:
6
- metadata.gz: ab1106bec26d093fe109e0973f2659a19a228f8b8aad0e82fd2c1095dadc2b576503809b67c24764806b6c68cd3b652e5c7188dae84e6e8f684d7aa092339881
7
- data.tar.gz: 35f93fbd3cb1b4d5f7495aa0213ba69d2062d8decd52d21cff6f50f5a5ce4d37eae87dc63dae8a3d7a2cbfcfc6807bc6ca47241ba63aeec1dd167eee786f31e5
6
+ metadata.gz: 8aed2af1af40398622589a220d004a9ec1e1fb3d8f3f89ccb38ee17de9e4db83b7d95cf86ab1b4eceb36aed358dbdd872757daf0a0fe9b88c3f460e2ef6df825
7
+ data.tar.gz: eebcc6dcc83483ca09dba2f067511ca9ee12fcf107dbff6c110f42cd4dee2da3b574467e00e23fb0fa477a9fba5b4eaa7c26f10b0c3cd9ccd94ae6b1fb16ac75
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.0.10'
2
+ VERSION = '0.0.11'
3
3
  end
data/lib/tasks/fly.rake CHANGED
@@ -43,9 +43,11 @@ namespace :fly do
43
43
  config.delete :mounts
44
44
 
45
45
  # override start command
46
+ config[:env] ||= {}
46
47
  config[:env]['SERVER_COMMAND'] = 'bin/rails fly:release'
47
48
 
48
49
  # start release machine
50
+ STDERR.puts "--> #{config[:env]['SERVER_COMMAND']}"
49
51
  start = Fly::Machines.create_start_machine(app, config: config)
50
52
  machine = start[:id]
51
53
 
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.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby