housecanary-ruby 0.1.1 → 0.1.2

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: 02e36949c6315f14c5b13c5da7bb76603cc700c6
4
- data.tar.gz: f5d740e5a980f117a69ef78b498f77f5460ca7c8
3
+ metadata.gz: 4d094c2180faa25e4da7274b82a9b2ead704c6b7
4
+ data.tar.gz: d1acb885b83cd541e98749d8e7bdb8a984ef760b
5
5
  SHA512:
6
- metadata.gz: 0b4430fb0f5896a201eca23abdf280808cc9e3a8ab0f9d1094c5b6aa8a68ca46abe3f460dd0a3a3fa932e077024400b2efc2c7d19bd92909edc90c02bf65728b
7
- data.tar.gz: 73e28bb7e1a9ba16cb507322ae243d573349286bd6dc100ca15a083d03023ddc8c93cb85a9bbfa01f0bb739fde8ecdd6e16a3850835f3f477053f8086adf2822
6
+ metadata.gz: 14f22913e9a6f9f35e94665710bc80c8b39330d83682be3738e79a2b0c8a5bf62b05c583904a1ce2d652782eee23029fbd2d71517eeeb450808fa5a01d724ad2
7
+ data.tar.gz: 866d8f0f192e2a414a3b93640354b5376808707fd3d39a9ba6b472e1044437dc6b0565d884dd0d0f52edf4e75ac8725115ed09226a6085e5f8c790040daae3c3
@@ -16,7 +16,10 @@ module Housecanary
16
16
  end
17
17
 
18
18
  def get(path, params = {})
19
- HTTP.basic_auth(user: api_key, pass: api_secret).get(url(path), params)
19
+ ctx = OpenSSL::SSL::SSLContext.new
20
+ ctx.verify_mode = OpenSSL::SSL::VERIFY_NONE
21
+
22
+ HTTP.basic_auth(user: api_key, pass: api_secret).get(url(path), { ssl_context: ctx }.merge(params))
20
23
  end
21
24
 
22
25
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Housecanary
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: housecanary-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilia Kriachkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-17 00:00:00.000000000 Z
11
+ date: 2019-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-auto_inject