sticutils 2.0.7 → 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: f2dfff1ddaa422e9044b678f7b6f68c98be17b083af863aa9669a2776aa54e87
4
- data.tar.gz: bb1cb0197f33cba54e8b92b75e6ba027c65177cbd9afa68b04f3b810494ec2e3
3
+ metadata.gz: d63185b5b35b44889f9fde546906903044056a5e82e1b989c6a1fdfc7ec65abc
4
+ data.tar.gz: 5634bbaef8d3e30c8118ed86e4000cd77931525db95f07494c050ef0edd72ad6
5
5
  SHA512:
6
- metadata.gz: 6050626ed2db691296bf1bf7778f7a63f99eccfd7d6b93e10d8c53b974594fd63f9e921b5b29b49cfa73faf0a4bb093bb5ab3362f5bb7657eea43f57138d7eb3
7
- data.tar.gz: 2118f96edb223d86a8aed4296a67892bec75abe2341b4cd2ed83ea74a53cdf3814003a2af66c1ec098a0c66fbfc94d8b9db16ac27d2db49dfc97ffadd593f3b7
6
+ metadata.gz: b06931528d089958e5e755c3a7ccba2f031a85fdc7c797ce3c5758b966731aa566b12b8534270afe1e885900273225881db6089fd7cab21ec81dcd41d7c34472
7
+ data.tar.gz: 898e24529f5011212717a3d6e238621fa7fc56029f50754739521f8d33e5df8a9f083cb541d2c8a0ddb0110a31dcdadbebabcf350dc7a40a0fc7c1c9d7bb7434
@@ -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.7"
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.7
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-17 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