fly.io-rails 0.2.0 → 0.2.1

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: 2ee5de53102f8bdadd0cf90cbac03e07b5dae4c6e9f811b03753fec0ae413020
4
- data.tar.gz: 05e528e61d28845236fc914274be307c73731fff71d4ba5ca2f21fa5e3833b26
3
+ metadata.gz: 7d44b178e905d455c46dd7b537b594327b4d42c851c7c64fc84683de3f66f8e5
4
+ data.tar.gz: a8370f586bb8f7fff41794d51b270c2d4d62ba2ad4f849621ed1ff76339d67a2
5
5
  SHA512:
6
- metadata.gz: bbb6b3a3f730fb1ac2f0924da06d48b69664e9c5225aac114a807cbdd28ed998dde239eeeef475ed4eee7e8ddbe29c2b96a166030cbb9d1d11f610a5c9735913
7
- data.tar.gz: 73095dafb055db3c9c4373a0f72f50c81a610b1baa820b1a550e6a0e4c8184b6640c1130e7cfb896fcba2a2bc59eb88becc3193c09365e2f38b39626b6793774
6
+ metadata.gz: 8dfbe824f8a4a8c2b04e9bfaab4257490dc110063240edbd9aba1cc3480978fdd1170c362fcda0ea2dae960c4237a53627f98255088a385d4ff7cb9db5d47b9e
7
+ data.tar.gz: ada5cac909a279a0aef6d00161690522c306fa1c2b3046fa408645ead53833cdc16364a692bf7055b92797b873b66bc7781f7a09af1d573fa0b2583f0884246f
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam 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