fly.io-rails 0.1.12 → 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 +2 -0
- data/lib/fly.io-rails/version.rb +1 -1
- data/lib/generators/templates/Dockerfile.erb +3 -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
@@ -17,6 +17,8 @@ module Fly
|
|
17
17
|
gemfile = IO.read('Gemfile') rescue ''
|
18
18
|
@sidekiq = gemfile.include? 'sidekiq'
|
19
19
|
@anycable = gemfile.include? 'anycable'
|
20
|
+
@rmagick = gemfile.include? 'rmagick'
|
21
|
+
@bootstrap = gemfile.include? 'bootstrap'
|
20
22
|
|
21
23
|
@cable = ! Dir['app/channels/*.rb'].empty?
|
22
24
|
|
data/lib/fly.io-rails/version.rb
CHANGED
@@ -64,6 +64,7 @@ FROM base as build_deps
|
|
64
64
|
@build_packages << 'libpq-dev' if @postgresql
|
65
65
|
@build_packages << 'libsqlite3-dev' if @sqlite3
|
66
66
|
@build_packages << 'default-libmysqlclient-dev' if @mysql
|
67
|
+
@build_packages += %w[pkg-config libmagickwand-dev] if @rmagick
|
67
68
|
-%>
|
68
69
|
ARG BUILD_PACKAGES=<%= @build_packages.join(' ').inspect %>
|
69
70
|
ENV BUILD_PACKAGES ${BUILD_PACKAGES}
|
@@ -137,6 +138,8 @@ RUN apt-get install -y dirmngr gnupg apt-transport-https ca-certificates curl &&
|
|
137
138
|
@deploy_packages << 'postgresql-client' if @postgresql
|
138
139
|
@deploy_packages << 'libsqlite3-0' if @sqlite3
|
139
140
|
@deploy_packages << 'default-mysql-client' if @mysql
|
141
|
+
@deploy_packages << 'imagemagick' if @rmagick
|
142
|
+
@deploy_packages << 'nodejs' if not @node and @boostrap
|
140
143
|
@deploy_packages << 'fuse' if @litefs
|
141
144
|
@deploy_packages << 'ruby-foreman' if @procs.length > 1
|
142
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
|