fly.io-rails 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fly.io-rails/scanner.rb +4 -0
- data/lib/fly.io-rails/version.rb +1 -1
- data/lib/generators/templates/Dockerfile.erb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5c9b51d6eb530b75a8c568475a0b4417e04b69b689bb3dbed5f4a4e853cd70f
|
4
|
+
data.tar.gz: 79ab5a9129e7db9169dd3899ae53f0930c93a2a333bce4aaa57fbb5120ed9fda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bee2d7feb2fd3a503bef4e20cc1a4a8415dd04ce2ce65d687f786479a8198096e18456c8fadced357e3d19674617b773eb313f51f5863aa046bdc046dbc9d4ae
|
7
|
+
data.tar.gz: f45c6adc5ec0efe9ea8d03eb5e867f9b9b0aa3dcd94aa2f5c674bb0f75cb2e9eac9e0fb96db77a47bee9c1344b524321e6d94720f3e724cbf915936ce2c1d5bc
|
data/lib/fly.io-rails/scanner.rb
CHANGED
@@ -10,11 +10,15 @@ module Fly
|
|
10
10
|
@sqlite3 = true
|
11
11
|
elsif database == 'postgresql'
|
12
12
|
@postgresql = true
|
13
|
+
elsif database == 'mysql' or database == 'mysql2'
|
14
|
+
@mysql = true
|
13
15
|
end
|
14
16
|
|
15
17
|
gemfile = IO.read('Gemfile') rescue ''
|
16
18
|
@sidekiq = gemfile.include? 'sidekiq'
|
17
19
|
@anycable = gemfile.include? 'anycable'
|
20
|
+
@rmagick = gemfile.include? 'rmagick'
|
21
|
+
@bootstrap = gemfile.include? 'bootstrap'
|
18
22
|
|
19
23
|
@cable = ! Dir['app/channels/*.rb'].empty?
|
20
24
|
|
data/lib/fly.io-rails/version.rb
CHANGED
@@ -63,6 +63,8 @@ FROM base as build_deps
|
|
63
63
|
@build_packages = %w(git build-essential wget vim curl gzip xz-utils)
|
64
64
|
@build_packages << 'libpq-dev' if @postgresql
|
65
65
|
@build_packages << 'libsqlite3-dev' if @sqlite3
|
66
|
+
@build_packages << 'default-libmysqlclient-dev' if @mysql
|
67
|
+
@build_packages += %w[pkg-config libmagickwand-dev] if @rmagick
|
66
68
|
-%>
|
67
69
|
ARG BUILD_PACKAGES=<%= @build_packages.join(' ').inspect %>
|
68
70
|
ENV BUILD_PACKAGES ${BUILD_PACKAGES}
|
@@ -135,6 +137,9 @@ RUN apt-get install -y dirmngr gnupg apt-transport-https ca-certificates curl &&
|
|
135
137
|
@deploy_packages += %w(nginx passenger libnginx-mod-http-passenger) if @passenger
|
136
138
|
@deploy_packages << 'postgresql-client' if @postgresql
|
137
139
|
@deploy_packages << 'libsqlite3-0' if @sqlite3
|
140
|
+
@deploy_packages << 'default-mysql-client' if @mysql
|
141
|
+
@deploy_packages << 'imagemagick' if @rmagick
|
142
|
+
@deploy_packages << 'nodejs' if not @node and @boostrap
|
138
143
|
@deploy_packages << 'fuse' if @litefs
|
139
144
|
@deploy_packages << 'ruby-foreman' if @procs.length > 1
|
140
145
|
@deploy_packages << 'redis-server' if @redis == :internal
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fly.io-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fly-ruby
|