sticutils 2.0.1 → 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: 3a5ad2176049e33437f700e3c180a6b87d244a98592804ee6bd0df2f0fd3e448
4
- data.tar.gz: 53ac8459e6b80c58f004866a0b1bc207bbf5e5f13d20b29bfbbac2f88b3b62e2
3
+ metadata.gz: a99ecf831bb5c7aeed31958c7c17e6bfb9776c7e085521b219a96d1fde7c42b8
4
+ data.tar.gz: 476b9aa009e1305a31e690411e3427d99c23aa8f341a123696b9f6fd4e1be55b
5
5
  SHA512:
6
- metadata.gz: 64d0daf52c12b7db3af4631cf72fcad4df1a37464e1ca3575c0c14a7b08ed621476bfdf85dd72e56cc405585e09006fdf6c1c687d922d4ee13e35a28565bbefc
7
- data.tar.gz: 982292e4a24e0351a0d70525a9be4874ec6e074d06a199157279e24ba590221585a83072d43d7694de7204ce768625d5802872f9494fb5bc355222b1be75b389
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
@@ -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.1"
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.1
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-07-18 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