bluepay 1.0.8 → 1.0.9
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/bluepay.gemspec +2 -2
- data/lib/api_request.rb +8 -1
- data/lib/bluepay.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 594d73e0c6efe1a5547b08abcfc0faf6dced8a35
|
|
4
|
+
data.tar.gz: 9bf399e1fccd527a4c6d743cfad9ff1d2750c861
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d31c6d53961655b9db6e489aa39dd9a6629846f83e1d41a1183c2b78c25a1ca8b17c2f309deb24972126bea2296ba8441b760b08852a65c368d02ece26d1a5ee
|
|
7
|
+
data.tar.gz: 9589897f2099b5adbe71c9fef51ac3f806f57648acb083ecb4e9c504058c69a4b7e0c1003b24d5c51ea0307fc38f53d42103b42459a53ce9e223bb22c178f6c9
|
data/bluepay.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'bluepay'
|
|
3
|
-
s.version = '1.0.
|
|
4
|
-
s.date = '2018-
|
|
3
|
+
s.version = '1.0.9'
|
|
4
|
+
s.date = '2018-03-27'
|
|
5
5
|
s.summary = "BluePay gateway rubygem"
|
|
6
6
|
s.description = "This gem is intended to be used along with a BluePay gateway account to process credit card and ACH transactions"
|
|
7
7
|
s.authors = ["Justin Slingerland, Susan Schmidt, Eric Margules"]
|
data/lib/api_request.rb
CHANGED
|
@@ -114,7 +114,14 @@ class BluePay
|
|
|
114
114
|
'Content-Type' => 'application/x-www-form-urlencoded'
|
|
115
115
|
}
|
|
116
116
|
# Post parameters to BluePay gateway
|
|
117
|
-
|
|
117
|
+
# Resuce SSL error and retry with ca_file absolute path.
|
|
118
|
+
begin
|
|
119
|
+
headers, body = ua.post(path, query, queryheaders)
|
|
120
|
+
rescue OpenSSL::SSL::SSLError
|
|
121
|
+
ua.ca_file = File.expand_path(File.dirname(__FILE__)) + "/" + RootCAFile
|
|
122
|
+
headers, body = ua.post(path, query, queryheaders)
|
|
123
|
+
end
|
|
124
|
+
|
|
118
125
|
# Split the response into the response hash.
|
|
119
126
|
@RESPONSE_HASH = {}
|
|
120
127
|
if path == "/interfaces/bp10emu"
|
data/lib/bluepay.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bluepay
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Slingerland, Susan Schmidt, Eric Margules
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: This gem is intended to be used along with a BluePay gateway account
|
|
14
14
|
to process credit card and ACH transactions
|
|
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
65
65
|
version: '0'
|
|
66
66
|
requirements: []
|
|
67
67
|
rubyforge_project:
|
|
68
|
-
rubygems_version: 2.
|
|
68
|
+
rubygems_version: 2.5.2
|
|
69
69
|
signing_key:
|
|
70
70
|
specification_version: 4
|
|
71
71
|
summary: BluePay gateway rubygem
|