sticutils 2.0.0 → 2.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cce7648391b8023dad3eda6a8f3da5ea6ecc2a31c235ff99e88fc21f9996326
4
- data.tar.gz: 23e5d31b3a4a7d5c7bcf8e4464ab7b1d6448f1318bc299b071a856045fa923fd
3
+ metadata.gz: a99ecf831bb5c7aeed31958c7c17e6bfb9776c7e085521b219a96d1fde7c42b8
4
+ data.tar.gz: 476b9aa009e1305a31e690411e3427d99c23aa8f341a123696b9f6fd4e1be55b
5
5
  SHA512:
6
- metadata.gz: f5c03a7a55ff53af3d19e1e6375be888bbaa29a8e7df6a9f8634e2a922a184ae906619fb135360eb15b1e95da7db8aef9329b6c69a192954d20af19e87357e9b
7
- data.tar.gz: bdc6996beec9f58f21d74072f78dcc10257b1bd9e9537651469766a0b3d57b16ad0ae25d024651308653841176780f09fcff2b5a6f534e861e2e9b5cff38b2cf
6
+ metadata.gz: 88a1c0f2ed24ede39eef7aefa2d00698d828192384d788cebe2daab42ec59f9564c0d5e0e5821d65191564d24ff8e39e6a78a1743519801e4c42a9699b5c8ba6
7
+ data.tar.gz: 8441fefbc3c9575e688c7608c3161edc4750ce461bb8e5c66ca89ab99e1c915dff3adb9d1d237819b98889de6174e8a190bdfc64644b2d01f9f21a887d45b48c
@@ -0,0 +1,3 @@
1
+ class Intranet::EjudAreaformacao < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_areaformacao'
3
+ end
@@ -0,0 +1,5 @@
1
+ class Intranet::EjudAtividadeextensao < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_atividadeextensao'
3
+
4
+ belongs_to :ejud_perfileducacional, foreign_key: :perfil_id
5
+ end
@@ -0,0 +1,5 @@
1
+ class Intranet::EjudDocenciadisciplina < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_docenciadisciplina'
3
+
4
+ belongs_to :ejud_docenciainstituicao, foreign_key: :instituicao_id
5
+ end
@@ -0,0 +1,7 @@
1
+ class Intranet::EjudDocenciainstituicao < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_docenciainstituicao'
3
+
4
+ belongs_to :ejud_perfileducacional, foreign_key: :perfil_id
5
+
6
+ has_many :ejud_docenciasdisciplinas, :class_name => 'EjudDocenciadisciplina', foreign_key: :instituicao_id
7
+ end
@@ -0,0 +1,5 @@
1
+ class Intranet::EjudFormacaoacademica < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_formacaoacademica'
3
+
4
+ belongs_to :ejud_perfileducacional, foreign_key: :perfil_id
5
+ end
@@ -0,0 +1,5 @@
1
+ class Intranet::EjudLinguaestrangeira < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_linguaestrangeira'
3
+
4
+ belongs_to :ejud_perfileducacional, foreign_key: :perfil_id
5
+ end
@@ -0,0 +1,10 @@
1
+ class Intranet::EjudPerfileducacional < Intranet::IntranetRecord
2
+ self.table_name = 'ejud_perfileducacional'
3
+
4
+ belongs_to :tjpi_vinculado, foreign_key: :vinculado_id
5
+
6
+ has_many :ejud_formacoesacademicas, :class_name => 'EjudFormacaoacademica', foreign_key: :perfil_id
7
+ has_many :ejud_linguasestrangeiras, :class_name => 'EjudLinguaestrangeira', foreign_key: :perfil_id
8
+ has_many :ejud_docenciasinstituicoes, :class_name => 'EjudDocenciainstituicao', foreign_key: :perfil_id
9
+ has_many :ejud_atividadesextensao, :class_name => 'EjudAtividadeextensao', foreign_key: :perfil_id
10
+ end
@@ -14,4 +14,6 @@ class Intranet::GlobalPrepessoafisica < Intranet::IntranetRecord
14
14
  has_one :tjpi_previnculados, :class_name => 'TjpiPrevinculado', foreign_key: :prePessoaFisica_id
15
15
  has_one :tjpi_vinculado, :class_name => 'TjpiPrevinculado', foreign_key: :prePessoaFisica_id
16
16
  has_many :tjpi_vinculos, through: :tjpi_vinculado, source: :tjpi_vinculo_principal
17
+
18
+ belongs_to :endereco_secundario, class_name: 'GlobalEndereco', foreign_key: :enderecoSecundario_id
17
19
  end
@@ -20,4 +20,6 @@ class Intranet::TjpiPrevinculado < Intranet::IntranetRecord
20
20
  belongs_to :tjpi_previnculadointervencao_ultima, class_name: 'TjpiPrevinculadointervencao', foreign_key: :intervencao_id
21
21
  belongs_to :tjpi_previnculadointervencao_anterior, class_name: 'TjpiPrevinculadointervencao', foreign_key: :anterior_id
22
22
  has_many :tjpi_previnculadointervencoes, class_name: 'TjpiPrevinculadointervencao', foreign_key: :preVinculado_id
23
+
24
+ has_one :presenca_frequentador, class_name: 'PresencaFrequentador', foreign_key: :vinculado_id
23
25
  end
@@ -12,6 +12,8 @@ class Intranet::TjpiVinculado < Intranet::IntranetRecord
12
12
  belongs_to :tjpi_vinculo_principal, :class_name => 'TjpiVinculo', foreign_key: :vinculoPrincipal_id
13
13
  belongs_to :tjpi_vinculo, :class_name => 'TjpiVinculo', foreign_key: :vinculoPrincipal_id
14
14
  has_many :tjpi_vinculos, :class_name => 'TjpiVinculo', foreign_key: :vinculado_id
15
-
15
+
16
16
  has_one :presenca_frequentador, class_name: 'PresencaFrequentador', foreign_key: :vinculado_id
17
+
18
+ has_many :ejud_perfiseducacionais, :class_name => 'EjudPerfileducacional', foreign_key: :vinculado_id
17
19
  end
@@ -1,3 +1,3 @@
1
1
  module Sticutils
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.2"
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.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-13 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -111,6 +111,13 @@ files:
111
111
  - app/models/intranet/concursos_remocao_disponibilidade.rb
112
112
  - app/models/intranet/concursos_remocao_inscricao.rb
113
113
  - app/models/intranet/concursos_remocao_opacaolotacao.rb
114
+ - app/models/intranet/ejud_areaformacao.rb
115
+ - app/models/intranet/ejud_atividadeextensao.rb
116
+ - app/models/intranet/ejud_docenciadisciplina.rb
117
+ - app/models/intranet/ejud_docenciainstituicao.rb
118
+ - app/models/intranet/ejud_formacaoacademica.rb
119
+ - app/models/intranet/ejud_linguaestrangeira.rb
120
+ - app/models/intranet/ejud_perfileducacional.rb
114
121
  - app/models/intranet/ferias_feria.rb
115
122
  - app/models/intranet/ferias_fracao.rb
116
123
  - app/models/intranet/ferias_registromudancafraco.rb
@@ -266,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
273
  - !ruby/object:Gem::Version
267
274
  version: '0'
268
275
  requirements: []
269
- rubygems_version: 3.1.6
276
+ rubygems_version: 3.3.17
270
277
  signing_key:
271
278
  specification_version: 4
272
279
  summary: Utilidades para aplicações rails da STIC