api_versioning 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,9 +43,9 @@ module ApiVersioning
43
43
  render :json => results.join(','), :callback => params[:callback]
44
44
 
45
45
  rescue NameError => e
46
- render_api_error "Unknown Presenter", e
46
+ render_api_error "Unknown Presenter", 400, e
47
47
  rescue Exception => e
48
- render_api_error "Bad API Request", e
48
+ render_api_error "Bad API Request", 400, e
49
49
  end
50
50
 
51
51
  end
@@ -1,3 +1,3 @@
1
1
  module ApiVersioning
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -212,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  segments:
214
214
  - 0
215
- hash: -3542417538236971569
215
+ hash: -1817595429545356775
216
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  none: false
218
218
  requirements:
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  version: '0'
222
222
  segments:
223
223
  - 0
224
- hash: -3542417538236971569
224
+ hash: -1817595429545356775
225
225
  requirements: []
226
226
  rubyforge_project:
227
227
  rubygems_version: 1.8.24