fly.io-rails 0.1.11 → 0.1.12

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: f6b7a5d3d9456b57b10f3c6afe3e4cf43feb664bcc15e26eb713858f1f083b61
4
+ data.tar.gz: 0e387f6e1a53a2c5116d9728bbb23019e1784b0f9e5045235bb6cb45b238b531
5
5
  SHA512:
6
- metadata.gz: 11199be3467dcf32923d67804bae749af69f8b1c041641690cdb8b4e72e4e4f84a742cce06b6d98ab64a975f74c778a20a1d829eff72290da15c9eb5f78050b8
7
- data.tar.gz: c7adb212a71b16dcf7bdcd0b413b2c7b1a224561627f5754c011b8341bb5740a175b9da63d53a83e069224ffd1a7ee656ffca231eda18f2f18c615d68fd17804
6
+ metadata.gz: 15f8f227ec913a93541f085575f70053cf78c8d63cb716617a51077a9952efce5fc3024f0a14e7dc71be8bcab0d03f6dcd3eca53c328d0c2ac0da2a719a82598
7
+ data.tar.gz: f8c76df3368302bf1ca2abae00b57ab7067daad50a1e73cfda76c924f596a9eeefcb47fe336ab55cc85be2c32f091458e2e90b18f0023cde623b562c9cb7a3cc
@@ -10,6 +10,8 @@ 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 ''
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.12'
3
3
  end
@@ -63,6 +63,7 @@ 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
66
67
  -%>
67
68
  ARG BUILD_PACKAGES=<%= @build_packages.join(' ').inspect %>
68
69
  ENV BUILD_PACKAGES ${BUILD_PACKAGES}
@@ -135,6 +136,7 @@ RUN apt-get install -y dirmngr gnupg apt-transport-https ca-certificates curl &&
135
136
  @deploy_packages += %w(nginx passenger libnginx-mod-http-passenger) if @passenger
136
137
  @deploy_packages << 'postgresql-client' if @postgresql
137
138
  @deploy_packages << 'libsqlite3-0' if @sqlite3
139
+ @deploy_packages << 'default-mysql-client' if @mysql
138
140
  @deploy_packages << 'fuse' if @litefs
139
141
  @deploy_packages << 'ruby-foreman' if @procs.length > 1
140
142
  @deploy_packages << 'redis-server' if @redis == :internal
metadata CHANGED
@@ -1,7 +1,7 @@
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.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby