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 +4 -4
- data/app/models/intranet/presenca_calculodiario.rb +6 -6
- data/app/models/intranet/presenca_debitoremanscentenegociavel.rb +7 -7
- data/app/models/intranet/presenca_diaexcepcional.rb +6 -6
- data/app/models/intranet/presenca_direito.rb +8 -8
- data/app/models/intranet/presenca_estacao_predio.rb +6 -6
- data/app/models/intranet/presenca_estacaoponto.rb +8 -8
- data/app/models/intranet/presenca_frequentador.rb +20 -20
- data/app/models/intranet/presenca_gestorindividual.rb +6 -0
- data/app/models/intranet/presenca_historicotarefa.rb +3 -3
- data/app/models/intranet/presenca_regime.rb +7 -7
- data/app/models/intranet/presenca_regimefrequentador.rb +7 -9
- data/app/models/intranet/presenca_registroestacaoponto.rb +5 -5
- data/app/models/intranet/presenca_registrofrequencium.rb +9 -9
- data/app/models/intranet/presenca_registromensalfrequencium.rb +7 -7
- data/app/models/intranet/presenca_relatoriofrequenciafinal.rb +5 -5
- data/app/models/intranet/presenca_relatoriofrequentador.rb +6 -6
- data/app/models/intranet/presenca_valorretroativo.rb +5 -5
- data/app/models/intranet/presenca_versaoestacaoponto.rb +3 -3
- data/lib/sticutils/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d63185b5b35b44889f9fde546906903044056a5e82e1b989c6a1fdfc7ec65abc
|
4
|
+
data.tar.gz: 5634bbaef8d3e30c8118ed86e4000cd77931525db95f07494c050ef0edd72ad6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b06931528d089958e5e755c3a7ccba2f031a85fdc7c797ce3c5758b966731aa566b12b8534270afe1e885900273225881db6089fd7cab21ec81dcd41d7c34472
|
7
|
+
data.tar.gz: 898e24529f5011212717a3d6e238621fa7fc56029f50754739521f8d33e5df8a9f083cb541d2c8a0ddb0110a31dcdadbebabcf350dc7a40a0fc7c1c9d7bb7434
|
@@ -1,6 +1,6 @@
|
|
1
|
-
class Intranet::PresencaCalculodiario < Intranet::IntranetRecord
|
2
|
-
self.table_name =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
6
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
6
|
-
belongs_to :
|
7
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
has_many :
|
5
|
-
belongs_to :
|
6
|
-
has_many :
|
7
|
-
has_many :
|
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 =
|
3
|
-
|
4
|
-
has_many :
|
5
|
-
belongs_to :
|
6
|
-
belongs_to :
|
7
|
-
belongs_to :
|
8
|
-
belongs_to :
|
9
|
-
belongs_to :
|
10
|
-
has_many :
|
11
|
-
has_many :
|
12
|
-
has_many :
|
13
|
-
has_many :
|
14
|
-
has_many :
|
15
|
-
|
16
|
-
belongs_to :
|
17
|
-
belongs_to :
|
18
|
-
|
19
|
-
has_many :
|
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 =
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
6
|
-
has_many :
|
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 =
|
3
|
-
|
4
|
-
has_many :
|
5
|
-
|
6
|
-
|
7
|
-
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
6
|
-
belongs_to :
|
7
|
-
belongs_to :
|
8
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
has_many :
|
5
|
-
has_many :
|
6
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
has_many :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
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 =
|
3
|
-
|
4
|
-
belongs_to :
|
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 =
|
3
|
-
end
|
1
|
+
class Intranet::PresencaVersaoestacaoponto < Intranet::IntranetRecord
|
2
|
+
self.table_name = "presenca_versaoestacaoponto"
|
3
|
+
end
|
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.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-
|
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.
|
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
|