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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e14871823a1771774b2ad8abae4ee766caac88ff51acb308cacc8a178d41da4
4
- data.tar.gz: 36178b6813cf8487f685ba4e5a74c7a983e2dd06db2d0d224023d7c64cc227e0
3
+ metadata.gz: 36672ad378e1e075df3ea97c48960dc48eaf69ef133bd73f52a8ba667689b909
4
+ data.tar.gz: 4617ec443a807af7994cb1c30c3780de4785ae14fd9aae8fa21a07f38284eea1
5
5
  SHA512:
6
- metadata.gz: 595d816933f71ed9003ae3261f61f2b52cee61c9791a19b054b9be81841eb3e3f541e60ce798911b91380fe812656b90611963d6b0386dfd9c6239952149c6e9
7
- data.tar.gz: 3117f4172652685565693597fbe7cf7f1ba25cf85c34d04db679f057c5b3bbf4111d830b9f6e63db6ea47ff1c9d9b7fa6cd2ef8e05b89da62e60547f5591d81d
6
+ metadata.gz: 624dca929cc78ffa686b784a3dbca0817547092e8ecaa3878b973c6e32960a8e980e9544f463f9ecbb00e525fd9dd7943d7013f6f2ef0f7e32db9a58c7f66dab
7
+ data.tar.gz: 5c6e012bf74e0a7b3579d70fed1327f7e331d8a3b49b8efeb1e7a9c8e98e20a927be3463be3f775dbdf361dbc51584bcc1a240b38be0518c9f751e8f7a0119a6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  See this http://keepachangelog.com link for information on how we want this documented formatted.
4
4
 
5
+ ## v4.2.1
6
+
7
+ ### Added
8
+
9
+ - Local Development Proxy Server with Puma. See #164
10
+
5
11
  ## v4.2.0
6
12
 
7
13
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lamby (4.2.0)
4
+ lamby (4.2.1)
5
5
  rack
6
6
 
7
7
  GEM
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
@@ -1,3 +1,3 @@
1
1
  module Lamby
2
- VERSION = '4.2.0'
2
+ VERSION = '4.2.1'
3
3
  end
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.0
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-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack