coinqvest_merchant_sdk 0.0.4 → 0.0.5
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 +5 -5
- data/coinqvest_merchant_sdk.gemspec +2 -2
- data/lib/coinqvest_merchant_sdk/client.rb +3 -3
- data/lib/coinqvest_merchant_sdk/config.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ce8bd30ebe167de5203101f166b37e5ead66b9453416cfd26722599fce9b6661
|
4
|
+
data.tar.gz: 6807808cde890ca672cd303bec610cefa5df76c7040bef76c1de75b026476aaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47889977f491dbb66e81605014b8ee7667c8b0fd6d687c155c9f9e1f83051574f5d8abdd27b4b256de17ae38fb86488741a870c3fada3a1972877c1f387139ab
|
7
|
+
data.tar.gz: 3c5488ee1447ce8809372acb3c33bc2c8fc413251ed26effe729f2c27a44c4cd5d501f41e3ff8211d18b9bea161fda0b2d4546a25779cba51c556115eb5aac48
|
@@ -8,13 +8,13 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ['COINQVEST Ltd.']
|
10
10
|
s.email = ['service@coinqvest.com']
|
11
|
-
s.homepage = '
|
11
|
+
s.homepage = 'https://www.coinqvest.com'
|
12
12
|
s.summary = %q{Ruby Merchant SDK for COINQVEST. Programmatically accept and settle payments in digital currencies.}
|
13
13
|
s.licenses = ['Apache-2.0']
|
14
14
|
s.required_ruby_version = '>= 2.0.0'
|
15
15
|
|
16
16
|
s.add_runtime_dependency 'rest-client', '~> 2.1', '>= 2.1.0'
|
17
|
-
s.add_runtime_dependency 'json', '~>
|
17
|
+
s.add_runtime_dependency 'json', '~> 2.3', '>= 2.3.0'
|
18
18
|
|
19
19
|
s.files = `git ls-files`.split("\n")
|
20
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -152,9 +152,9 @@ module CoinqvestMerchantSDK
|
|
152
152
|
def build_headers(endpoint, method, params)
|
153
153
|
|
154
154
|
timestamp = Time.now.to_i
|
155
|
-
body =
|
155
|
+
body = nil
|
156
156
|
if method != 'GET'
|
157
|
-
body = params.length > 0 ? params.to_json :
|
157
|
+
body = params.length > 0 ? params.to_json : nil
|
158
158
|
end
|
159
159
|
data = endpoint + timestamp.to_s + method + body.to_s
|
160
160
|
|
@@ -171,7 +171,7 @@ module CoinqvestMerchantSDK
|
|
171
171
|
private
|
172
172
|
def log(text)
|
173
173
|
|
174
|
-
if @log_file ==
|
174
|
+
if @log_file == nil
|
175
175
|
return
|
176
176
|
end
|
177
177
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coinqvest_merchant_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- COINQVEST Ltd.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -36,21 +36,21 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '2.3'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 2.3.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '2.3'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
53
|
-
description:
|
52
|
+
version: 2.3.0
|
53
|
+
description:
|
54
54
|
email:
|
55
55
|
- service@coinqvest.com
|
56
56
|
executables: []
|
@@ -64,11 +64,11 @@ files:
|
|
64
64
|
- lib/coinqvest_merchant_sdk.rb
|
65
65
|
- lib/coinqvest_merchant_sdk/client.rb
|
66
66
|
- lib/coinqvest_merchant_sdk/config.rb
|
67
|
-
homepage:
|
67
|
+
homepage: https://www.coinqvest.com
|
68
68
|
licenses:
|
69
69
|
- Apache-2.0
|
70
70
|
metadata: {}
|
71
|
-
post_install_message:
|
71
|
+
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
74
74
|
- lib
|
@@ -83,9 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
|
88
|
-
signing_key:
|
86
|
+
rubygems_version: 3.1.2
|
87
|
+
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: Ruby Merchant SDK for COINQVEST. Programmatically accept and settle payments
|
91
90
|
in digital currencies.
|