syro 3.2.0 → 3.2.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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.gems +3 -3
  3. data/README.md +1 -1
  4. data/lib/syro.rb +1 -1
  5. data/syro.gemspec +1 -1
  6. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c431564114919bd3cb431153267795d9a959a621d0cdafc20949a6b1fc23810
4
- data.tar.gz: 3b8d7e682fec564707d320a351eb3d76f7a044e23619a4d15962cb45ac1cb2db
3
+ metadata.gz: 91ee832b6435348393681438b2e8a167c1d5c56a3ebaaf494b4f3840b716adde
4
+ data.tar.gz: 3ba242a11056f3fd32da0b2198b9c10fa35e5c4f4db7217ec044fadf047f01b3
5
5
  SHA512:
6
- metadata.gz: aafde14a3978fa175bee9e566d2d7157e62c498dbb78bc704ee022791650eab39f22edf9b49a71de7658741e531e0d975a3738a68eb59c36d37fd2c6dd7da4a3
7
- data.tar.gz: 16f2d0621fee223a20f1b669d61c9596577c5e23b00e50b93ed9bc5dd69fed7646bab7127ee49453a8fd6301c5475108447f7cc14d5b4a0e58836ec4a1a35095
6
+ metadata.gz: a4b4c73c4b4d731914a119a81b5bfc1154872f47343744532a0334525e0a2f978878015d1df11324376551c6617818193c0b6d462b9fbd54c3cd535b0a5ea78e
7
+ data.tar.gz: '0825e4cd946e7fba9d84907cce3442b53c158baaf2c0678864df1f0648b3834feb1976c1b62facdeb82e6fb172863958b432ba5ab7d067e26ce52bb3133ffea9'
data/.gems CHANGED
@@ -1,4 +1,4 @@
1
1
  cutest -v 1.2.3
2
- rack -v 2.0.1
3
- seg -v 1.1.0
4
- rack-test -v 0.6.3
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 inconditionally.
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "syro"
3
- s.version = "3.2.0"
3
+ s.version = "3.2.1"
4
4
  s.summary = "Simple router"
5
5
  s.description = "Simple router for web applications"
6
6
  s.authors = ["Michel Martens"]
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.0
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: 2020-02-28 00:00:00.000000000 Z
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.2
105
+ rubygems_version: 3.0.3
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Simple router