sinatra-api 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,6 @@
21
21
 
22
22
  module Sinatra
23
23
  module API
24
- VERSION = "1.1.2"
24
+ VERSION = "1.1.4"
25
25
  end
26
26
  end
data/lib/sinatra/api.rb CHANGED
@@ -86,7 +86,7 @@ module Sinatra
86
86
 
87
87
  unless raw_json.empty?
88
88
  begin
89
- params.merge!(parse_json(raw_json))
89
+ params.merge!(self.parse_json(raw_json))
90
90
  rescue ::JSON::ParserError => e
91
91
  logger.warn e.message
92
92
  logger.warn e.backtrace
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
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: 2013-11-15 00:00:00.000000000 Z
12
+ date: 2013-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json