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 +4 -4
- data/lib/housecanary/connection.rb +4 -1
- data/lib/housecanary/version.rb +1 -1
- 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: 4d094c2180faa25e4da7274b82a9b2ead704c6b7
|
4
|
+
data.tar.gz: d1acb885b83cd541e98749d8e7bdb8a984ef760b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/housecanary/version.rb
CHANGED
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.
|
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:
|
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
|