fly.io-rails 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ee5de53102f8bdadd0cf90cbac03e07b5dae4c6e9f811b03753fec0ae413020
4
- data.tar.gz: 05e528e61d28845236fc914274be307c73731fff71d4ba5ca2f21fa5e3833b26
3
+ metadata.gz: '091df3ce45d486651daa4c683f833bf32a70125a00864d8d35cf83aeff979bf8'
4
+ data.tar.gz: bb2d0a59197a4a9731ed03367a81cccafe2f770a7949e49b2ae744db9cec5647
5
5
  SHA512:
6
- metadata.gz: bbb6b3a3f730fb1ac2f0924da06d48b69664e9c5225aac114a807cbdd28ed998dde239eeeef475ed4eee7e8ddbe29c2b96a166030cbb9d1d11f610a5c9735913
7
- data.tar.gz: 73095dafb055db3c9c4373a0f72f50c81a610b1baa820b1a550e6a0e4c8184b6640c1130e7cfb896fcba2a2bc59eb88becc3193c09365e2f38b39626b6793774
6
+ metadata.gz: b30322c1952953f68d2edf9d5ad85d333c7d71e956ff8a0f41c7e06c8b301f19610f915470d9ef0a4b665e31703714d93478bf2884d65a818c11adbda1bda7b4
7
+ data.tar.gz: b4ac51e241cbbdf226013d2421a44b0fae3d532e04ccd6f0b4fd5b870780aff55671b44d2d7fd11abe09fd7ada1f00973409d18d646d4640ba3f862b1185b1b4
@@ -18,6 +18,7 @@ module Fly
18
18
  @sidekiq = gemfile.include? 'sidekiq'
19
19
  @anycable = gemfile.include? 'anycable'
20
20
  @rmagick = gemfile.include? 'rmagick'
21
+ @image_processing = gemfile.include? 'image_processing'
21
22
  @bootstrap = gemfile.include? 'bootstrap'
22
23
  @puppeteer = gemfile.include? 'puppeteer'
23
24
 
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -154,6 +154,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
154
154
  @deploy_packages << 'default-mysql-client' if @mysql
155
155
  @deploy_packages << 'google-chrome-stable' if @puppeteer
156
156
  @deploy_packages << 'imagemagick' if @rmagick
157
+ @deploy_packages << 'libvips42' if @image_processing
157
158
  @deploy_packages << 'nodejs' if not @node and @bootstrap
158
159
  @deploy_packages << 'fuse' if @litefs
159
160
  @deploy_packages << 'ruby-foreman' if @procs.length > 1
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.2.0
4
+ version: 0.2.2
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-11-09 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fly-ruby
@@ -54,15 +54,13 @@ dependencies:
54
54
  version: '0'
55
55
  description:
56
56
  email: rubys@intertwingly.net
57
- executables:
58
- - flyctl
57
+ executables: []
59
58
  extensions: []
60
59
  extra_rdoc_files: []
61
60
  files:
62
61
  - LICENSE
63
62
  - README.md
64
63
  - Rakefile
65
- - exe/flyctl
66
64
  - lib/fly.io-rails.rb
67
65
  - lib/fly.io-rails/actions.rb
68
66
  - lib/fly.io-rails/dsl.rb
data/exe/flyctl DELETED
@@ -1,44 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # because rubygems shims assume a gem's executables are Ruby
3
-
4
- require "fly.io-rails/platforms"
5
-
6
- supported_platforms = Fly_io::PLATFORMS.values
7
- platform = [:cpu, :os].map { |m| Gem::Platform.local.send(m) }.join("-")
8
-
9
- if supported_platforms.none? { |supported_platform| Gem::Platform.match(supported_platform) }
10
- STDERR.puts(<<~ERRMSG)
11
- ERROR: flyctl does not support the #{platform} platform
12
- ERRMSG
13
- exit 1
14
- end
15
-
16
- exe_path = Dir.glob(File.join(__dir__, "*", "flyctl*")).find do |f|
17
- Gem::Platform.match(File.basename(File.dirname(f)))
18
- end
19
- if exe_path.nil?
20
- STDERR.puts(<<~ERRMSG)
21
- ERROR: Cannot find the flyctl executable for #{platform} in #{__dir__}
22
- If you're using bundler, please make sure you're on the latest bundler version:
23
-
24
- gem install bundler
25
- bundle update --bundler
26
-
27
- Then make sure your lock file includes this platform by running:
28
-
29
- bundle lock --add-platform #{platform}
30
- bundle install
31
-
32
- See `bundle lock --help` output for details.
33
- ERRMSG
34
- exit 1
35
- end
36
-
37
- if Gem.win_platform?
38
- # use system rather than exec as exec inexplicably fails to find the executable
39
- # on Windows
40
- system exe_path, *ARGV
41
- else
42
- # use exec rather than system to avoid creating a new process
43
- exec exe_path, *ARGV
44
- end