jdoc 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jdoc/link.rb +2 -2
- data/lib/jdoc/version.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: 1e6ab788d64fd09d89645af3739586aa7d7c1e4a
|
4
|
+
data.tar.gz: 314edf5ea027976c109b6308defbc5c60e775956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db73d88de36bc5639c4ff1494c19683decd3e7f60a4eec6ad50d84c15cad77b4fd516f86cb103cde5b7996fd3c40c3aefc0272e2097050d8a8779cccca28b7ef
|
7
|
+
data.tar.gz: 2bc1fe9dba2f79f086c5e90aef13c9f9489c846b69deed9f02a42c60db21a98d43a228d0a3a945e4a9db06c5701659058b49a28a4df8594a71bfa4d813abe317
|
data/CHANGELOG.md
CHANGED
data/lib/jdoc/link.rb
CHANGED
@@ -57,8 +57,8 @@ module Jdoc
|
|
57
57
|
# @example
|
58
58
|
# link.path #=> "GET /apps/:id"
|
59
59
|
def path
|
60
|
-
@path ||= @raw_link.href.gsub(/{(
|
61
|
-
":" + CGI.unescape($1).gsub(/[()]/, "").split("/").last
|
60
|
+
@path ||= @raw_link.href.gsub(/{(.+?)}/) do |matched|
|
61
|
+
":" + CGI.unescape($1).gsub(/[()\s]/, "").split("/").last
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
data/lib/jdoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubis
|