figo 1.3.3 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -2
- data/Gemfile +1 -0
- data/config.yml +2 -2
- data/figo.gemspec +3 -3
- data/lib/helpers/https.rb +1 -1
- data/test/test_figo.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 964feb9bc0d957cec8fbf503be8481bd134a573a
|
4
|
+
data.tar.gz: c4f643cbae56b7c0318742c6f235982aad67c4c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2259aa184af58b52617224fab08f3a2229ae10b7a7a4e640c0bdfc67582be8aa5c6512ceedfff0b658e600a708a7dc96d2a817cb8853705ab90da4f7cdc27705
|
7
|
+
data.tar.gz: bc14a69b249f2ccb41e4b461676abd8e716175765a408a3a7049ad8e1e1148a7337cd9f9fe921eac18fe0836a0dbf478315697dffcdd7103bbee44be7b6cd45e
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/config.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
API_ENDPOINT: api.figo.me
|
2
2
|
FINGER_PRINTS:
|
3
|
-
- "
|
4
|
-
- "
|
3
|
+
- "79:B2:A2:93:00:85:3B:06:92:B1:B5:F2:24:79:48:58:3A:A5:22:0F:C5:CD:E9:49:9A:C8:45:1E:DB:E0:DA:50" # valid until Jun 24 23:59:59 2018
|
4
|
+
- "07:0F:14:AE:B9:4A:FB:3D:F8:00:E8:2B:69:A8:51:5C:EE:D2:F5:B1:BA:89:7B:EF:64:32:45:8F:61:CF:9E:33" # valid until Jun 24 23:59:59 2017
|
data/figo.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "figo"
|
3
|
-
s.version = "1.
|
4
|
-
s.authors = ["Denys Zaliskyi"]
|
5
|
-
s.email = ["
|
3
|
+
s.version = "1.4.0"
|
4
|
+
s.authors = ["Denys Zaliskyi", "Berend Kapelle"]
|
5
|
+
s.email = ["sdks@figo.me"]
|
6
6
|
s.homepage = "https://github.com/figo-connect/ruby-figo"
|
7
7
|
s.license = "MIT"
|
8
8
|
s.summary = %q{API wrapper for figo Connect.}
|
data/lib/helpers/https.rb
CHANGED
@@ -13,7 +13,7 @@ module Figo
|
|
13
13
|
@verify_callback = proc do |preverify_ok, store_context|
|
14
14
|
if preverify_ok and store_context.error == 0
|
15
15
|
certificate = OpenSSL::X509::Certificate.new(store_context.chain[0])
|
16
|
-
fingerprint = Digest::
|
16
|
+
fingerprint = Digest::SHA256.hexdigest(certificate.to_der).upcase.scan(/../).join(":")
|
17
17
|
fingerprints.include?(fingerprint)
|
18
18
|
else
|
19
19
|
false
|
data/test/test_figo.rb
CHANGED
@@ -28,7 +28,7 @@ require_relative "../lib/figo"
|
|
28
28
|
require "yaml"
|
29
29
|
|
30
30
|
class FigoTest < MiniTest::Unit::TestCase
|
31
|
-
CONFIG = YAML.load_file(File.join(__dir__, '
|
31
|
+
CONFIG = YAML.load_file(File.join(__dir__, 'config.yml'))
|
32
32
|
|
33
33
|
def setup
|
34
34
|
@sut = Figo::Session.new(CONFIG["ACCESS_TOKEN"])
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: figo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denys Zaliskyi
|
8
|
+
- Berend Kapelle
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: flt
|
@@ -40,7 +41,7 @@ dependencies:
|
|
40
41
|
version: '0'
|
41
42
|
description: Library to easily use the API of http://figo.io
|
42
43
|
email:
|
43
|
-
-
|
44
|
+
- sdks@figo.me
|
44
45
|
executables: []
|
45
46
|
extensions: []
|
46
47
|
extra_rdoc_files: []
|
@@ -120,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
121
|
version: '0'
|
121
122
|
requirements: []
|
122
123
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.6.
|
124
|
+
rubygems_version: 2.6.11
|
124
125
|
signing_key:
|
125
126
|
specification_version: 4
|
126
127
|
summary: API wrapper for figo Connect.
|