fiscalizer 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fiscalizer/communication.rb +5 -1
- data/lib/fiscalizer/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: 9d3deca10278b7a6685273b26b4b3e65f6575046
|
4
|
+
data.tar.gz: 9cb42dc014e0367a16bcfd240b740c551775bc4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34b22ca992b6ea22ef0618d8d71bc815ece45ede9b6f208623a18524abb824beb6c09e82e83e5af7d8d520c0ffc18812a489409b233128d2ffdda72d97f5b999
|
7
|
+
data.tar.gz: eea535e9b0a0b987374f2129d595878c5fea4f1cbbabdb9a0f0430f775f6b11c22c3e4efc987b3044ce14f245bfd64406bd03b7e9c670de2907631f89d64c3b5
|
@@ -32,7 +32,11 @@ class Fiscalizer
|
|
32
32
|
http.use_ssl = true
|
33
33
|
http.cert_store = OpenSSL::X509::Store.new
|
34
34
|
http.cert_store.set_default_paths
|
35
|
-
|
35
|
+
begin
|
36
|
+
http.cert_store.add_cert(@certificate)
|
37
|
+
rescue OpenSSL::X509::StoreError
|
38
|
+
puts "Certificate alreay exists"
|
39
|
+
end
|
36
40
|
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
37
41
|
|
38
42
|
# Encode object
|
data/lib/fiscalizer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fiscalizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanko Krtalić Rusendić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|