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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cabb5f37f0dd4bbec717d8490cd9d94b736373ae9227a92eb0c26e7ac0d2e0b9
4
- data.tar.gz: acb4bd5973ad7736266c1a3b357587534aa3a023804ccf9ee26a6204ca032c68
3
+ metadata.gz: f5c9b51d6eb530b75a8c568475a0b4417e04b69b689bb3dbed5f4a4e853cd70f
4
+ data.tar.gz: 79ab5a9129e7db9169dd3899ae53f0930c93a2a333bce4aaa57fbb5120ed9fda
5
5
  SHA512:
6
- metadata.gz: 11199be3467dcf32923d67804bae749af69f8b1c041641690cdb8b4e72e4e4f84a742cce06b6d98ab64a975f74c778a20a1d829eff72290da15c9eb5f78050b8
7
- data.tar.gz: c7adb212a71b16dcf7bdcd0b413b2c7b1a224561627f5754c011b8341bb5740a175b9da63d53a83e069224ffd1a7ee656ffca231eda18f2f18c615d68fd17804
6
+ metadata.gz: bee2d7feb2fd3a503bef4e20cc1a4a8415dd04ce2ce65d687f786479a8198096e18456c8fadced357e3d19674617b773eb313f51f5863aa046bdc046dbc9d4ae
7
+ data.tar.gz: f45c6adc5ec0efe9ea8d03eb5e867f9b9b0aa3dcd94aa2f5c674bb0f75cb2e9eac9e0fb96db77a47bee9c1344b524321e6d94720f3e724cbf915936ce2c1d5bc
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.13'
3
3
  end
@@ -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.11
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-15 00:00:00.000000000 Z
11
+ date: 2022-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fly-ruby