render-component 0.2.2 → 0.2.3

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: d4fd5976b891198d080d5d1c742b1197a73108af
4
- data.tar.gz: 713228a9b3d10a0105284db3a7a6a9c012b9e127
3
+ metadata.gz: 057e3119fab4a1ad7f36c493c2b0ab22e4cb75bd
4
+ data.tar.gz: fe7c7eb7975cad294f4965b438826f61fd40625e
5
5
  SHA512:
6
- metadata.gz: 3d168b4d99f14c48743d315374d6066b0a2589f5ecdd7f8cb469f37e926d3939d372796acaca56313ef35cd9a8813697a78cf9429117bd4cb3f6b2d49ab15a80
7
- data.tar.gz: 7288c76b6670d61d91aca9fd0b1e396a9202eb261155cc5c05492404845da85b0d0f78ed294820eb3eea2f0898b017165565413bd9f9820a6a08c540a467d2bf
6
+ metadata.gz: e24ac1c6a4a19fa40139eee85854ea5aca63ea226df314d74ab0222bad0b26033616f55c876ee0f60fee8d8d2e840c2e0f1f5f715b3b8c7d02db3f7d7c19dbc1
7
+ data.tar.gz: 9ed52abfde4410988b964beae057ad61301be29e8ce7a51552b6ffe41762382bc34d5b74115c8d72239908b626e47d7eb49f00857ab7be899e34ae7cc8ff1899
@@ -12,7 +12,7 @@ class Render::Component::Client
12
12
  def execute_request(component, attributes)
13
13
  uri = URI("#{default_endpoint}/#{component}")
14
14
 
15
- response = Net::HTTP.start(uri.host, uri.port) do |http|
15
+ response = Net::HTTP.start(uri.host, uri.port, read_timeout: 3) do |http|
16
16
  request = Net::HTTP::Post.new(uri.path)
17
17
  request.content_type = 'application/json'
18
18
  request.body = apply_default_attributes(attributes)
@@ -1,5 +1,5 @@
1
1
  module Render
2
2
  module Component
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: render-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Gomide
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-20 00:00:00.000000000 Z
11
+ date: 2016-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler