fly-atc 0.0.6-aarch64-linux → 0.0.7-aarch64-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: 6c45a1ef30c3efc78a3840f20418bac79d6aba9ab08e69feea915552bfe9597e
4
- data.tar.gz: 676826d6ec13415a7764671af6d7bcd858730befb2caf52d20843f99899a1442
3
+ metadata.gz: 2d11768d786313212d9b611d30e3979d9f7ac0b829b693500135fe115d924a49
4
+ data.tar.gz: e8c9c9804d8a2882c476c911618e3d05d15a2c6e00ae6d57eb92d93287daccb0
5
5
  SHA512:
6
- metadata.gz: 8ed39c76704b6ccc613026582c47180a85e0524df1640191ad45c5b500f4133515edce82e9f52c3cfc6b2c50335ce9b25879159707761aae1a832a73402eddb7
7
- data.tar.gz: 9aa466e44e69244691dee7274388fed7ab2fb0d716a7b1837327e6f588df1721763d79ed658b812c6128bcff34b05145b36ddd7e71492ae65039768bf337c75d
6
+ metadata.gz: 530f1a8670228ae7f35403128619195054ffc478a6766f4ff39991d011f03dfa3327ecc69d673016cc2cd4d971c8ba8e14889f3011d8395a4b884b7c664008b5
7
+ data.tar.gz: 7244f17d443b5c7053416898f5ff18400b25330840fab21a0d0470838a0b82563c184d8a225bf0326ac12e210a08f347e913175fa0bcd6885e0351a05c5418c3
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: aarch64-linux
6
6
  authors:
7
7
  - Sam Ruby