lamby 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/lamby/tasks.rake +11 -0
- data/lib/lamby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36672ad378e1e075df3ea97c48960dc48eaf69ef133bd73f52a8ba667689b909
|
4
|
+
data.tar.gz: 4617ec443a807af7994cb1c30c3780de4785ae14fd9aae8fa21a07f38284eea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 624dca929cc78ffa686b784a3dbca0817547092e8ecaa3878b973c6e32960a8e980e9544f463f9ecbb00e525fd9dd7943d7013f6f2ef0f7e32db9a58c7f66dab
|
7
|
+
data.tar.gz: 5c6e012bf74e0a7b3579d70fed1327f7e331d8a3b49b8efeb1e7a9c8e98e20a927be3463be3f775dbdf361dbc51584bcc1a240b38be0518c9f751e8f7a0119a6
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lamby/tasks.rake
CHANGED
@@ -5,4 +5,15 @@ namespace :lamby do
|
|
5
5
|
bind = ENV['LAMBY_PROXY_BIND'] || '0.0.0.0'
|
6
6
|
Rack::Handler::WEBrick.run Lamby::ProxyServer.new, Port: port, BindAddress: bind
|
7
7
|
end
|
8
|
+
|
9
|
+
task :proxy_server_puma => [:environment] do
|
10
|
+
port = ENV['LAMBY_PROXY_PORT'] || 3000
|
11
|
+
host = ENV['LAMBY_PROXY_BIND'] || '0.0.0.0'
|
12
|
+
lamby_proxy = Lamby::ProxyServer.new
|
13
|
+
maybe_later = MaybeLater::Middleware.new(lamby_proxy)
|
14
|
+
server = Puma::Server.new(maybe_later)
|
15
|
+
server.add_tcp_listener host, port
|
16
|
+
puts "Starting Puma server on #{host}:#{port}..."
|
17
|
+
server.run.join
|
18
|
+
end
|
8
19
|
end
|
data/lib/lamby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lamby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|