fly-atc 0.0.6-aarch64-linux → 0.0.8-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/exe/aarch64-linux/fly-atc +0 -0
- data/lib/fly-atc/version.rb +1 -1
- data/lib/generators/atc_generator.rb +12 -2
- 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: ab93d628279892241631af3055cc6df6d5b9d9a0877f45d1ace04f3e85bc75d5
|
4
|
+
data.tar.gz: f563e17400220d6f8424b58435432398062a58a3465773594325ea207f9c3fca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8c1f1f52b031feaaa23fb60a1b584eda723981ef5890813900fbbac1bee457e0f2c3f61f07dd58b5df617103f66f2eac3660ced7246be8bcdffdb5fce13e210
|
7
|
+
data.tar.gz: 5bb8c4e255ce92865661300a21e833cd2504ec0cc2b0352134f3064ea07b208acda020fe231730587ee6bac18dd3132eec63b41357fcf89d7dfa5afbc297a199
|
data/README.md
CHANGED
@@ -24,8 +24,6 @@ bin/rails generate atc
|
|
24
24
|
|
25
25
|
Edit `config/atc.yml` as needed.
|
26
26
|
|
27
|
-
Fly.io's dockerfile generators will be able to help with this.
|
28
|
-
|
29
27
|
For approximately $1 US per month, you can run:
|
30
28
|
* [1 performance machine with 2Gb of RAM, 10GB of bandwidth, and 5GB of storage for 15 hours/month](https://fly.io/calculator?m=0_0_0_0_0&f=c&b=iad.10&a=no_none&r=shared_0_1_iad&t=10_100_5&u=0_1_100&g=1_performance_15_1_2048_iad_1024_0).
|
31
29
|
* [1 shared machine with 1Gb of RAM, 10GB of bandwidth, and 5GB of storage for 80 hours/month](https://fly.io/calculator?m=0_0_0_0_0&f=c&b=iad.10&a=no_none&r=shared_0_1_iad&t=10_100_5&u=0_1_100&g=1_shared_80_1_1048_iad_1024_0).
|
data/exe/aarch64-linux/fly-atc
CHANGED
Binary file
|
data/lib/fly-atc/version.rb
CHANGED
@@ -7,8 +7,8 @@ class AtcGenerator < Rails::Generators::Base
|
|
7
7
|
@routes = IO.read("config/routes.rb")
|
8
8
|
|
9
9
|
unless @routes.include? "fly_atc_scope"
|
10
|
-
_, prolog, routes = routes.split(/(.*Rails.application.routes.draw do\n)/m,2)
|
11
|
-
routes, epilog, _ =
|
10
|
+
_, prolog, routes = @routes.split(/(.*Rails.application.routes.draw do\n)/m,2)
|
11
|
+
routes, epilog, _ = routes.split(/^(end.*)/m,2)
|
12
12
|
routes = routes.split(/\n\s*\n/)
|
13
13
|
scoped = routes.select {|route| route =~ /^\s*\w/ && !route.include?('as:')}
|
14
14
|
|
@@ -40,5 +40,15 @@ class AtcGenerator < Rails::Generators::Base
|
|
40
40
|
end
|
41
41
|
|
42
42
|
template "application.html.erb", "app/views/layouts/application.html.erb"
|
43
|
+
|
44
|
+
### bin/fly-atc
|
45
|
+
|
46
|
+
unless File.exist?("bin/fly-atc")
|
47
|
+
system "bundle binstubs fly-atc"
|
48
|
+
end
|
49
|
+
|
50
|
+
### Dockerfile
|
51
|
+
|
52
|
+
gsub_file "Dockerfile", "bin/thrust", "bin/fly-atc"
|
43
53
|
end
|
44
54
|
end
|