fly.io-rails 0.3.2 → 0.3.3

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: e7529c34b863376b74682d776535c5638f7da02d2c5b07b3d57159c386cf29a6
4
- data.tar.gz: f5fb9981f1d3ae4345dd8f8dc20c28e07f5b4f2bfe1fdb2e17ef4c652665bfa6
3
+ metadata.gz: 2309c09c4343475c5bc0f9db6f8f62e2be0f0bdc57126fd524728099ab62c7d6
4
+ data.tar.gz: fe723aa4c5ca096cd5dc3bab2c2028200735a241c43b5db1a326cbafa87f786b
5
5
  SHA512:
6
- metadata.gz: 810fd74b0eb7a258e63587f43ae3993477da8d6d83d47c3d5d702c8eb93e942e24a7621b1be98b7cf6922bb1c1c2ad2aba7086d37a34c2890ea6b17eea26be76
7
- data.tar.gz: 7862c7d924e5aa39884caf15cc59476df5a9a513e0c3938705daa00317e31f21bf58f09849f9b4a898bf1b3213aa032123b1ceade8ffbfae3477bd8f2274c546
6
+ metadata.gz: 2934c24e7c628b62170023cfc96a36592961cc3536985e1e4b67b0c262695ff3a86754c39c0b0bca8d28b7709f81c69924548f778b007a2911f1a9b8d146385f
7
+ data.tar.gz: 07c5bb14d2f15629dc0cea201bc9536cd864f9eb2cf2afdcc354821fe701464ba0ba03eb140f076007d7b6329d82de33f7a762618b33850e5909d322994d62f7
@@ -307,15 +307,16 @@ module Fly
307
307
  if @anycable and not @gemfile.include? 'anycable-rails'
308
308
  cmd = 'bundle add anycable-rails'
309
309
  say_status :run, cmd
310
- system cmd
311
- system 'bundle install' # not sure why grpc doesn't get added the first time.
310
+ open('Gemfile', 'a') {|f| f.puts "\n gem \"anycable-rails\""}
311
+ system 'bundle install'
312
312
  exit $?.exitstatus unless $?.success?
313
313
  end
314
314
 
315
315
  if @postgresql and not @gemfile.include? 'pg'
316
316
  cmd = 'bundle add pg'
317
317
  say_status :run, cmd
318
- system cmd
318
+ open('Gemfile', 'a') {|f| f.puts "\n gem \"pg\""}
319
+ system 'bundle install'
319
320
  exit $?.exitstatus unless $?.success?
320
321
  end
321
322
 
@@ -1,3 +1,3 @@
1
1
  module Fly_io
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
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.3.2
4
+ version: 0.3.3
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-29 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fly-ruby