oeh-client 2.2.7 → 2.2.8
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.
- checksums.yaml +4 -4
- data/lib/oehclient/version.rb +1 -1
- data/lib/oehclient.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a84995afeb602383ab047088fe7e27db60dd8b
|
4
|
+
data.tar.gz: f9a95c165e006991b79ab1017bbfa5f1ce16d465
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c436e05cb9fe82fadc9eeb480865438a3bf7a03a08c0095540df16774f9ea195e0f15c182d30d53776f78537a80c3e52fae47b35abf9e16d5bd13af67ecd61fe
|
7
|
+
data.tar.gz: e5c1d87188bb4bbec991d4cf9c3dde37eb32b322c4709868839ce923fe243859d4dcbe95e6f2ae90e4959af9abde195fe070e7028804286274bf5207e775a81c
|
data/lib/oehclient/version.rb
CHANGED
data/lib/oehclient.rb
CHANGED
@@ -57,7 +57,7 @@ module OEHClient
|
|
57
57
|
#puts("URL: #{url} ; Header: #{header}")
|
58
58
|
# send the GET request, manage the returned response, and return the body of the response to the
|
59
59
|
# calling method
|
60
|
-
RestClient::Request.execute(method: :get, url: url, headers: header, verify_ssl: OpenSSL::SSL::
|
60
|
+
RestClient::Request.execute(method: :get, url: url, headers: header, verify_ssl: OpenSSL::SSL::VERIFY_PEER) { | response, request, result | OEHClient::Helper::Response.handle(response)}
|
61
61
|
|
62
62
|
end
|
63
63
|
|
@@ -85,7 +85,7 @@ module OEHClient
|
|
85
85
|
|
86
86
|
# send the POST request, manage the returned response, and return the body of the response to the
|
87
87
|
# calling method
|
88
|
-
RestClient::Request.execute(method: :post, url: url, payload: options[:payload], headers: header, verify_ssl: OpenSSL::SSL::
|
88
|
+
RestClient::Request.execute(method: :post, url: url, payload: options[:payload], headers: header, verify_ssl: OpenSSL::SSL::VERIFY_PEER) { | response, request, result | OEHClient::Helper::Response.handle(response)}
|
89
89
|
end
|
90
90
|
|
91
91
|
# put wraps the PUT method of the access token and manages the response that is returned
|
@@ -111,7 +111,7 @@ module OEHClient
|
|
111
111
|
|
112
112
|
# send the POST request, manage the returned response, and return the body of the response to the
|
113
113
|
# calling method
|
114
|
-
RestClient::Request.execute(method: :put, url: url, payload: options[:payload], headers: header, verify_ssl: OpenSSL::SSL::
|
114
|
+
RestClient::Request.execute(method: :put, url: url, payload: options[:payload], headers: header, verify_ssl: OpenSSL::SSL::VERIFY_PEER) { | response, request, result | OEHClient::Helper::Response.handle(response)}
|
115
115
|
end
|
116
116
|
|
117
117
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oeh-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Balliet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|