rack-jet_router 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/Rakefile +1 -0
- data/lib/rack/jet_router.rb +2 -2
- data/rack-jet_router.gemspec +1 -1
- data/test/rack/jet_router_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c763fbc224d9c9c21718bf685203b35694c20f3b
|
4
|
+
data.tar.gz: 56bc71a1d83180f2970f1d95985fc8b2fa9b91bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b72f539eb7750a754daea1189aa0035e8010a93d7debf74ef7f6a4b927223daf19f4bfbf0165192aab08c0e395289fabc423ee4690e6ab0ff0417603185334f1
|
7
|
+
data.tar.gz: 565dcf52b9c34e81803474de3c212f2b2b92d543a85057f3ab7959764f724b1ea2a5dc07c11caa4aca06a79aa318410000dabb98001ef4e0cbad4aaaa711fe11
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Rack::JetRouter
|
2
2
|
|
3
|
-
($Release:
|
3
|
+
($Release: 1.1.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).
|
@@ -242,6 +242,11 @@ end
|
|
242
242
|
Above methods are invoked from `Rack::JetRouter#call()`.
|
243
243
|
|
244
244
|
|
245
|
+
## Todo
|
246
|
+
|
247
|
+
* [_] support regular expression such as `/books/{id:\d+}`.
|
248
|
+
|
249
|
+
|
245
250
|
## Copyright and License
|
246
251
|
|
247
252
|
$Copyright: copyright(c) 2015 kuwata-lab.com all rights reserved $
|
data/Rakefile
CHANGED
@@ -40,6 +40,7 @@ task :edit do
|
|
40
40
|
rel = ENV['rel'] or
|
41
41
|
raise "ERROR: 'rel' environment variable expected."
|
42
42
|
filenames = Dir[*%w[lib/**/*.rb test/**/*_test.rb test/test_helper.rb *.gemspec]]
|
43
|
+
filenames << 'README.md'
|
43
44
|
filenames.each do |fname|
|
44
45
|
File.open(fname, 'r+', encoding: 'utf-8') do |f|
|
45
46
|
content = f.read()
|
data/lib/rack/jet_router.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
|
3
3
|
###
|
4
|
-
### $Release: 1.1.
|
4
|
+
### $Release: 1.1.1 $
|
5
5
|
### $Copyright: copyright(c) 2015 kuwata-lab.com all rights reserved $
|
6
6
|
### $License: MIT License $
|
7
7
|
###
|
@@ -55,7 +55,7 @@ module Rack
|
|
55
55
|
##
|
56
56
|
class JetRouter
|
57
57
|
|
58
|
-
RELEASE = '$Release: 1.1.
|
58
|
+
RELEASE = '$Release: 1.1.1 $'.split()[1]
|
59
59
|
|
60
60
|
def initialize(mapping, urlpath_cache_size: 0,
|
61
61
|
enable_urlpath_param_range: true)
|
data/rack-jet_router.gemspec
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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- makoto kuwata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|