syro 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gems +3 -3
- data/README.md +1 -1
- data/lib/syro.rb +1 -1
- data/syro.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91ee832b6435348393681438b2e8a167c1d5c56a3ebaaf494b4f3840b716adde
|
4
|
+
data.tar.gz: 3ba242a11056f3fd32da0b2198b9c10fa35e5c4f4db7217ec044fadf047f01b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b4c73c4b4d731914a119a81b5bfc1154872f47343744532a0334525e0a2f978878015d1df11324376551c6617818193c0b6d462b9fbd54c3cd535b0a5ea78e
|
7
|
+
data.tar.gz: '0825e4cd946e7fba9d84907cce3442b53c158baaf2c0678864df1f0648b3834feb1976c1b62facdeb82e6fb172863958b432ba5ab7d067e26ce52bb3133ffea9'
|
data/.gems
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
cutest -v 1.2.3
|
2
|
-
|
3
|
-
|
4
|
-
rack-test -v
|
2
|
+
seg -v 1.2.0
|
3
|
+
rack -v 2.2.3
|
4
|
+
rack-test -v 1.1.0
|
data/README.md
CHANGED
@@ -99,7 +99,7 @@ the inbox.
|
|
99
99
|
`match`: Receives a String, a Symbol or a boolean, and returns true
|
100
100
|
if it matches the request.
|
101
101
|
|
102
|
-
`default`: Receives a block that will be executed
|
102
|
+
`default`: Receives a block that will be executed unconditionally.
|
103
103
|
|
104
104
|
`on`: Receives a value to be matched, and a block that will be
|
105
105
|
executed only if the request is matched.
|
data/lib/syro.rb
CHANGED
@@ -289,7 +289,7 @@ class Syro
|
|
289
289
|
path, script = env[Rack::PATH_INFO], env[Rack::SCRIPT_NAME]
|
290
290
|
|
291
291
|
env[Rack::PATH_INFO] = @syro_path.curr
|
292
|
-
env[Rack::SCRIPT_NAME] = script + @syro_path.prev
|
292
|
+
env[Rack::SCRIPT_NAME] = script.to_s + @syro_path.prev
|
293
293
|
env[Syro::INBOX] = inbox
|
294
294
|
|
295
295
|
halt(app.call(env))
|
data/syro.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Martens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: seg
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.0.
|
105
|
+
rubygems_version: 3.0.3
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Simple router
|