global_registry 1.3.1 → 1.4.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: 1e9affd0127e764f7e87609a23a61b51c694d5d8
4
- data.tar.gz: c5395db747e6328209e57b6c05caa68664a66c90
3
+ metadata.gz: 5efa5748256bc13e73f0bd4401b8e37d5f027295
4
+ data.tar.gz: 418c52acf5dccf6e106e3e35b699960ffc0c634a
5
5
  SHA512:
6
- metadata.gz: 18f1f3203f467bdd9a4fa2d2a5fa5062d054ef31a3dd69886b47ffa15cb78f02febc4e31cfaaa32e03f664db4518968da4dab6b21b329f232640a28c6d59701f
7
- data.tar.gz: '04637187ae8cdfefc846246a0a1a6a4aa901cbd6fbba2d281a89f20d7a5dfa9ac9bb0aa9fef87b65511742f2b0981e6ba2bc7acb5832f3cbf59989b8b608bdc6'
6
+ metadata.gz: c23d9a43434331bab5e9a7495b4cdb590919b739419db5afc17f3073e126a150a0d612b0a8e542e6a3716a2b5112534ce4304a3c5b40a94bce3486db48fe48e9
7
+ data.tar.gz: 4ed44fd94273fe9cad6fecc3d4e6281702ea6392b32fe1b983aaa923f16ee8a0aa28049d61ca8bee13095ca4a27dddb9a90e6e9acf8639ba2cb237105b35d3b3
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.4.1
@@ -80,18 +80,18 @@ module GlobalRegistry
80
80
 
81
81
  case method
82
82
  when :post
83
- post_headers = default_headers.merge(content_type: :json, timeout: -1).merge(headers)
83
+ post_headers = default_headers.merge(content_type: :json, timeout: nil).merge(headers)
84
84
  RestClient.post(url.to_s, params.to_json, post_headers) { |response, request, result, &block|
85
85
  handle_response(response, request, result)
86
86
  }
87
87
  when :put
88
- put_headers = default_headers.merge(content_type: :json, timeout: -1).merge(headers)
88
+ put_headers = default_headers.merge(content_type: :json, timeout: nil).merge(headers)
89
89
  RestClient.put(url.to_s, params.to_json, put_headers) { |response, request, result, &block|
90
90
  handle_response(response, request, result)
91
91
  }
92
92
  else
93
93
  url.query_values = (url.query_values || {}).merge(params) if params.any?
94
- get_args = { method: method, url: url.to_s, timeout: -1,
94
+ get_args = { method: method, url: url.to_s, timeout: nil,
95
95
  headers: default_headers.merge(headers)
96
96
  }
97
97
  RestClient::Request.execute(get_args) { |response, request, result, &block|
@@ -1,3 +1,3 @@
1
1
  module GlobalRegistry
2
- VERSION = '1.3.1'
2
+ VERSION = '1.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global_registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-01 00:00:00.000000000 Z
11
+ date: 2017-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -108,6 +108,7 @@ extensions: []
108
108
  extra_rdoc_files: []
109
109
  files:
110
110
  - ".gitignore"
111
+ - ".ruby-version"
111
112
  - ".travis.yml"
112
113
  - Gemfile
113
114
  - LICENSE
@@ -148,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
149
  version: '0'
149
150
  requirements: []
150
151
  rubyforge_project:
151
- rubygems_version: 2.6.8
152
+ rubygems_version: 2.6.11
152
153
  signing_key:
153
154
  specification_version: 4
154
155
  summary: Push and pull data from the Global Registry
@@ -156,3 +157,4 @@ test_files:
156
157
  - spec/base_spec.rb
157
158
  - spec/entity_spec.rb
158
159
  - spec/spec_helper.rb
160
+ has_rdoc: