interpol 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -202,7 +202,7 @@ module Interpol
202
202
  end
203
203
 
204
204
  validate_request_if do |env|
205
- env.fetch('CONTENT_TYPE').to_s.include?('json') &&
205
+ env['CONTENT_TYPE'].to_s.include?('json') &&
206
206
  %w[ POST PUT ].include?(env.fetch('REQUEST_METHOD'))
207
207
  end
208
208
 
@@ -1,3 +1,3 @@
1
1
  module Interpol
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interpol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: