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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77769eb7c66afabb92fdfd03814b9ba19fd4c532
4
- data.tar.gz: 810167221ebe04073d1a33f5eecc6db0f9683589
3
+ metadata.gz: e3017b4de18be018219c96ccc514f70cca773b8a
4
+ data.tar.gz: 9fd458348cb00703b8e4a0beb7ab5a962c0c50c7
5
5
  SHA512:
6
- metadata.gz: 47deb48ed84dbd87868adb2b360e77e3a7ecf3762e607a23e13af2024e262c8ab2b1f81a837efcca5fff386490a66f0c6b7d36100f00974738b4a3cb5380be7b
7
- data.tar.gz: 10e5dd7824ded8945f169d9336cb0413d60121b6b4656332e43e5c860f452c073b8f9f32411dbf6cdfcb21799ba8b7f3c7add4de27979828c4c1597942267be2
6
+ metadata.gz: 60c5c361bcdaae16d47f468f524076f832ecf5fd86160378833e2700513d951e65fcaa11fb401af7bdbe1878e1b4b9164153b074c806e431a3cdbab298e783e4
7
+ data.tar.gz: b0b2c7871768c293b2ff487cc7f1e1fbc10df6b59009da3d0da5a8cf5509de97aca332ba8f78cc6f1aa621c34da8a658933717311a15a7e6d18f2c983f45000a
@@ -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
- URI::HTTP.build(path: path, query: request.query_parameters.to_query)
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
@@ -1,3 +1,3 @@
1
1
  module Dox
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-14 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler