RubyGems
npm
Organizations
Log in
Sign up
RubyGems
dominiquebrezinski-sinatra-rest
Versions diffs
0.3.6 → 0.3.7
dominiquebrezinski-sinatra-rest 0.3.6 → 0.3.7
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/sinatra/rest.rb
+1
-1
metadata
+2
-2
data/lib/sinatra/rest.rb
CHANGED
Viewed
@@ -148,7 +148,7 @@ module Sinatra
148
148
module Helpers
149
149
# for example _method will be removed
150
150
def filter_model_params(params)
151
-
params.reject {|k, v| k =~ /^_/}
151
+
params.reject {|k, v| k =~ /^
(
_
|session_token)
/
}
152
152
end
153
153
154
154
def escape_model_id(model)
metadata
CHANGED
Viewed
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
segments:
6
6
- 0
7
7
- 3
8
-
-
6
9
-
version: 0.3.
6
8
+
-
7
9
+
version: 0.3.
7
10
10
platform: ruby
11
11
authors:
12
12
- blindgaenger