parsnip 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. data/lib/parsnip.rb +1 -0
  2. data/lib/parsnip/version.rb +1 -1
  3. metadata +2 -2
@@ -27,6 +27,7 @@ module Parsnip
27
27
  private
28
28
 
29
29
  def parse_nip(request)
30
+ return unless request.content_type
30
31
  case request.content_type.downcase
31
32
  when /json/
32
33
  with_rewind(request) { |body| json_nip(body) }
@@ -1,3 +1,3 @@
1
1
  module Parsnip
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsnip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-05-06 00:00:00.000000000 Z
12
+ date: 2013-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec