halorgium-auth-hmac 1.1.1.2010090302 → 1.1.1.2010090303

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/auth-hmac.rb +2 -1
  2. metadata +3 -3
data/lib/auth-hmac.rb CHANGED
@@ -108,8 +108,9 @@ class AuthHMAC
108
108
 
109
109
  def read_body
110
110
  if request.body.respond_to?(:read)
111
- request.body.read
111
+ body = request.body.read
112
112
  request.body.rewind
113
+ body
113
114
  else
114
115
  request.body
115
116
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: halorgium-auth-hmac
3
3
  version: !ruby/object:Gem::Version
4
- hash: 4020180527
4
+ hash: 4020180525
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 1
10
- - 2010090302
11
- version: 1.1.1.2010090302
10
+ - 2010090303
11
+ version: 1.1.1.2010090303
12
12
  platform: ruby
13
13
  authors:
14
14
  - Sean Geoghegan