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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f8d5e69ec9a40e0698eb97d91f28882b9398f19ec85d2a412a5e79c86efc8fe
4
- data.tar.gz: 6d7f33be397ffe163fbe4ac87e050213c7f05fdef37adfc3a1189ccb2861d608
3
+ metadata.gz: 94f83f3280a2a6b83e006b86299ba92a073f9f046f956e2271cddfdcee19d026
4
+ data.tar.gz: 302d351eba16cb0df732df15cd2335187d651a72ac5ebe1503a8532b2f1128c0
5
5
  SHA512:
6
- metadata.gz: 1685c663f0116bb2e6953bdd47f4bfa2976c9fd38b24f12e973b0893d16b307f67a5416fd6e7718650449f4a745a4f3b8cb33ff6d00e1e9c103c211a54cc9f7d
7
- data.tar.gz: e0a8e23518ad123315c562f83b393df77caf06f680a349a5bf9303e4e05b0c239a16dd2500752d15c4aa6899c4f0d846753673cadd2b82f0e257ca00ef25c2df
6
+ metadata.gz: 11a7740615ba1804c39881b5a3ae6ae9ee1ffa3d1418880ccd429c3f18d8c9d95cc5706bac63172e650021b386d35046335ee804f16d706a268c281930195a99
7
+ data.tar.gz: e617bb7c0cd88ff6eff288edd00707c4db408bbcb86b48f0a9ba8892e7124d9568fc2f21313d991de5b093cf40ad0ae45eb19253a851c36ebdfb3e7a9c6e31ea
data/CHANGES.md CHANGED
@@ -2,6 +2,12 @@ CHANGES
2
2
  =======
3
3
 
4
4
 
5
+ Release 1.4.1 (2024-01-04)
6
+ --------------------------
7
+
8
+ * [bugfix] Fix 'bench' task not to raise error when arg not specified.
9
+
10
+
5
11
  Release 1.4.0 (2024-01-02)
6
12
  --------------------------
7
13
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Rack::JetRouter
2
2
 
3
- ($Release: 1.4.0 $)
3
+ ($Release: 1.4.1 $)
4
4
 
5
5
  Rack::JetRouter is crazy-fast router library for Rack application,
6
6
  derived from [Keight.rb](https://github.com/kwatch/keight/tree/ruby).
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
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  ###
5
- ### $Release: 1.4.0 $
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.0 $'.split()[1]
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] \
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rack-jet_router"
5
- spec.version = "$Release: 1.4.0 $".split()[1]
5
+ spec.version = "$Release: 1.4.1 $".split()[1]
6
6
  spec.author = "kwatch"
7
7
  spec.email = "kwatch@gmail.com"
8
8
  spec.platform = Gem::Platform::RUBY
data/test/builder_test.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ###
4
- ### $Release: 1.4.0 $
4
+ ### $Release: 1.4.1 $
5
5
  ### $Copyright: copyright(c) 2015 kwatch@gmail.com $
6
6
  ### $License: MIT License $
7
7
  ###
data/test/router_test.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  ###
4
- ### $Release: 1.4.0 $
4
+ ### $Release: 1.4.1 $
5
5
  ### $Copyright: copyright(c) 2015 kwatch@gmail.com $
6
6
  ### $License: MIT License $
7
7
  ###
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oktest