llv 0.1.0 → 0.1.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/llv/cli.rb +5 -0
  3. data/lib/llv/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '009573ab40ee86ba88dd8daee97a3035d9a24ab0d923c774c8550313f4a999ff'
4
- data.tar.gz: f569e2357a526127d941da5d4b0d5555fd6faca19a97e15a4ecf5bc4de1c73c4
3
+ metadata.gz: a1ff766bc5e550cf359ada648e11e2400579b48f36c5d47e8f673aea18d9c060
4
+ data.tar.gz: a76bcc9a7d99208cc192c18a5acf4388d90abb02983809573cab752330a098ba
5
5
  SHA512:
6
- metadata.gz: c5d6f573055cd148fbeb20c1b66e8e82ce040e619a7031255b83804d871fbca26db9486b2b7edb936bb6c55bb41cef7fe87ec5334ec24c976ffa14c196d11a9f
7
- data.tar.gz: d0e4c3c993f3cf2662a27b49de67c933f55624f4624ea3bcc7329ad7c8f3ab37e9a530c3408c46dc70ce3cbb23f0ffb6760e773b1fb447672e734d446ece434f
6
+ metadata.gz: 5b3f33ac24ea29190af3883c1aaa64dfaa5ae32e77c40be4a516d69ed1d6ed28a29dfc3c47ebf0c744488a51b93a2b668a394bae8272732a1964e5ba71bace47
7
+ data.tar.gz: ba5535e10cb196762975cd65d8b63397c423e2bfcc34a2999b67eae3a613a285f3488df98cd2c343d09cf2b96f758ab55deae9c3cb0992bd6f0b2561ceb82e1b
data/lib/llv/cli.rb CHANGED
@@ -92,6 +92,11 @@ module Llv
92
92
  # installing its handlers, so we run Puma on a background thread and
93
93
  # install our own traps *after* Puma is up — last-trap-wins.
94
94
  Web.set :traps, false
95
+ # Puma's rack handler auto-loads ./config/puma.rb from CWD by default;
96
+ # that's the host Rails app's config when llv is invoked from inside
97
+ # one (Podia's puma.rb requires `barnes`, which isn't in our bundle).
98
+ # Pass ['-'] to tell Puma to skip the file lookup entirely.
99
+ Web.set :server_settings, { config_files: ["-"] }
95
100
  url = "http://#{@options[:host]}:#{@options[:port]}/"
96
101
  puts "llv listening on #{url}"
97
102
 
data/lib/llv/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Llv
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Lawrence