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 +4 -4
- data/lib/fly.io-rails/version.rb +1 -1
- data/lib/tasks/fly.rake +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d9991a9da5d9f5d1f689a03a18696ad5d217e8ba2f5e2c8a01983da4069c376
|
4
|
+
data.tar.gz: 4973d581b8d41e43220d8e827428fd9c1c9af2bad6253302d41fcff50511f9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aed2af1af40398622589a220d004a9ec1e1fb3d8f3f89ccb38ee17de9e4db83b7d95cf86ab1b4eceb36aed358dbdd872757daf0a0fe9b88c3f460e2ef6df825
|
7
|
+
data.tar.gz: eebcc6dcc83483ca09dba2f067511ca9ee12fcf107dbff6c110f42cd4dee2da3b574467e00e23fb0fa477a9fba5b4eaa7c26f10b0c3cd9ccd94ae6b1fb16ac75
|
data/lib/fly.io-rails/version.rb
CHANGED
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
|
|