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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1b7f6f9ece1b19c6f9038bc5a00da8bb972f25f9
4
- data.tar.gz: bc010cbfe6e3bb89f8af1e88a779e3d95161e512
2
+ SHA256:
3
+ metadata.gz: dd631ad605a9c35caaf309e08bf8afb4f46d669211e06000190782db6c7d5db9
4
+ data.tar.gz: f2aed4a5005b528509fdc0c434389a44e3540af8841d729b0521afcb016236eb
5
5
  SHA512:
6
- metadata.gz: 3f174fa4229530c25538b91dfa9c8777d52b9bb1eaf44c6b54c8eaa22705519e88a1de9b6a9d7e6f1ba8b68da9e76c4fec67aab9b7490046cee358e6814e281e
7
- data.tar.gz: cfe6449a7bde923733cb60d65c58263bac55eeb2a301a36f0720aac846dac53cd5e1680761cf6ecf39b161a9d52af3e4f6bcb1c321b64d8fc45461b5faf539c1
6
+ metadata.gz: 0c26ad399545ccbb0b77d90b9fb5033e7d6c3ab2bbe812e47bde43d77c2974b55a5238ec51e4bbec3669bdd8e43c4107461a74451b1796cda97e0ac252548594
7
+ data.tar.gz: be4850b5ed414cdd58f14bb7c9b3d6a0ac390cfe93ae68dbfbc104a843a20a0a3c30102c539e125dbd8d049304b853536cc377e711fd1d576a101d7b0ec26e98
data/.gitignore CHANGED
@@ -22,5 +22,8 @@ ehthumbs.db
22
22
  Thumbs.db
23
23
  dump.rdb
24
24
 
25
+ # Ruby version
26
+ /.ruby-version
27
+
25
28
  # GS folder for managing the Gemset
26
29
  .gs/
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", "~> 10.4"
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Centralpos
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
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.6
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: 2020-05-15 00:00:00.000000000 Z
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: '10.4'
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: '10.4'
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
- rubyforge_project:
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