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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54cc581e34b113f4d5b647e423246df2354dc868
4
- data.tar.gz: dfa8b5415863a7868cb3c10301ae6e94651201c8
3
+ metadata.gz: 21a84995afeb602383ab047088fe7e27db60dd8b
4
+ data.tar.gz: f9a95c165e006991b79ab1017bbfa5f1ce16d465
5
5
  SHA512:
6
- metadata.gz: 4293b0e55c7fc2fedfc3c43f41c1555e49918bf213a973be5adbf0c7a97ea3d0527e22a08b1665633fa89019c38dbde7c3b09983a6aca0fbad0d8bb663c5b0b9
7
- data.tar.gz: bda9fcf76c8b6e35d75df589692e305269ec73d53379208348b1407ec8cb0ae7174ce086adeac66bb6409295cd792a5fd15a36f8d8cbf58abe1205e054520e41
6
+ metadata.gz: c436e05cb9fe82fadc9eeb480865438a3bf7a03a08c0095540df16774f9ea195e0f15c182d30d53776f78537a80c3e52fae47b35abf9e16d5bd13af67ecd61fe
7
+ data.tar.gz: e5c1d87188bb4bbec991d4cf9c3dde37eb32b322c4709868839ce923fe243859d4dcbe95e6f2ae90e4959af9abde195fe070e7028804286274bf5207e775a81c
@@ -1,3 +1,3 @@
1
1
  module OEHClient
2
- VERSION = "2.2.7"
2
+ VERSION = "2.2.8"
3
3
  end
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::VERIFY_NONE) { | response, request, result | OEHClient::Helper::Response.handle(response)}
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::VERIFY_NONE) { | response, request, result | OEHClient::Helper::Response.handle(response)}
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::VERIFY_NONE) { | response, request, result | OEHClient::Helper::Response.handle(response)}
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.7
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-23 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler