dox 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dox/entities/example.rb +2 -6
- data/lib/dox/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: e3017b4de18be018219c96ccc514f70cca773b8a
|
4
|
+
data.tar.gz: 9fd458348cb00703b8e4a0beb7ab5a962c0c50c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60c5c361bcdaae16d47f468f524076f832ecf5fd86160378833e2700513d951e65fcaa11fb401af7bdbe1878e1b4b9164153b074c806e431a3cdbab298e783e4
|
7
|
+
data.tar.gz: b0b2c7871768c293b2ff487cc7f1e1fbc10df6b59009da3d0da5a8cf5509de97aca332ba8f78cc6f1aa621c34da8a658933717311a15a7e6d18f2c983f45000a
|
data/lib/dox/entities/example.rb
CHANGED
@@ -36,15 +36,11 @@ module Dox
|
|
36
36
|
|
37
37
|
private
|
38
38
|
|
39
|
-
def path
|
40
|
-
request.path.sub(/\.json[^\?]*/, '')
|
41
|
-
end
|
42
|
-
|
43
39
|
def fullpath
|
44
40
|
if request.query_parameters.present?
|
45
|
-
|
41
|
+
"#{request.path}?#{request.query_parameters.to_query}"
|
46
42
|
else
|
47
|
-
path
|
43
|
+
request.path
|
48
44
|
end
|
49
45
|
end
|
50
46
|
end
|
data/lib/dox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Melita Kokot
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|