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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89ef46f10e2a27d3ec0b07cec44c409b5ccc8657becb08c797c3593ac0c34d01
4
- data.tar.gz: bee920d33a78383e41b836326bc0d18e32ea5040fa3580f7fe6d0abfd59779b8
3
+ metadata.gz: 3bc90d0c9f03e14c34aa29f1074c8bd7e2a121eb787ed59cb38d31924e451142
4
+ data.tar.gz: ced118cd77e31d81076ca49dc1e9dcb4818f6084f622a8e1421540f335bfc40d
5
5
  SHA512:
6
- metadata.gz: 62d1e5e44883182033f530ad970dda63f66cf72b0b3ae677a297ef8a8f73b02e9627ef6b125ad49dfc8382e6ad218bd95cf6659b8b166e8c1d16112878a3ba46
7
- data.tar.gz: f64f197e84c2d49e80874771555da87d4af3a0f42b63e120024603a259fa1e9f065fee6eafc0be376a8190e6e361face9f26e57cb7393f0143b5813bc9239ac8
6
+ metadata.gz: 857c60ec90b359cebe6f52430a09f26dfeaecb749d7b821412b2c10cae48263951274030bd4309e5050fe8aa7f512cc337ea30788af63750d1f6cfdf035fd256
7
+ data.tar.gz: c2df0dcc9476ef6255ce86266c600c3dee53e4177570e15bdb9af906426063fe8a376b50dbf8d3ffed58d84fd805a2f329268ddb441852aee69284b00ccb7f40
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- abank (0.5.0)
4
+ abank (0.5.1)
5
5
  google-cloud-bigquery
6
6
  roo
7
7
  thor
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}.gmc where #{BD}.ky(dl,dv,ds,vl,nc) in(#{mvkys})")
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}.gmv where ct='#{opcao[:c]}' and dl>='#{(mdl + 1).strftime(DF)}' order by 1,2"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Abank
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2025-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler