norseal-api 0.1.6 → 0.1.7

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: 04ccb3d45a818f6fcb3ab0f5443f7ef66edad06d
4
- data.tar.gz: ff720e033f43c8f83880c37e099e10cc5644a37e
3
+ metadata.gz: bae4f96a3a2c34a9d0930659ba62c1a6b18b645d
4
+ data.tar.gz: 50c2c633bfec6b3e89d3661fc4ea195ae812c663
5
5
  SHA512:
6
- metadata.gz: 4b4274b6eff393dec411af3910d31668ba30b45d932156cd15fa6ecdee74399aa0722f26f7826cb28abf1b370a2ae4273b9e97c355259f11d7a7f49c7028b83d
7
- data.tar.gz: bd70d1b384471db75ede375ef43906015f04aa49629ce14a16723c859a049945bb439cbc6ea4600d3af0f363152affa4f3356c0a5dcc3649b1e1ca15ef62ee3d
6
+ metadata.gz: 7033ade544d0f74708532421df0eb5b26aa9f9bdd9160155f6b42f39a5fe3b11ac4b06e2abd0a3101ffc504c3fbf44152c70bfc09324e7dcada8c7d43f364146
7
+ data.tar.gz: 6704f5f4c2ac47bcec256f82f68ac9bdeeaf84b9637503c26fb7fe1bd2546e945924ea6564feca9d23aa3401e0477f1c550f00e7e4b84de541ee6bbb8376bda3
@@ -22,7 +22,8 @@ module Norseal
22
22
  def self.configure(host, api_key, &block)
23
23
  @api = Her::API.new
24
24
 
25
- @api.setup :url => "https://#{host}/" do |c|
25
+ ssl_options = {ca_file: '/usr/lib/ssl/certs/ca-certificates.crt'}
26
+ @api.setup :url => "https://#{host}/", ssl: ssl_options do |c|
26
27
  c.use Norseal::Api::MyTokenAuth, token: api_key
27
28
  # c.use FaradayMiddleware::EncodeJson
28
29
  c.use Her::Middleware::AcceptJSON
@@ -1,5 +1,5 @@
1
1
  module Norseal
2
2
  module Api
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norseal-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Barton