akamai-edgegrid 1.0.3 → 1.0.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.
Files changed (2) hide show
  1. data/lib/akamai/edgegrid.rb +1 -1
  2. metadata +1 -1
@@ -104,7 +104,7 @@ module Akamai #:nodoc:
104
104
 
105
105
  # Returns a hash of the HTTP POST body
106
106
  def make_content_hash(request)
107
- if request.method == 'POST' and request.body_exist? and request.body.length > 0
107
+ if request.method == 'POST' and request.body and request.body.length > 0
108
108
  body = request.body
109
109
  if body.length > @max_body
110
110
  @log.debug("data length #{body.length} is larger than maximum #{@max_body}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akamai-edgegrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: