sticutils 2.0.6 → 2.0.8

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: eea1dbfb5e466f1d453a03c0c30ab81cfea4c3250c69f6067c0f76a61b41da92
4
- data.tar.gz: e272144a7608c7fb74d5617fb8db8e2976e13e424b4794e5e2004ee3ca619bf8
3
+ metadata.gz: d63185b5b35b44889f9fde546906903044056a5e82e1b989c6a1fdfc7ec65abc
4
+ data.tar.gz: 5634bbaef8d3e30c8118ed86e4000cd77931525db95f07494c050ef0edd72ad6
5
5
  SHA512:
6
- metadata.gz: eb39f02ea93c6d9f45f186e4ddf9f2511b82a76b4472ec27d47f5d8044241ba78fffc043511412231a20d2938c8464779da97c9429b2e4f48838685ce41131e7
7
- data.tar.gz: dcb890f174d0a4a5386adfdcc3a386a981d61f9d36e35d46e6f8be28de5c4c6b112c6d0d6989c7efa49d79ccab2f0b761ad978e8e7baedd43555a2cdd93d770e
6
+ metadata.gz: b06931528d089958e5e755c3a7ccba2f031a85fdc7c797ce3c5758b966731aa566b12b8534270afe1e885900273225881db6089fd7cab21ec81dcd41d7c34472
7
+ data.tar.gz: 898e24529f5011212717a3d6e238621fa7fc56029f50754739521f8d33e5df8a9f083cb541d2c8a0ddb0110a31dcdadbebabcf350dc7a40a0fc7c1c9d7bb7434
@@ -24,6 +24,7 @@ class Gestorh::FolhaAgrupadaIdSeparado < Gestorh::GestorhRecord
24
24
  "mv_dc as status",
25
25
  "mv_total as valor",
26
26
  "cdclassificacaoverba.cv_classificacao as tipo",
27
+ "mv_base as mv_base",
27
28
  "mv_competencia as competencia_inicio",
28
29
  "mv_competencia_final as competencia_fim")
29
30
  .to_a
