ridley 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,6 @@ module Ridley
11
11
  # @return [String]
12
12
  # the binary checksum of the contents of the file
13
13
  def checksum(io, digest = Digest::MD5.new)
14
- io = io.dup
15
14
  while chunk = io.read(1024 * 8)
16
15
  digest.update(chunk)
17
16
  end
@@ -87,6 +86,8 @@ module Ridley
87
86
  end
88
87
 
89
88
  begin
89
+ io.rewind
90
+
90
91
  Faraday.new(url, self.options) do |c|
91
92
  c.response :chef_response
92
93
  c.response :follow_redirects
@@ -1,3 +1,3 @@
1
1
  module Ridley
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridley
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -454,7 +454,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
454
454
  version: '0'
455
455
  segments:
456
456
  - 0
457
- hash: 1580107722882727150
457
+ hash: -34291902941315925
458
458
  requirements: []
459
459
  rubyforge_project:
460
460
  rubygems_version: 1.8.23