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 +8 -8
- data/lib/acc/service.rb +1 -1
- data/lib/acc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjY3MTZkMTU3ZmEyYmVmZmM4NTMxMzQwOTg4YjYyNzVlYjliNmQyYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzZkYzk0ZjQwNWQwNjJkYzZlZDlkYmEzMWRkN2RiNjJjZTUzMTIzOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2UyMzUxN2Q4NDM4ZjdlNGI0OTZlNTVjNWE2Zjk4NjI1NGUyOThjNjdiMWNk
|
10
|
+
ZWVjNjljOWUyNzFhYjdiNDQ1OGVkMDA1Y2FmNmJhOWEyYzc4NjdkYTA4NjY5
|
11
|
+
NzMyZjQ4NjkxOGRkNzdhYmFhZjZiMjY5OWMwNDkwZTgzMGQ4YWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDAyOTkzNWQyNmVhNWZmMWRmNDdmYzk5NWY0ZmQzMTI4MDJiNmJjMTI0MTdk
|
14
|
+
MTBjYTAzNmIwZmNkODgzOGJjMmZiYzYwODMzYzBhY2RmOWJhMDcxN2JkNmJl
|
15
|
+
NTdlMGNkODMwYjQ1MWMxZTllMGIyNzA4YmMzOThmZDEwODUzZDc=
|
data/lib/acc/service.rb
CHANGED
@@ -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'
|
data/lib/acc/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|