abank 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/abank/big.rb +3 -2
- data/lib/abank/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bc90d0c9f03e14c34aa29f1074c8bd7e2a121eb787ed59cb38d31924e451142
|
4
|
+
data.tar.gz: ced118cd77e31d81076ca49dc1e9dcb4818f6084f622a8e1421540f335bfc40d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 857c60ec90b359cebe6f52430a09f26dfeaecb749d7b821412b2c10cae48263951274030bd4309e5050fe8aa7f512cc337ea30788af63750d1f6cfdf035fd256
|
7
|
+
data.tar.gz: c2df0dcc9476ef6255ce86266c600c3dee53e4177570e15bdb9af906426063fe8a376b50dbf8d3ffed58d84fd805a2f329268ddb441852aee69284b00ccb7f40
|
data/Gemfile.lock
CHANGED
data/lib/abank/big.rb
CHANGED
@@ -54,7 +54,7 @@ module Abank
|
|
54
54
|
@ctlct = []
|
55
55
|
unless mvkys.empty?
|
56
56
|
# obtem lista contratos arrendamento associados aos movimentos a apagar
|
57
|
-
@ctlct = sql("select distinct ct from #{BD}.
|
57
|
+
@ctlct = sql("select distinct ct from #{BD}.gmr where #{BD}.ky(dl,dv,ds,vl,nc) in(#{mvkys})")
|
58
58
|
|
59
59
|
re_apaga.mv_delete_dml
|
60
60
|
end
|
@@ -69,6 +69,7 @@ module Abank
|
|
69
69
|
|
70
70
|
# (see CLI#tag)
|
71
71
|
def mv_classifica
|
72
|
+
@ctlct = []
|
72
73
|
stp("call #{BD}.uct()")
|
73
74
|
puts("MOVIMENTOS CLASSIFICADOS #{bqnrs}")
|
74
75
|
@ctlct = sql("select ct from #{BD}.ca") if bqnrs.positive?
|
@@ -150,7 +151,7 @@ module Abank
|
|
150
151
|
|
151
152
|
# @return [String] sql para obter movimentos novos (depois da ultima renda do contrato arrendamento)
|
152
153
|
def sql_novo_mv(mdl)
|
153
|
-
"select * from #{BD}.
|
154
|
+
"select * from #{BD}.gmn where ct='#{opcao[:c]}' and dl>='#{(mdl + 1).strftime(DF)}' order by 1,2"
|
154
155
|
end
|
155
156
|
|
156
157
|
# @return [String] sql para obter dados do inicio contrato arrendamento
|
data/lib/abank/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hernâni Rodrigues Vaz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|