sticutils 1.0.7 → 1.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: 76885aaed498a28a327cf9ea2f804390ce982ae63f1d191ddcd7862f83d7ea96
4
- data.tar.gz: 629308e5410aa422dfecae788f945cd0e4f186efa19095fa68a74b607c337cee
3
+ metadata.gz: 6bc7aa5003dee086839112b36be6a6e86e2fc930fd9b196d1b743423785587e0
4
+ data.tar.gz: c974b43294fdbd4df9fcc966cb3c640b71f14bcc81e66032656e815689d412e1
5
5
  SHA512:
6
- metadata.gz: 8adc05e3e5e318cdab80592daef0fc544c7645b9655a32f8226202db3d31ea2d0426925b783b83bc2a7758440cb560bbd0efe5d1d3327ce61ff8093d1b08407a
7
- data.tar.gz: 5be8d2f429102c37e02aa5cb190f7ae0e285f9d8a5ec98d0b6c0cdfe315e5881f85f50b6544e143bebc38c7dada23a368cfec53a404d427a1d7a00d13536db35
6
+ metadata.gz: afe49290226acbdb6bb8de5a248448f88f340a1779256006d250962edb4ec75a8749b427973bc9b7b0a1678b3b073879624c7f26079ae5d941770d00f53827e6
7
+ data.tar.gz: 8731dd1ce2000af592e76ae7c25a42a5cf27c8bf4d6272d8c6d8dfa603567c127772fe6107daa62500f0cd091ff829bd3e75a235999d3b9267c63e11b739f941
@@ -4,4 +4,5 @@ class Gestorh::Funcionario < Gestorh::GestorhRecord
4
4
  has_many :movimento_acumulados, foreign_key: :mv_matricula, primary_key: :fn_matricula
5
5
  has_many :folhas, through: :movimento_acumulados
6
6
  has_many :ferias, foreign_key: :fe_matricula, primary_key: :fn_matricula, class_name: 'Gestorh::Ferias'
7
+ belongs_to :vinculo, foreign_key: :fn_vinculo
7
8
  end
@@ -1,3 +1,5 @@
1
1
  class Gestorh::Vinculo < Gestorh::GestorhRecord
2
2
  self.table_name = 'gestor_rh.cdvinculo'
3
+
4
+ has_many :funcionarios, foreign_key: :fn_vinculo
3
5
  end
@@ -1,3 +1,3 @@
1
1
  module Sticutils
2
- VERSION = "1.0.7"
2
+ VERSION = "1.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: 1.0.7
4
+ version: 1.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: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails