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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9120d29bab270bc09446211c445c2f21108b9916
4
- data.tar.gz: 5e814af67c22678d0dde5fa151f473cbc6fbcdf2
3
+ metadata.gz: 9d3deca10278b7a6685273b26b4b3e65f6575046
4
+ data.tar.gz: 9cb42dc014e0367a16bcfd240b740c551775bc4d
5
5
  SHA512:
6
- metadata.gz: c8b5c3ee38ed0cb7e311e473e2af1399e74ef0428a94b8aec5b08241173e12b3aecadb0df8af79541348ed49e7dea47a7a68e602c0902082ae3eaa07a50cb82b
7
- data.tar.gz: baf1743c7a2c50a8046c6e86964ef21dfc89a95730fc652f12de543b998519aea94bf891a40c87895eca559ee2ed4876daa2e9e815f846d060fe0dc4625d1849
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
- http.cert_store.add_cert(@certificate)
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
@@ -1,3 +1,3 @@
1
1
  class Fiscalizer
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
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.9
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-02 00:00:00.000000000 Z
11
+ date: 2014-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri