tclink 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/config.h +1 -1
- data/ext/extconf.rb +13 -10
- data/tclink.gemspec +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7eff8ec974d9d8d2cb7cc719f8c6f947b89044e1
|
|
4
|
+
data.tar.gz: 26f96ae032b6a37d0a0051071bbe90ffc4f2e530
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81a8ea160f69240e412a8164e34e20d4478c6ec240b237852606f12017fb031354996446c8f646fd5541e287bc0527ddf0dd6b519284cd6550e3590a96685a43
|
|
7
|
+
data.tar.gz: f139123b7172c5e37d52d675420ce1abd75ac6fdce60a2751b1a80bf87a78932a68bb2bdcfb20204a1573824c4e4e9b1f51340e31089e120b0e52a7e2de7ea2d
|
data/ext/config.h
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#define TCLINK_VERSION "4.2.
|
|
1
|
+
#define TCLINK_VERSION "4.2.2-Ruby-Darwin-x86_64"
|
|
2
2
|
#define TCLINK_CA_PATH "/usr/local/etc/openssl/cert.pem"
|
data/ext/extconf.rb
CHANGED
|
@@ -10,19 +10,22 @@ File.delete 'config.h' if File.exist? 'config.h'
|
|
|
10
10
|
|
|
11
11
|
ssldir = (`openssl version -d`.chomp.split(/:/)[1]).gsub(' ', '').gsub(/"/, '')
|
|
12
12
|
certdir = "#{ssldir}/certs"
|
|
13
|
-
certpath =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
certpath = ENV['SSL_CERT_PATH']
|
|
14
|
+
|
|
15
|
+
if certpath.nil?
|
|
16
|
+
filenames = %w(ca-bundle.crt ca-certificates.crt ca-bundle.trust.crt tls-ca-bundle.pem cert.pem)
|
|
17
|
+
dirs = [ssldir, certdir]
|
|
18
|
+
|
|
19
|
+
filenames.each do |name|
|
|
20
|
+
dirs.each do |dir|
|
|
21
|
+
path = "#{dir}/#{name}"
|
|
22
|
+
if File.exist?(path) & certpath.nil?
|
|
23
|
+
certpath = path
|
|
24
|
+
end
|
|
23
25
|
end
|
|
24
26
|
end
|
|
25
27
|
end
|
|
28
|
+
puts "certpath=#{certpath}"
|
|
26
29
|
|
|
27
30
|
# determine the platform name
|
|
28
31
|
uname=`uname -sm | tr ' ' -`.chomp
|
data/tclink.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ require 'rubygems' unless defined?(Gem)
|
|
|
3
3
|
spec=Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'tclink'
|
|
5
5
|
#note: extconf takes version out of this file
|
|
6
|
-
s.version = '4.2.
|
|
6
|
+
s.version = '4.2.2'
|
|
7
7
|
s.summary = "TCLink Trust Commerce link"
|
|
8
8
|
s.description = "Trust Commerce connectivity layer"
|
|
9
9
|
s.homepage = "https://github.com/peejaybee/TCLink"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tclink
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Puetz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Trust Commerce connectivity layer
|
|
14
14
|
email: developer@trustcommerce.com
|
|
@@ -56,4 +56,3 @@ signing_key:
|
|
|
56
56
|
specification_version: 4
|
|
57
57
|
summary: TCLink Trust Commerce link
|
|
58
58
|
test_files: []
|
|
59
|
-
has_rdoc:
|