restrack 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restrack/resource_request.rb +2 -1
- data/lib/restrack/version.rb +1 -1
- metadata +2 -2
@@ -30,7 +30,8 @@ module RESTRack
|
|
30
30
|
@params = @get_params
|
31
31
|
end
|
32
32
|
RESTRack.log.debug 'combined params: ' + @params.inspect
|
33
|
-
#
|
33
|
+
# Set up the initial routing.
|
34
|
+
raise HTTP400BadRequest if @request.path_info.include?('//')
|
34
35
|
@url_chain = @request.path_info.split('/')
|
35
36
|
@url_chain.shift if @url_chain[0] == ''
|
36
37
|
# Pull extension from URL
|
data/lib/restrack/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restrack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|