esp-commons 0.5.8 → 0.6.0

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: 7845c6c210b2e7bb309ae7b91329959eed7e2b58
4
- data.tar.gz: 6f3379771e9152c4d77260075cc59c33f5d603c5
3
+ metadata.gz: 320822e3332c60867207df6b8965c39ba8a7e9a2
4
+ data.tar.gz: 4fe07da5c8d1c3ffb6454fc82d66d4af6956b37c
5
5
  SHA512:
6
- metadata.gz: 7ba40dd38790f1245eeb72776a730e50bbaee9d9bccc83f7a4cd1b7f479570c73576c8e2a62c6613c35552b906eb3d8d3df118eea85e87ec760ff4d52f0dc825
7
- data.tar.gz: 5bd78511754ca5e1342305bba2911b01dc6fa018133f1fc158f925f96c4d161420dc96cd24450f830c73a7aaad51527f234d4c9ef2e57f6aeed701c7ead6c571
6
+ metadata.gz: 2d255a46df0afc0386941928d34d41e4feed3bf8e8fc65ee82373e76bed990ddf7af01b196b478138cf2730c245afebc990f49ef90c07e5cd3e4c2492960a45a
7
+ data.tar.gz: cb805b48f7e7cae68253a7c1f150ae5c4e3d37e8bfeca13c5c81747fe8743809a187e9909887a0f9997c5a135c297d6822de58a1256270dedadc07ded0dbf407
@@ -8,10 +8,9 @@ class Requester
8
8
  @response ||= RestClient::Request.execute(
9
9
  :method => :get,
10
10
  :url => url,
11
- :timeout => 600,
11
+ :timeout => nil,
12
12
  :headers => {
13
- :Accept => headers_accept,
14
- :timeout => 600
13
+ :Accept => headers_accept
15
14
  }
16
15
  ) do |response, request, result, &block|
17
16
  response
@@ -41,7 +40,7 @@ class Requester
41
40
  end
42
41
 
43
42
  def response_body
44
- @response_body ||= response.body.force_encoding 'UTF-8'
43
+ @response_body ||= response.body.force_encoding('UTF-8')
45
44
  end
46
45
 
47
46
  def response_hash
@@ -1,3 +1,3 @@
1
1
  module EspCommons
2
- VERSION = '0.5.8'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esp-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-10 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_attr