dominiquebrezinski-sinatra-rest 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sinatra/rest.rb +1 -2
  2. metadata +3 -3
data/lib/sinatra/rest.rb CHANGED
@@ -136,8 +136,7 @@ module Sinatra
136
136
  def controller_template(route)
137
137
  t = <<-RUBY
138
138
  def PLURAL_NAME(options=params)
139
- mp = filter_model_params(options)
140
- CONTROL
139
+ filter_model_params(options).to_json
141
140
  end
142
141
  RUBY
143
142
  replace_variables(t, route)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 4
9
- version: 0.3.4
8
+ - 5
9
+ version: 0.3.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - blindgaenger
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2009-09-25 00:00:00 -07:00
19
+ date: 2010-06-08 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency