centralpos 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +3 -0
- data/centralpos.gemspec +1 -1
- data/lib/centralpos/batch.rb +2 -2
- data/lib/centralpos/version.rb +1 -1
- metadata +7 -9
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dd631ad605a9c35caaf309e08bf8afb4f46d669211e06000190782db6c7d5db9
|
4
|
+
data.tar.gz: f2aed4a5005b528509fdc0c434389a44e3540af8841d729b0521afcb016236eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c26ad399545ccbb0b77d90b9fb5033e7d6c3ab2bbe812e47bde43d77c2974b55a5238ec51e4bbec3669bdd8e43c4107461a74451b1796cda97e0ac252548594
|
7
|
+
data.tar.gz: be4850b5ed414cdd58f14bb7c9b3d6a0ac390cfe93ae68dbfbc104a843a20a0a3c30102c539e125dbd8d049304b853536cc377e711fd1d576a101d7b0ec26e98
|
data/.gitignore
CHANGED
data/centralpos.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_development_dependency "httplog"
|
26
26
|
spec.add_development_dependency "minitest", "~> 5.0"
|
27
27
|
spec.add_development_dependency "pry-byebug", "~> 3.2"
|
28
|
-
spec.add_development_dependency "rake", "
|
28
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
29
29
|
spec.add_development_dependency "vcr", "~> 2.9"
|
30
30
|
spec.add_development_dependency "webmock", "~> 1.21"
|
31
31
|
end
|
data/lib/centralpos/batch.rb
CHANGED
@@ -32,7 +32,7 @@ module Centralpos
|
|
32
32
|
response = @account.gateway.call(:add_registro, batch_params.merge(transaction.to_add_params))
|
33
33
|
|
34
34
|
if response[:success] && response[:error].nil?
|
35
|
-
{ transaction: transaction.to_hash }
|
35
|
+
{ transaction: transaction.to_hash, response: response }
|
36
36
|
else
|
37
37
|
response
|
38
38
|
end
|
@@ -44,7 +44,7 @@ module Centralpos
|
|
44
44
|
response = @account.gateway.call(:del_registro, batch_params.merge(transaction.to_remove_params))
|
45
45
|
|
46
46
|
if response[:success] && response[:error].nil?
|
47
|
-
{ transaction: transaction.to_hash }
|
47
|
+
{ transaction: transaction.to_hash, response: response }
|
48
48
|
else
|
49
49
|
response
|
50
50
|
end
|
data/lib/centralpos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: centralpos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Cavilliotti
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 12.3.3
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 12.3.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: vcr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,6 @@ extensions: []
|
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
132
|
- ".gitignore"
|
133
|
-
- ".ruby-version"
|
134
133
|
- ".travis.yml"
|
135
134
|
- CODE_OF_CONDUCT.md
|
136
135
|
- Gemfile
|
@@ -169,8 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
168
|
- !ruby/object:Gem::Version
|
170
169
|
version: '0'
|
171
170
|
requirements: []
|
172
|
-
|
173
|
-
rubygems_version: 2.5.2
|
171
|
+
rubygems_version: 3.1.4
|
174
172
|
signing_key:
|
175
173
|
specification_version: 4
|
176
174
|
summary: Ruby wrapper for the CentralPos WebService
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.3.3
|