fly-atc 0.0.5-x86_64-linux → 0.0.7-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: 62f6288f9d773f3f23f35e4c2feb3635b9174fc3001499a3f5e81f552159f716
4
- data.tar.gz: 60c2676723c373da9a20e5c75ec0dd2a5207a7f863ac7bf62902eca875ecdee9
3
+ metadata.gz: 5d16e80d79da1032b59fa302bd20e3dbc1fd3af34cc7b2acbaf5fe6648719f32
4
+ data.tar.gz: 3f62cdf6dac0e1f8fab3c2bad3504c5afe5941cba85c184e3784d288d5a9c324
5
5
  SHA512:
6
- metadata.gz: 1838c0f0fa704cd35ec2a47ff7bddc7d974b4e8c2abb6dfb0ff35230c178c0de380d6666ffeeaa185794d97a69d2acb9100971e626201cded46ed900dfa8875f
7
- data.tar.gz: ad94872b6c99141067ed734287996da6389a70bf86fc968b4df837da5181eae540ddb7a5f56e2405ce3e7743c68a43c02d29f92ebc4dec67f83b52fc6c8223ec
6
+ metadata.gz: 07ebf36a2f597149986a912ba760b7177af1026ba61cf8f126a729c37570f1a1594e9887650dc424761984b70754d5eeeba7c7fb70abc5047652fe7b43b56d6f
7
+ data.tar.gz: 5b3a51ddf61ce315c5511662acd63cc7bd31528d8e204bbbe76bed450954ce3b8c933a0db4adf099065ab8fd6c5b3e35882d68a7b42a5decc2746f662796d8a6
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.5"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fly-atc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails