interpol 0.4.0 → 0.4.1

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.
@@ -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: