ocean-rails 2.13.0 → 2.14.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: 273ddf2275399d070522b8f9d8b688a2f07f0b0b
4
- data.tar.gz: 898f3e7597f2d140a2a98ecfaa9a9af08523b814
3
+ metadata.gz: 93da2aaae658c8d687731caf9767b5aaf2b16437
4
+ data.tar.gz: 9ca92f90ec4f77bb28eca4caec17af0d9f16f60e
5
5
  SHA512:
6
- metadata.gz: e050b69b13d0043ba8ed69d97e20c973f4a6c03bb7572b14d6b91784003a0e41e838f1ebdd7ff64a632f410b425a686836a0a58846f62a3b99a36237c4625837
7
- data.tar.gz: 9169fc2f61c470dea7486f0aa056231030050d6416da2738bc8b8a786d5bf6d12fae3e99f946a64fa74fdcdcd5c51cb277a56479532fa81e6635197b06c3d902
6
+ metadata.gz: d8e471acbac49e52dca44a319c08cb6df22a64f8e85b1c1255aa9b60fc32d01df1b0befca5d1bbb27e2dbb566dbd71780009b7e7b5ef541f93eeedca755e87e7
7
+ data.tar.gz: 87b58bd0d2d2b4701c3b666972d748a7c4c6be2d3d1921e5f5004a7f50f71f961bab6591765e4dada345f122630316f7e93dcafab050feefed84418c267b3c87
@@ -133,7 +133,8 @@ class Api
133
133
  # +ssl_verifypeer+ (true by default), controls SSL peer verification.
134
134
  #
135
135
  def self.request(url, http_method, args: nil, headers: {}, body: nil,
136
- x_api_token: headers['X-API-Token'], ssl_verifypeer: true)
136
+ x_api_token: headers['X-API-Token'],
137
+ ssl_verifypeer: true, ssl_verifyhost: 2)
137
138
  # Set up the request
138
139
  headers['Accept'] = "application/json"
139
140
  headers['Content-Type'] = "application/json"
@@ -146,7 +147,8 @@ class Api
146
147
  headers: headers,
147
148
  params: args,
148
149
  body: body,
149
- ssl_verifypeer: ssl_verifypeer)
150
+ ssl_verifypeer: ssl_verifypeer,
151
+ ssl_verifyhost: ssl_verifyhost)
150
152
  # Run it
151
153
  response = Response.new(request.run)
152
154
  # If successful, return
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.13.0"
2
+ VERSION = "2.14.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 2.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-09 00:00:00.000000000 Z
11
+ date: 2014-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus