sticutils 2.0.5 → 2.0.6

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: 85c2e5ee15954bdf8412144e30dad10a2f4c039ca161fc07066102bbab2f50e5
4
- data.tar.gz: c5e2fdfba70b98a27b369ce242a7e135d7335affceeb6c50645a4d22546e4591
3
+ metadata.gz: eea1dbfb5e466f1d453a03c0c30ab81cfea4c3250c69f6067c0f76a61b41da92
4
+ data.tar.gz: e272144a7608c7fb74d5617fb8db8e2976e13e424b4794e5e2004ee3ca619bf8
5
5
  SHA512:
6
- metadata.gz: 488e900697afe57a3c1ae54dc2dbc9b11eb98c66698b030755e8b2de7889a6b10221838fdd9044189f0fb9fc225f947747e719955a1e37648fdd4de70a103d3c
7
- data.tar.gz: eda9c6e77a946b40caf9c41534bfa60ab62627efc50edb67a60e960ffbd5a3075d90b08607b27867c2c7a22f9ab339483ccc38273b6e89011fc97447632d7a58
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: self.folhas, mv_matricula: self.matricula)
18
+ Gestorh::MovimentoAcumulado.where(mv_regfolha: folhas, mv_matricula: matricula)
19
19
  .joins(verba: :classificacao_verba)
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', 'mv_total as valor',
25
- 'cdclassificacaoverba.cv_classificacao as tipo')
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
@@ -1,3 +1,3 @@
1
1
  module Sticutils
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
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.5
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: 2022-12-13 00:00:00.000000000 Z
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.22
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: []