fly-atc 0.0.6-x86_64-linux → 0.0.8-x86_64-linux

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: ef84e072e4eebc704de54cb9a518a3e83c86ad85d5d42ff4226ce525ffc8b69e
4
- data.tar.gz: 46a74b19d497366a8bb51e5de19f0d14a69915a804f4745039b2d5aed18d2180
3
+ metadata.gz: 92c7c265599b137b6b6a50b8994f4263d22f9d0a35f6711881492e1a42661fb4
4
+ data.tar.gz: 216946eb1e2643d7b50f70f5097ec4343bad9ac3c0579014ffaeadb11ad24b74
5
5
  SHA512:
6
- metadata.gz: 44e4f323b043ac457bb72b7605c07011e5d7e45a2de3d90fed3b4897b4c12b4bbc7c01f9d0aacb6e2d0a1b4153b2954fcf91d2c8fe1284d127959c726e15f12d
7
- data.tar.gz: 45febc293abb82ba71df019450d68b038db336ed9ef2c8ca261dcb0835bb3b560c35efb1eaeea5eac5d5d70717878be7c4d9ab629495024a9add197880dd2b84
6
+ metadata.gz: 4abd272ce7389d948b0b6e28b01334099951ea76e9c14f25d888e2daa4a6068810cc8ef5bc41e8e365caf903f42cb6e30990cee5270ba9769966afb38e706cb5
7
+ data.tar.gz: df5f12fc4d970890f39f16e79dd8b0725e8ad3a06576bba6e604163c6d2f89053aa5ecbdc2bbb9a1ce9c0ba4580f25bc417eeac9504ee6b0cfd67ca8503601b4
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).
Binary file
@@ -1,3 +1,3 @@
1
1
  module FlyAtc
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -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, _ = @routes.split(/^(end.*)/m,2)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fly-atc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Sam Ruby