mastercard_api_core 1.4.12 → 1.4.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastercard/security/oauth.rb +1 -1
- data/mastercard_api_core.gemspec +4 -5
- metadata +6 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a5c94173d1709e2a98b8950559bf6f7b63cc3de28f988502990fc65b867bf06
|
4
|
+
data.tar.gz: 8ac043eef75d993d6018b9914f7896ac85d1081b56a7c4fb57ae66e7859a4b6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9779ce220aa6dbfa0ed2e8e66ca06e238af06f874963ebcf692be7e5df8dd733db9b3312b60331cc1b28c73f1692509006cbebe34bd244f211d3403ba0246c62
|
7
|
+
data.tar.gz: 057b5379125a5195ac9a85b791b298b77adb652116056f2405a794bace38ca405a07fa3a2a0d5e71eed7722505747a066ac4b9b0adee63dbabfeeba2ed73ee6f
|
@@ -123,7 +123,7 @@ module MasterCard
|
|
123
123
|
def signMessage(message)
|
124
124
|
#
|
125
125
|
#Signs the message using the private key with sha1 as digest
|
126
|
-
privateKeyFile = File.
|
126
|
+
privateKeyFile = File.binread(@privateKey)
|
127
127
|
|
128
128
|
p12 = OpenSSL::PKCS12.new(privateKeyFile, @password)
|
129
129
|
sign = p12.key.sign OpenSSL::Digest::SHA256.new, message
|
data/mastercard_api_core.gemspec
CHANGED
@@ -26,12 +26,11 @@
|
|
26
26
|
#
|
27
27
|
Gem::Specification.new do |gem|
|
28
28
|
gem.name = "mastercard_api_core"
|
29
|
-
gem.authors = ["
|
30
|
-
gem.
|
31
|
-
gem.
|
32
|
-
gem.description = %q{This is the MasterCard OpenAPI core SDK. This provides the base functionality for all MasterCard APIs}
|
29
|
+
gem.authors = ["Mastercard"]
|
30
|
+
gem.summary = %q{Mastercard Core SDK}
|
31
|
+
gem.description = %q{Core component of Mastercard Ruby SDKs}
|
33
32
|
gem.homepage = "https://developer.mastercard.com"
|
34
|
-
gem.version = "1.4.
|
33
|
+
gem.version = "1.4.13"
|
35
34
|
gem.license = "BSD-2-Clause"
|
36
35
|
|
37
36
|
gem.files = Dir["{bin,spec,lib}/**/*"]+ Dir["data/*"] + ["mastercard_api_core.gemspec"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_api_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Mastercard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simplecov
|
@@ -38,10 +38,8 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description:
|
42
|
-
|
43
|
-
email:
|
44
|
-
- APISupport@mastercard.com
|
41
|
+
description: Core component of Mastercard Ruby SDKs
|
42
|
+
email:
|
45
43
|
executables: []
|
46
44
|
extensions: []
|
47
45
|
extra_rdoc_files: []
|
@@ -81,5 +79,5 @@ rubyforge_project:
|
|
81
79
|
rubygems_version: 2.7.7
|
82
80
|
signing_key:
|
83
81
|
specification_version: 4
|
84
|
-
summary:
|
82
|
+
summary: Mastercard Core SDK
|
85
83
|
test_files: []
|