wealthforge-ruby 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/wealthforge/connection.rb +7 -3
- data/lib/wealthforge/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: c2452b6b4e56ac9d499e475bd59da219bda1facd
|
4
|
+
data.tar.gz: e31f990a5358a09b6e272ad17a1f21ba04092437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a81f4b7d3620bcd391995241565b52c1840dbc3abce0be353e78087d0eb632c9809d0700a179f91af2a6fb6b18972937b8b3a6aa0687e024fd1cac82ad10e2d
|
7
|
+
data.tar.gz: cbfad38a5a97bf3fb1b4a8e77da92df2192e30a03fd79ede344c247aaae0e28c593620ea2c591f2ce555a88c187e7f75d924217355ec2166b6a9ce71ac07644d
|
data/README.md
CHANGED
@@ -80,10 +80,14 @@ class WealthForge::Connection
|
|
80
80
|
ssl_options = {
|
81
81
|
:version => :TLSv1,
|
82
82
|
:client_cert => OpenSSL::X509::Certificate.new(wf_cert),
|
83
|
-
:client_key => OpenSSL::PKey::RSA.new(wf_key)
|
84
|
-
:ca_path => '/usr/lib/ssl/certs'
|
83
|
+
:client_key => OpenSSL::PKey::RSA.new(wf_key)
|
85
84
|
}
|
86
|
-
|
85
|
+
if WealthForge.configuration.environment.eql? 'production'
|
86
|
+
ssl_options[:ca_file] = ENV['CA_FILE']
|
87
|
+
else
|
88
|
+
ssl_options[:ca_path] = '/usr/lib/ssl/certs'
|
89
|
+
end
|
90
|
+
ssl_options
|
87
91
|
end
|
88
92
|
|
89
93
|
end
|
data/lib/wealthforge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wealthforge-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dino Simone
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|