fly-atc 0.0.6-x86_64-darwin → 0.0.8-x86_64-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: f2026ddcc009a516e6ef1c3a5a08dd62779e4b81b46ee13ddb6fa676b16eb6df
4
- data.tar.gz: 6fc53b8a05e77606b6c27860dc24140081c5d594e3815531483ec51854994d0d
3
+ metadata.gz: e2987ad87a06d0de1a8849f1f61dd8bb4bbefae893d5eb9d54a89dd83b1486ea
4
+ data.tar.gz: f3c0ae8ed4da0487adaf0527c8074ab340e8d05060dbcf7eaf9be2d75a85bd01
5
5
  SHA512:
6
- metadata.gz: f3e6534809a4821b2fca1b311bfb0873f671d87aa2e81ebd8d7cbb14a8416896e5c69dcadd7b7ccfd2f4928fcc4602d346873a42684b691b346a2291294bd9bb
7
- data.tar.gz: 21e5fce393724ab7803278a3f59e1499f6dddf5de0a166e8e53253022b392ee275d9de028c3ea3e3c92ceeafd42790d76fcfd1ac84405c59ccda28b6116382ae
6
+ metadata.gz: 7522a5fd98a0d23836330bc13bd6fd1d1a18a45181b8ae77043d92fec2e082bffbe1722e55d68506b009c3b9f50c622954bda89705c15a71740e5c0b110f80d9
7
+ data.tar.gz: 87e239909efffb9546ec5720d3ec3d62c797e77d58c3d30dbe204d010cb258baa3c114512e0d94b582615cad52d5b07f08a2b9978cc99e8cd7ba350492e67783
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-darwin
6
6
  authors:
7
7
  - Sam Ruby