fly-atc 0.0.6-arm64-darwin → 0.0.7-arm64-darwin

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: c7d4330b6b2dcac77077059c58564a058bdfe15833441054ef61b024953ba5af
4
- data.tar.gz: 7d72ff008a0ff2f5ccc9c48faa08f81a335ded0c111b06b45c957dc0cdca42e8
3
+ metadata.gz: d76bf222d0cb1230011b051363721b3d607329533dc11f4791a3f1059ecb5f96
4
+ data.tar.gz: 550636125ac108aa750e3701932895355cc31e542304478312f489de3571039c
5
5
  SHA512:
6
- metadata.gz: 89d3f260f3b499fd0565d31703d1e62102515fe9ba947d04285b9d7c59697894ffc86fd7b747d4325403797c8956fd3b3dffb59e313147bf2cf780f5c7c66959
7
- data.tar.gz: 712ae1294db02c3ae567613f2b2c8656a630fe6ae9c5f40a58507e65f768d20150cf2771ddb4aabebdf94a71628e4ccca1c5ba88a9007edd0ed5b1637c15f0de
6
+ metadata.gz: 39dc94c9cfe4e227bc82e7f9c6268aae041c9865c7a641a792d4fae96c174191d8cdb2a1603bf0069ac79efb960bb2a182a35efb5f747046072ec835a6567742
7
+ data.tar.gz: 78aea1067ec38347b3692e33a936be4b14fad13a36706f297e35344008e7fab43238242fdfcce35634bcc53dbc74336d13347739741ed9061d09b6d26a448409
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.7"
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.7
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Sam Ruby