sticutils 2.0.5 → 2.0.6
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.
- checksums.yaml +4 -4
- data/app/models/gestorh/folha_agrupada_id_separado.rb +11 -8
- data/lib/sticutils/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eea1dbfb5e466f1d453a03c0c30ab81cfea4c3250c69f6067c0f76a61b41da92
|
4
|
+
data.tar.gz: e272144a7608c7fb74d5617fb8db8e2976e13e424b4794e5e2004ee3ca619bf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb39f02ea93c6d9f45f186e4ddf9f2511b82a76b4472ec27d47f5d8044241ba78fffc043511412231a20d2938c8464779da97c9429b2e4f48838685ce41131e7
|
7
|
+
data.tar.gz: dcb890f174d0a4a5386adfdcc3a386a981d61f9d36e35d46e6f8be28de5c4c6b112c6d0d6989c7efa49d79ccab2f0b761ad978e8e7baedd43555a2cdd93d770e
|
@@ -15,16 +15,19 @@ class Gestorh::FolhaAgrupadaIdSeparado < Gestorh::GestorhRecord
|
|
15
15
|
|
16
16
|
def eventos_e_valores
|
17
17
|
# .where.not('cdclassificacaoverba.cv_classificacao': 'DESCONTO_PREVIDENCIA_PUBLICA_IAPEP')
|
18
|
-
Gestorh::MovimentoAcumulado.where(mv_regfolha:
|
18
|
+
Gestorh::MovimentoAcumulado.where(mv_regfolha: folhas, mv_matricula: matricula)
|
19
19
|
.joins(verba: :classificacao_verba)
|
20
|
-
.select(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
.select("mv_regfolha as folha_id",
|
21
|
+
"mv_verba as codigo_evento",
|
22
|
+
"mv_referencia as fator",
|
23
|
+
"cdverba.vb_nome as nome_evento",
|
24
|
+
"mv_dc as status",
|
25
|
+
"mv_total as valor",
|
26
|
+
"cdclassificacaoverba.cv_classificacao as tipo",
|
27
|
+
"mv_competencia as competencia_inicio",
|
28
|
+
"mv_competencia_final as competencia_fim")
|
26
29
|
.to_a
|
27
|
-
.uniq{|x| [x.codigo_evento, x.status, x.valor] } # uniq temporario para remover verbas com 2 classificacoes
|
30
|
+
.uniq { |x| [x.codigo_evento, x.status, x.valor] } # uniq temporario para remover verbas com 2 classificacoes
|
28
31
|
end
|
29
32
|
|
30
33
|
def remuneracao_paradigma
|
data/lib/sticutils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sticutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Viana
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -259,7 +259,7 @@ homepage: http://gitlab.tjpi.jus.br/
|
|
259
259
|
licenses:
|
260
260
|
- MIT
|
261
261
|
metadata: {}
|
262
|
-
post_install_message:
|
262
|
+
post_install_message:
|
263
263
|
rdoc_options: []
|
264
264
|
require_paths:
|
265
265
|
- lib
|
@@ -274,8 +274,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
- !ruby/object:Gem::Version
|
275
275
|
version: '0'
|
276
276
|
requirements: []
|
277
|
-
rubygems_version: 3.3.
|
278
|
-
signing_key:
|
277
|
+
rubygems_version: 3.3.26
|
278
|
+
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: Utilidades para aplicações rails da STIC
|
281
281
|
test_files: []
|