dry-stack 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dry-stack/stack.rb +1 -1
- data/lib/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: f4172852c96f51a96c725b98828c03bca46a47841f95bf005afd2b687c32d64b
|
4
|
+
data.tar.gz: 154b2dbe01c01f5087502277547bb089d98fb671f2fdc59e989fda7bd1918d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44c05987947ec6d53c3e49bbf303bbbd4047f95caba9491d5382880e99928c7132a39ed1226b93592e465fe830f75c00863330ee4907bd8b4d9c7139c90b1245
|
7
|
+
data.tar.gz: e5c959d554410589105274221e773580c859529aed1302d06eac34b2cb838ae31f7d1e0081cdd88b40151f0287009f76d9e88f10cb771361b335d0471d73b60a
|
data/lib/dry-stack/stack.rb
CHANGED
@@ -203,7 +203,7 @@ module Dry
|
|
203
203
|
rule = []
|
204
204
|
rule << "HostRegexp(`{name:#{nginx_host2regexp ing[:host]}}`)" if ing[:host]
|
205
205
|
rule << "ClientIP(#{[ing[:client_ip]].flatten.map{ "`#{_1}`" }.join ','})" if ing[:client_ip]
|
206
|
-
rule << "PathPrefix(`#{
|
206
|
+
rule << "PathPrefix(`#{ing[:path]}`)" if ing[:path]
|
207
207
|
rule << "#{ing[:rule]}" if ing[:rule]
|
208
208
|
|
209
209
|
middlewares = []
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-stack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artyom B
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|