rest-core 3.5.8 → 3.5.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23c11f1f962e09fd0bbb320ca71d7f74618dd79a
4
- data.tar.gz: c9a39501f38e887d9a8ce115bd3280ac4151d253
3
+ metadata.gz: 11d3adf68535e8a3678cfbad27f68c9c5770c045
4
+ data.tar.gz: 8dacd80cbc3aae33cab866263ae425c7bca2fc78
5
5
  SHA512:
6
- metadata.gz: 889495dc4261d1ae0dea20a0d821e5320053083c12c830508a17574dbf8a42fd1413ed5a7d83f3f396ed70c04df050b143e8c48f9f2d6e76982f1ac79382ffa1
7
- data.tar.gz: e90f5213c0a9a4e0517b5ced5bf970c31793334c4224e47ab684c4a9ed29f06bb29699f55743dd7d689d8e22838a48e567b291cbcbfc7d6bed7299f0b6bdbd70
6
+ metadata.gz: e410f560d4653345388bcd4bcfbafd33eadadaef60966248c2a8ae7ce263231dc2839fe3954a45ba90a5e346cceb25e8aadae9a8d953f299ddaada3f57927297
7
+ data.tar.gz: 10f08d46580355a59ee47f0a1b3acbd6a175a6c350c74f8528c5855b3b0115410d9dafc031284dcdcaafc9b00f93979ea3360fcdd189760420fb3eed670d27bc
data/CHANGES.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # CHANGES
2
2
 
3
+ ## rest-core 3.5.9 -- 2015-12-11
4
+
5
+ ### Bugs fixed
6
+
7
+ * Fixed a potential deadlock or using a partially loaded stuff for
8
+ _httpclient_. We fixed this by requiring eagerly instead of loading
9
+ it lazily. The offender was: _http-cookie_: `http/cookie_jar/hash_store.rb`.
10
+ _httpclient_ could try to load this eagerly or just don't load it since
11
+ we're not using `cookie_manager` anyway. The errors we've seen:
12
+ * `NoMethodError: undefined method `implementation' for HTTP::CookieJar::AbstractStore:Class`
13
+ * `ArgumentError: cookie store unavailable: :hash`
14
+ * deadlock (because it's requiring it in a thread)
15
+
3
16
  ## rest-core 3.5.8 -- 2015-12-07
4
17
 
5
18
  ### Enhancements
@@ -1,5 +1,8 @@
1
1
 
2
2
  require 'httpclient'
3
+ # httpclient could require this in a thread causing deadlock, load it first!
4
+ require 'http/cookie_jar/hash_store'
5
+
3
6
  require 'rest-core/engine'
4
7
 
5
8
  class RestCore::HttpClient < RestCore::Engine
@@ -1,4 +1,4 @@
1
1
 
2
2
  module RestCore
3
- VERSION = '3.5.8'
3
+ VERSION = '3.5.9'
4
4
  end
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: rest-core 3.5.8 ruby lib
2
+ # stub: rest-core 3.5.9 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "rest-core"
6
- s.version = "3.5.8"
6
+ s.version = "3.5.9"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Lin Jen-Shin (godfat)"]
11
- s.date = "2015-12-07"
11
+ s.date = "2015-12-11"
12
12
  s.description = "Modular Ruby clients interface for REST APIs.\n\nThere has been an explosion in the number of REST APIs available today.\nTo address the need for a way to access these APIs easily and elegantly,\nwe have developed rest-core, which consists of composable middleware\nthat allows you to build a REST client for any REST API. Or in the case of\ncommon APIs such as Facebook, Github, and Twitter, you can simply use the\ndedicated clients provided by [rest-more][].\n\n[rest-more]: https://github.com/godfat/rest-more"
13
13
  s.email = ["godfat (XD) godfat.org"]
14
14
  s.files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.8
4
+ version: 3.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lin Jen-Shin (godfat)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-07 00:00:00.000000000 Z
11
+ date: 2015-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient