sticutils 0.3.9 → 0.4.0

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: 41225f441c7974574d9aa7158eb45d806e0519a6ccf403d7596cdb6172f0594e
4
- data.tar.gz: 695acc88465bfb9ed2cfb2dcced891e0d23bfaf300f5df4863b2fbb8abd27569
3
+ metadata.gz: c1cb5c6be2bf9c77d9395a51deda2d90274d346d29645de2a391d54f83008331
4
+ data.tar.gz: eceb52db3459f26a1e073ee3abd3441af22da4326823523a5250fc8936e9fa3f
5
5
  SHA512:
6
- metadata.gz: 5f538e432c08acdbb92719e326742365f8f7aeb013a94236a30e518a24c9eb46b572711b51dc042a44b0eef010400b58134fe7af29e444b19c2e23314826e087
7
- data.tar.gz: d684705c95e9aa77cf3fd95c0e846b15dab14c4eec73841f4560296245598eabf0e00338c70ac29db54f526ed256937f325731f32e923cce3e3e283ecd13d8c6
6
+ metadata.gz: e22da5869f7b162c61f3c77b28cc68d3bf3f0a89f7660bf994e865b9997e59b12923e781fc31daba78ff6b33e73f5a6e6995e8a35043c47c226591a00f7511b6
7
+ data.tar.gz: c5a185c46404659cbfafcb4eba6035738eb88a410bd9546db96a5a2f1e67ee0f63a109954d4f28bb59471355e5e257f3b48b9f65142f1dd75a7958671a7444c9
@@ -35,4 +35,6 @@ class Intranet::GlobalOrgao < Intranet::IntranetRecord
35
35
  has_many :tjpi_vinculos_ensino, :class_name => 'TjpiVinculo', foreign_key: :instituicaoDeEnsino_id
36
36
  has_many :tjpi_vinculos_atuais, :class_name => 'TjpiVinculo', foreign_key: :lotacaoAtual_id
37
37
  has_many :tjpi_vinculos_origem, :class_name => 'TjpiVinculo', foreign_key: :orgaoOrigem_id
38
+
39
+ has_many :global_contatos, through: :global_orgao_contatos
38
40
  end
@@ -1,3 +1,3 @@
1
1
  module Sticutils
2
- VERSION = "0.3.9"
2
+ VERSION = "0.4.0"
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: 0.3.9
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-25 00:00:00.000000000 Z
11
+ date: 2021-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails