acc 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGE5Mjk2OTEzZDg5NDY5NDJlOTI3ZTg5MzI5NTQxMTJmMjI2MGNkOA==
4
+ ZjY3MTZkMTU3ZmEyYmVmZmM4NTMxMzQwOTg4YjYyNzVlYjliNmQyYQ==
5
5
  data.tar.gz: !binary |-
6
- NDllZmQ0ZjY1MjI4YTZiMjQ5YzgxMDkzMzNiMjk2M2E3YTBmNzJkYw==
6
+ NzZkYzk0ZjQwNWQwNjJkYzZlZDlkYmEzMWRkN2RiNjJjZTUzMTIzOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWJkMWVhYTcxZDc0M2NiYWJiMWU5YzMwNTQ1NGRlMjdhYjlkYWYxMDEwZGVk
10
- YTRkMzQyNmM3NmM4Y2I1MGEyY2IzNGMzZTBiZTA2NDA2ZTg4YmEzYjE5ZjU2
11
- ZDQ4YmQ2YzViYWVhODk0NGEzMmUzN2E4MDJiZjMyNTVmY2QwZDQ=
9
+ N2UyMzUxN2Q4NDM4ZjdlNGI0OTZlNTVjNWE2Zjk4NjI1NGUyOThjNjdiMWNk
10
+ ZWVjNjljOWUyNzFhYjdiNDQ1OGVkMDA1Y2FmNmJhOWEyYzc4NjdkYTA4NjY5
11
+ NzMyZjQ4NjkxOGRkNzdhYmFhZjZiMjY5OWMwNDkwZTgzMGQ4YWU=
12
12
  data.tar.gz: !binary |-
13
- N2YxNzU4ZDg4M2M2YjQwMjRlNTMyOTBhZTQ0NGU3ZDgxMmY0NDcwOTM3NWFj
14
- YzdmNDFmODVlMGIzY2FlZWEwMzIyMzg0ZWE5NTY0YjIxMDJmZjYwMTlkODIw
15
- MWMwMWJhNzhmZDQ0NjMwOTAyNTdlNDU0ZGQ2ZTY0Njc4NWYyYmY=
13
+ MDAyOTkzNWQyNmVhNWZmMWRmNDdmYzk5NWY0ZmQzMTI4MDJiNmJjMTI0MTdk
14
+ MTBjYTAzNmIwZmNkODgzOGJjMmZiYzYwODMzYzBhY2RmOWJhMDcxN2JkNmJl
15
+ NTdlMGNkODMwYjQ1MWMxZTllMGIyNzA4YmMzOThmZDEwODUzZDc=
@@ -20,7 +20,7 @@ class Acc::Service
20
20
  private
21
21
  def request url, data
22
22
  http_response = Curl::Easy.perform(url) do |req|
23
- req.certpassword = Acc.certificate_password
23
+ req.certpassword = Acc.certificate_password if Acc.certificate_password
24
24
  req.cert = Acc.certificate
25
25
  req.post_body = data
26
26
  req.headers['Content-Type'] = 'application/json'
@@ -1,3 +1,3 @@
1
1
  module Acc
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud MESUREUR
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-15 00:00:00.000000000 Z
11
+ date: 2015-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler