cnab240santander 1.0.1 → 1.0.2
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.
- data/lib/cnab240santander/retorno.rb +7 -3
- data/lib/cnab240santander/version.rb +1 -1
- metadata +3 -3
@@ -83,10 +83,14 @@ module Cnab240santander
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def add_to_hash(my_hash, combined_hash)
|
86
|
-
my_hash.
|
87
|
-
(
|
88
|
-
|
86
|
+
my_hash.each_key do |key|
|
87
|
+
if ( combined_hash.has_key?(key) )
|
88
|
+
combined_hash[ "#{key}-dup" ] = my_hash[key]
|
89
|
+
else
|
90
|
+
combined_hash[key]=my_hash[key]
|
91
|
+
end
|
89
92
|
end
|
93
|
+
combined_hash
|
90
94
|
end
|
91
95
|
end
|
92
96
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cnab240santander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lairton Borges
|