rabl 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -1
- data/lib/rabl/engine.rb +1 -1
- data/lib/rabl/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/lib/rabl/engine.rb
CHANGED
@@ -219,7 +219,7 @@ module Rabl
|
|
219
219
|
# Returns the request parameters if available in the scope
|
220
220
|
# request_params => { :foo => "bar" }
|
221
221
|
def request_params
|
222
|
-
context_scope.respond_to?(:params)
|
222
|
+
(context_scope.params if context_scope.respond_to?(:params)) || {}
|
223
223
|
end
|
224
224
|
|
225
225
|
# Returns data as json embraced with callback when detected
|
data/lib/rabl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.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-
|
12
|
+
date: 2012-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|