@@ -1,6 +1,6 @@
1
- class Intranet::PresencaCalculodiario < Intranet::IntranetRecord
2
- self.table_name = 'presenca_calculodiario'
3
-
4
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
5
- belongs_to :presenca_registromensalfrequencium, :class_name => 'PresencaRegistromensalfrequencium', :foreign_key => :registroMensal_id
6
- end
1
+ class Intranet::PresencaCalculodiario < Intranet::IntranetRecord
2
+ self.table_name = "presenca_calculodiario"
3
+
4
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
5
+ belongs_to :registromensalfrequencium, class_name: "PresencaRegistromensalfrequencium", foreign_key: :registroMensal_id
6
+ end
@@ -1,7 +1,7 @@
1
- class Intranet::PresencaDebitoremanscentenegociavel < Intranet::IntranetRecord
2
- self.table_name = 'presenca_debitoremanscentenegociavel'
3
-
4
- belongs_to :sistema_usuario, :class_name => 'SistemaUsuario', :foreign_key => :responsavel_id
5
- belongs_to :aproc_manifestacao, :class_name => 'AprocManifestacao', :foreign_key => :manifestacao_id
6
- belongs_to :presenca_registromensalfrequencium, :class_name => 'PresencaRegistromensalfrequencium', :foreign_key => :registroMensalFrequencia_id
7
- end
1
+ class Intranet::PresencaDebitoremanscentenegociavel < Intranet::IntranetRecord
2
+ self.table_name = "presenca_debitoremanscentenegociavel"
3
+
4
+ belongs_to :usuario, class_name: "SistemaUsuario", foreign_key: :responsavel_id
5
+ belongs_to :manifestacao, class_name: "AprocManifestacao", foreign_key: :manifestacao_id
6
+ belongs_to :registro_mensal, class_name: "PresencaRegistromensalfrequencium", foreign_key: :registroMensalFrequencia_id
7
+ end
@@ -1,6 +1,6 @@
1
- class Intranet::PresencaDiaexcepcional < Intranet::IntranetRecord
2
- self.table_name = 'presenca_diaexcepcional'
3
-
4
- belongs_to :sistema_usuario, :class_name => 'SistemaUsuario', :foreign_key => :responsavel_id
5
- belongs_to :global_orgao, :class_name => 'GlobalOrgao', :foreign_key => :setorAtingido_id
6
- end
1
+ class Intranet::PresencaDiaexcepcional < Intranet::IntranetRecord
2
+ self.table_name = "presenca_diaexcepcional"
3
+
4
+ belongs_to :usuario, class_name: "SistemaUsuario", foreign_key: :responsavel_id
5
+ belongs_to :orgao, class_name: "GlobalOrgao", foreign_key: :setorAtingido_id
6
+ end
@@ -1,8 +1,8 @@
1
- class Intranet::PresencaDireito < Intranet::IntranetRecord
2
- self.table_name = 'presenca_direito'
3
-
4
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
5
- belongs_to :sistema_usuario, :class_name => 'SistemaUsuario', :foreign_key => :responsavel_id
6
- belongs_to :tjpi_previnculadointervencao, :class_name => 'TjpiPrevinculadointervencao', :foreign_key => :intervencao_id
7
- belongs_to :aproc_manifestacao, :class_name => 'AprocManifestacao', :foreign_key => :manifestacao_id
8
- end
1
+ class Intranet::PresencaDireito < Intranet::IntranetRecord
2
+ self.table_name = "presenca_direito"
3
+
4
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
5
+ belongs_to :usuario, class_name: "SistemaUsuario", foreign_key: :responsavel_id
6
+ belongs_to :intervencao, class_name: "TjpiPrevinculadointervencao", foreign_key: :intervencao_id
7
+ belongs_to :manifestacao, class_name: "AprocManifestacao", foreign_key: :manifestacao_id
8
+ end
@@ -1,6 +1,6 @@
1
- class Intranet::PresencaEstacaoPredio < Intranet::IntranetRecord
2
- self.table_name = 'presenca_estacao_predio'
3
-
4
- belongs_to :global_predio, :class_name => 'GlobalPredio', :foreign_key => :predio_id
5
- belongs_to :presenca_estacaoponto, :class_name => 'PresencaEstacaoponto', :foreign_key => :estacaoPonto_id
6
- end
1
+ class Intranet::PresencaEstacaoPredio < Intranet::IntranetRecord
2
+ self.table_name = "presenca_estacao_predio"
3
+
4
+ belongs_to :predio, class_name: "GlobalPredio", foreign_key: :predio_id
5
+ belongs_to :estacao_ponto, class_name: "PresencaEstacaoponto", foreign_key: :estacaoPonto_id
6
+ end
@@ -1,8 +1,8 @@
1
- class Intranet::PresencaEstacaoponto < Intranet::IntranetRecord
2
- self.table_name = 'presenca_estacaoponto'
3
-
4
- has_many :presenca_estacao_predios, :class_name => 'PresencaEstacaoPredio'
5
- belongs_to :sistema_usuario, :class_name => 'SistemaUsuario', :foreign_key => :responsavel_id
6
- has_many :presenca_registroestacaopontos, :class_name => 'PresencaRegistroestacaoponto'
7
- has_many :presenca_registrofrequencia, :class_name => 'PresencaRegistrofrequencium'
8
- end
1
+ class Intranet::PresencaEstacaoponto < Intranet::IntranetRecord
2
+ self.table_name = "presenca_estacaoponto"
3
+
4
+ has_many :estacao_predios, class_name: "PresencaEstacaoPredio"
5
+ belongs_to :usuario, class_name: "SistemaUsuario", foreign_key: :responsavel_id
6
+ has_many :estacoes_ponto, class_name: "PresencaRegistroestacaoponto"
7
+ has_many :registros, class_name: "PresencaRegistrofrequencium"
8
+ end
@@ -1,20 +1,20 @@
1
- class Intranet::PresencaFrequentador < Intranet::IntranetRecord
2
- self.table_name = 'presenca_frequentador'
3
-
4
- has_many :presenca_calculodiarios, :class_name => 'PresencaCalculodiario'
5
- belongs_to :global_predio, :class_name => 'GlobalPredio', :foreign_key => :localTrabalhoPresenca_id
6
- belongs_to :presenca_regimefrequentador, :class_name => 'PresencaRegimefrequentador', :foreign_key => :diferenciado_id
7
- belongs_to :presenca_regimefrequentador, :class_name => 'PresencaRegimefrequentador', :foreign_key => :temporario_id
8
- belongs_to :presenca_regimefrequentador, :class_name => 'PresencaRegimefrequentador', :foreign_key => :oficial_id
9
- belongs_to :sistema_usuario, :class_name => 'SistemaUsuario', :foreign_key => :cadastrador_id
10
- has_many :presenca_regimefrequentadors, :class_name => 'PresencaRegimefrequentador'
11
- has_many :presenca_registrofrequencia, :class_name => 'PresencaRegistrofrequencium'
12
- has_many :presenca_registromensalfrequencia, :class_name => 'PresencaRegistromensalfrequencium'
13
- has_many :presenca_relatoriofrequentadors, :class_name => 'PresencaRelatoriofrequentador'
14
- has_many :presenca_valorretroativos, :class_name => 'PresencaValorretroativo'
15
-
16
- belongs_to :tjpi_vinculo, class_name: 'TjpiVinculado', foreign_key: :vinculoPrincipal_id
17
- belongs_to :tjpi_vinculado, class_name: 'TjpiVinculado', foreign_key: :vinculado_id
18
-
19
- has_many :presenca_direitos, class_name: 'PresencaDireito', foreign_key: :frequentador_id
20
- end
1
+ class Intranet::PresencaFrequentador < Intranet::IntranetRecord
2
+ self.table_name = "presenca_frequentador"
3
+
4
+ has_many :calculos_diarios, class_name: "PresencaCalculodiario"
5
+ belongs_to :predio, class_name: "GlobalPredio", foreign_key: :localTrabalhoPresenca_id
6
+ belongs_to :regime_difrerenciado, class_name: "PresencaRegimefrequentador", foreign_key: :diferenciado_id
7
+ belongs_to :regime_temporario, class_name: "PresencaRegimefrequentador", foreign_key: :temporario_id
8
+ belongs_to :regime, class_name: "PresencaRegimefrequentador", foreign_key: :oficial_id
9
+ belongs_to :usuario, class_name: "SistemaUsuario", foreign_key: :cadastrador_id
10
+ has_many :frequentadores, class_name: "PresencaRegimefrequentador"
11
+ has_many :registros, class_name: "PresencaRegistrofrequencium"
12
+ has_many :registro_mensal, class_name: "PresencaRegistromensalfrequencium"
13
+ has_many :relatorios, class_name: "PresencaRelatoriofrequentador"
14
+ has_many :valores_retroativos, class_name: "PresencaValorretroativo"
15
+
16
+ belongs_to :vinculo, class_name: "TjpiVinculo", foreign_key: :vinculoPrincipal_id
17
+ belongs_to :vinculado, class_name: "TjpiVinculado", foreign_key: :vinculado_id
18
+
19
+ has_many :direitos, class_name: "PresencaDireito", foreign_key: :frequentador_id
20
+ end
@@ -0,0 +1,6 @@
1
+ class Intranet::PresencaGestorindividual < Intranet::IntranetRecord
2
+ self.table_name = "presenca_gestorindividual"
3
+
4
+ belongs_to :vinculado, class_name: "TjpiVinculado", foreign_key: :vinculado_id
5
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
6
+ end
@@ -1,3 +1,3 @@
1
- class Intranet::PresencaHistoricotarefa < Intranet::IntranetRecord
2
- self.table_name = 'presenca_historicotarefa'
3
- end
1
+ class Intranet::PresencaHistoricotarefa < Intranet::IntranetRecord
2
+ self.table_name = "presenca_historicotarefa"
3
+ end
@@ -1,7 +1,7 @@
1
- class Intranet::PresencaRegime < Intranet::IntranetRecord
2
- self.table_name = 'presenca_regime'
3
-
4
- belongs_to :presenca_regime, :class_name => 'PresencaRegime', :foreign_key => :padrao_id
5
- belongs_to :presenca_regime, :class_name => 'PresencaRegime', :foreign_key => :anterior_id
6
- has_many :presenca_regimefrequentadors, :class_name => 'PresencaRegimefrequentador'
7
- end
1
+ class Intranet::PresencaRegime < Intranet::IntranetRecord
2
+ self.table_name = "presenca_regime"
3
+
4
+ belongs_to :regime, class_name: "PresencaRegime", foreign_key: :padrao_id
5
+ belongs_to :regime_anterior, class_name: "PresencaRegime", foreign_key: :anterior_id
6
+ has_many :regimes, class_name: "PresencaRegimefrequentador"
7
+ end
@@ -1,9 +1,7 @@
1
- class Intranet::PresencaRegimefrequentador < Intranet::IntranetRecord
2
- self.table_name = 'presenca_regimefrequentador'
3
-
4
- has_many :presenca_frequentadors, :class_name => 'PresencaFrequentador'
5
- has_many :presenca_frequentadors, :class_name => 'PresencaFrequentador'
6
- has_many :presenca_frequentadors, :class_name => 'PresencaFrequentador'
7
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
8
- belongs_to :presenca_regime, :class_name => 'PresencaRegime', :foreign_key => :regime_id
9
- end
1
+ class Intranet::PresencaRegimefrequentador < Intranet::IntranetRecord
2
+ self.table_name = "presenca_regimefrequentador"
3
+
4
+ has_many :frequentadores, class_name: "PresencaFrequentador"
5
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
6
+ belongs_to :regime, class_name: "PresencaRegime", foreign_key: :regime_id
7
+ end
@@ -1,5 +1,5 @@
1
- class Intranet::PresencaRegistroestacaoponto < Intranet::IntranetRecord
2
- self.table_name = 'presenca_registroestacaoponto'
3
-
4
- belongs_to :presenca_estacaoponto, :class_name => 'PresencaEstacaoponto', :foreign_key => :estacao_id
5
- end
1
+ class Intranet::PresencaRegistroestacaoponto < Intranet::IntranetRecord
2
+ self.table_name = "presenca_registroestacaoponto"
3
+
4
+ belongs_to :estacao_ponto, class_name: "PresencaEstacaoponto", foreign_key: :estacao_id
5
+ end
@@ -1,9 +1,9 @@
1
- class Intranet::PresencaRegistrofrequencium < Intranet::IntranetRecord
2
- self.table_name = 'presenca_registrofrequencia'
3
-
4
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
5
- belongs_to :presenca_estacaoponto, :class_name => 'PresencaEstacaoponto', :foreign_key => :estacaoPonto_id
6
- belongs_to :tjpi_previnculadointervencao, :class_name => 'TjpiPrevinculadointervencao', :foreign_key => :intervencao_id
7
- belongs_to :aproc_manifestacao, :class_name => 'AprocManifestacao', :foreign_key => :manifestacao_id
8
- belongs_to :global_orgao, :class_name => 'GlobalOrgao', :foreign_key => :lotacaoEpoca_id
9
- end
1
+ class Intranet::PresencaRegistrofrequencium < Intranet::IntranetRecord
2
+ self.table_name = "presenca_registrofrequencia"
3
+
4
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
5
+ belongs_to :estacaoponto, class_name: "PresencaEstacaoponto", foreign_key: :estacaoPonto_id
6
+ belongs_to :intervencao, class_name: "TjpiPrevinculadointervencao", foreign_key: :intervencao_id
7
+ belongs_to :manifestacao, class_name: "AprocManifestacao", foreign_key: :manifestacao_id
8
+ belongs_to :orgao, class_name: "GlobalOrgao", foreign_key: :lotacaoEpoca_id
9
+ end
@@ -1,7 +1,7 @@
1
- class Intranet::PresencaRegistromensalfrequencium < Intranet::IntranetRecord
2
- self.table_name = 'presenca_registromensalfrequencia'
3
-
4
- has_many :presenca_calculodiarios, :class_name => 'PresencaCalculodiario'
5
- has_many :presenca_debitoremanscentenegociavels, :class_name => 'PresencaDebitoremanscentenegociavel'
6
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
7
- end
1
+ class Intranet::PresencaRegistromensalfrequencium < Intranet::IntranetRecord
2
+ self.table_name = "presenca_registromensalfrequencia"
3
+
4
+ has_many :calculos_diarios, class_name: "PresencaCalculodiario"
5
+ has_many :debitos_remanescentes, class_name: "PresencaDebitoremanscentenegociavel"
6
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
7
+ end
@@ -1,5 +1,5 @@
1
- class Intranet::PresencaRelatoriofrequenciafinal < Intranet::IntranetRecord
2
- self.table_name = 'presenca_relatoriofrequenciafinal'
3
-
4
- has_many :presenca_relatoriofrequentadors, :class_name => 'PresencaRelatoriofrequentador'
5
- end
1
+ class Intranet::PresencaRelatoriofrequenciafinal < Intranet::IntranetRecord
2
+ self.table_name = "presenca_relatoriofrequenciafinal"
3
+
4
+ has_many :relatorios, class_name: "PresencaRelatoriofrequentador"
5
+ end
@@ -1,6 +1,6 @@
1
- class Intranet::PresencaRelatoriofrequentador < Intranet::IntranetRecord
2
- self.table_name = 'presenca_relatoriofrequentador'
3
-
4
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
5
- belongs_to :presenca_relatoriofrequenciafinal, :class_name => 'PresencaRelatoriofrequenciafinal', :foreign_key => :relatorioFrequenciaFinal_id
6
- end
1
+ class Intranet::PresencaRelatoriofrequentador < Intranet::IntranetRecord
2
+ self.table_name = "presenca_relatoriofrequentador"
3
+
4
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
5
+ belongs_to :relatorios_final, class_name: "PresencaRelatoriofrequenciafinal", foreign_key: :relatorioFrequenciaFinal_id
6
+ end
@@ -1,5 +1,5 @@
1
- class Intranet::PresencaValorretroativo < Intranet::IntranetRecord
2
- self.table_name = 'presenca_valorretroativo'
3
-
4
- belongs_to :presenca_frequentador, :class_name => 'PresencaFrequentador', :foreign_key => :frequentador_id
5
- end
1
+ class Intranet::PresencaValorretroativo < Intranet::IntranetRecord
2
+ self.table_name = "presenca_valorretroativo"
3
+
4
+ belongs_to :frequentador, class_name: "PresencaFrequentador", foreign_key: :frequentador_id
5
+ end
@@ -1,3 +1,3 @@
1
- class Intranet::PresencaVersaoestacaoponto < Intranet::IntranetRecord
2
- self.table_name = 'presenca_versaoestacaoponto'
3
- end
1
+ class Intranet::PresencaVersaoestacaoponto < Intranet::IntranetRecord
2
+ self.table_name = "presenca_versaoestacaoponto"
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Sticutils
2
- VERSION = "2.0.6"
2
+ VERSION = "2.0.8"
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.6
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-13 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -163,6 +163,7 @@ files:
163
163
  - app/models/intranet/presenca_estacao_predio.rb
164
164
  - app/models/intranet/presenca_estacaoponto.rb
165
165
  - app/models/intranet/presenca_frequentador.rb
166
+ - app/models/intranet/presenca_gestorindividual.rb
166
167
  - app/models/intranet/presenca_historicotarefa.rb
167
168
  - app/models/intranet/presenca_regime.rb
168
169
  - app/models/intranet/presenca_regimefrequentador.rb
@@ -274,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
275
  - !ruby/object:Gem::Version
275
276
  version: '0'
276
277
  requirements: []
277
- rubygems_version: 3.3.26
278
+ rubygems_version: 3.4.20
278
279
  signing_key:
279
280
  specification_version: 4
280
281
  summary: Utilidades para aplicações rails da STIC