riak-client 1.1.0 → 1.1.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.
data/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Riak Ruby Client Release Notes
2
2
 
3
+ ## 1.1.1 Patch/Bugfix Release - 2013-01-10
4
+
5
+ Release 1.1.1 fixes a minor bug with Net::HTTP on Ruby 1.8.7 with
6
+ patch level less than 315, where an exception would cause closing the
7
+ socket before it was opened.
8
+
3
9
  ## 1.1.0 Feature Release - 2012-11-07
4
10
 
5
11
  Release 1.1.0 includes full Riak 1.2 compatibility, and includes
@@ -1,4 +1,3 @@
1
-
2
1
  require 'riak/client/http_backend'
3
2
  require 'riak/failed_request'
4
3
 
@@ -53,6 +52,7 @@ module Riak
53
52
  end
54
53
 
55
54
  {}.tap do |result|
55
+ http.start # Fixes Ruby < 1.8.7p315
56
56
  http.request(request) do |response|
57
57
  unless valid_response?(expect, response.code)
58
58
  raise Riak::HTTPFailedRequest.new(method, expect, response.code.to_i, response.to_hash, response.body)
data/lib/riak/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Riak
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riak-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-08 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -329,18 +329,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
329
329
  - - ! '>='
330
330
  - !ruby/object:Gem::Version
331
331
  version: '0'
332
- segments:
333
- - 0
334
- hash: -4120452227137147580
335
332
  required_rubygems_version: !ruby/object:Gem::Requirement
336
333
  none: false
337
334
  requirements:
338
335
  - - ! '>='
339
336
  - !ruby/object:Gem::Version
340
337
  version: '0'
341
- segments:
342
- - 0
343
- hash: -4120452227137147580
344
338
  requirements: []
345
339
  rubyforge_project:
346
340
  rubygems_version: 1.8.23