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.
- checksums.yaml +4 -4
- data/lib/llv/cli.rb +5 -0
- data/lib/llv/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1ff766bc5e550cf359ada648e11e2400579b48f36c5d47e8f673aea18d9c060
|
|
4
|
+
data.tar.gz: a76bcc9a7d99208cc192c18a5acf4388d90abb02983809573cab752330a098ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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