rack-jet_router 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -0
- data/README.md +1 -1
- data/bench/Rakefile.rb +4 -1
- data/lib/rack/jet_router.rb +2 -2
- data/rack-jet_router.gemspec +1 -1
- data/test/builder_test.rb +1 -1
- data/test/router_test.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: 94f83f3280a2a6b83e006b86299ba92a073f9f046f956e2271cddfdcee19d026
|
4
|
+
data.tar.gz: 302d351eba16cb0df732df15cd2335187d651a72ac5ebe1503a8532b2f1128c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a7740615ba1804c39881b5a3ae6ae9ee1ffa3d1418880ccd429c3f18d8c9d95cc5706bac63172e650021b386d35046335ee804f16d706a268c281930195a99
|
7
|
+
data.tar.gz: e617bb7c0cd88ff6eff288edd00707c4db408bbcb86b48f0a9ba8892e7124d9568fc2f21313d991de5b093cf40ad0ae45eb19253a851c36ebdfb3e7a9c6e31ea
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
data/bench/Rakefile.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
+
task :default do
|
5
|
+
sh "rake -T", verbose: false
|
6
|
+
end
|
4
7
|
|
5
8
|
desc "run 'bench.rb' script"
|
6
9
|
task :bench, :N do |t, args|
|
7
10
|
n = args[:N] || 1000000
|
8
|
-
ruby "bench.rb", "-n", n
|
11
|
+
ruby "bench.rb", "-n", n.to_s
|
9
12
|
#ruby "bench.rb", "-n", n, "--sinatra=0", "--multiplexer=0"
|
10
13
|
#ruby "bench.rb", "-n", n, "--rack=0", "--jetrouter=0", "--keight=0", "--multiplexer=0", "--sinatra=0", "--hanami=0"
|
11
14
|
end
|
data/lib/rack/jet_router.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
###
|
5
|
-
### $Release: 1.4.
|
5
|
+
### $Release: 1.4.1 $
|
6
6
|
### $Copyright: copyright(c) 2015 kwatch@gmail.com $
|
7
7
|
### $License: MIT License $
|
8
8
|
###
|
@@ -76,7 +76,7 @@ module Rack
|
|
76
76
|
##
|
77
77
|
class JetRouter
|
78
78
|
|
79
|
-
RELEASE = '$Release: 1.4.
|
79
|
+
RELEASE = '$Release: 1.4.1 $'.split()[1]
|
80
80
|
|
81
81
|
#; [!haggu] contains available request methods.
|
82
82
|
REQUEST_METHODS = %w[GET POST PUT DELETE PATCH HEAD OPTIONS TRACE LINK UNLINK] \
|
data/rack-jet_router.gemspec
CHANGED
data/test/builder_test.rb
CHANGED
data/test/router_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-jet_router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kwatch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oktest
|