teodoro 0.60.1 → 0.62.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 +4 -4
- data/lib/teodoro/leiaute/arquivo_s1020.rb +1 -1
- data/lib/teodoro/leiaute/arquivo_s2200.rb +15 -0
- data/lib/teodoro/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cb4058fce256b476ec0b514ad402becaf5e9a4c3567d57099a296b9f54721d1
|
|
4
|
+
data.tar.gz: 8dde4d656a37b116ddcb46a59ee056da05c28298b13734c4300582f7300f60c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0828481e505a361363fedf9b769c81260d2e734c6731b7e407d7e48404e68f456ee525a7172e4f816fd3c10c52c48422d8b8b744f2b4e2e699a5d53c52109354'
|
|
7
|
+
data.tar.gz: 21ac937c50fa201295c9939757cb8e7fcfe9fb75b58577390edcb43f2d714071a368de9fca452c9a93b61e6c68331c3df131869ce5400de97e081670a7a5dce9
|
|
@@ -27,7 +27,7 @@ module Teodoro
|
|
|
27
27
|
['InicioValidade', inicio_da_validade, :mes_ano],
|
|
28
28
|
['FimValidade', fim_da_validade, :mes_ano],
|
|
29
29
|
['TipoLotacao', tipo_de_lotacao],
|
|
30
|
-
|
|
30
|
+
['Tipo', tipo_de_lotacao],
|
|
31
31
|
['TipoInscricaoEstab', evento['infoLotacao/*/dadosLotacao/tpInsc']],
|
|
32
32
|
['NumeroInscricaoEstab', evento['infoLotacao/*/dadosLotacao/nrInsc']],
|
|
33
33
|
['Fpas', evento['infoLotacao/*/dadosLotacao/fpasLotacao/fpas']],
|
|
@@ -276,8 +276,10 @@ module Teodoro
|
|
|
276
276
|
['EventoAdmissao_InfoVinculo_DataInicioAfastamento', evento['vinculo/afastamento/dtIniAfast'], :data],
|
|
277
277
|
['EventoAdmissao_InfoVinculo_CodigoMotivoAfastamento', evento['vinculo/afastamento/codMotAfast']],
|
|
278
278
|
['EventoAdmissao_InfoVinculo_SucessaoVinculo_DataTransferencia', evento['vinculo/sucessaoVinc/dtTransf'], :data],
|
|
279
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_TipoInscricaoAnterior', leiaute.tipo_de_inscricao_do_empregador_anterior],
|
|
279
280
|
['EventoAdmissao_InfoVinculo_SucessaoVinculo_CnpjEmpregadorAnterior', leiaute.cnpj_do_empregador_anterior],
|
|
280
281
|
['EventoAdmissao_InfoVinculo_SucessaoVinculo_MatriculaAnterior', evento['vinculo/sucessaoVinc/matricAnt']],
|
|
282
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_Observacao', evento['vinculo/sucessaoVinc/observacao']],
|
|
281
283
|
*(
|
|
282
284
|
if leiaute_simplificado?
|
|
283
285
|
evento.*('vinculo/infoContrato/treiCap').map.with_index(1) do |treinamento_capacitacao, seq|
|
|
@@ -385,6 +387,11 @@ module Teodoro
|
|
|
385
387
|
['InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_InfoFgts_OptanteFGTS', leiaute.opcao_pelo_fgts],
|
|
386
388
|
['InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_NaturezaAtividade', admissao.natureza_da_atividade],
|
|
387
389
|
['InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_TipoAdmissao', admissao.tipo_de_admissao],
|
|
390
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_DataTransferencia', evento['vinculo/sucessaoVinc/dtTransf'], :data],
|
|
391
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_TipoInscricaoAnterior', leiaute.tipo_de_inscricao_do_empregador_anterior],
|
|
392
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_CnpjEmpregadorAnterior', leiaute.cnpj_do_empregador_anterior],
|
|
393
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_MatriculaAnterior', evento['vinculo/sucessaoVinc/matricAnt']],
|
|
394
|
+
['EventoAdmissao_InfoVinculo_SucessaoVinculo_Observacao', evento['vinculo/sucessaoVinc/observacao']],
|
|
388
395
|
*evento.*('trabalhador/dependente').map.with_index do |dependente, seq|
|
|
389
396
|
[
|
|
390
397
|
["EventoAdmissao_Dependente_#{seq}_CPFDependente", dependente['cpfDep']],
|
|
@@ -460,6 +467,10 @@ module Teodoro
|
|
|
460
467
|
@codigo_da_funcao ||= evento['vinculo/infoContrato/codFuncao']
|
|
461
468
|
end
|
|
462
469
|
|
|
470
|
+
def tipo_de_inscricao_do_empregador_anterior
|
|
471
|
+
@tipo_de_inscricao_do_empregador_anterior ||= evento['vinculo/sucessaoVinc/tpInscAnt']
|
|
472
|
+
end
|
|
473
|
+
|
|
463
474
|
def cnpj_do_empregador_anterior
|
|
464
475
|
@cnpj_do_empregador_anterior ||= evento['vinculo/sucessaoVinc/cnpjEmpregAnt']
|
|
465
476
|
end
|
|
@@ -508,6 +519,10 @@ module Teodoro
|
|
|
508
519
|
funcao&.codigo
|
|
509
520
|
end
|
|
510
521
|
|
|
522
|
+
def tipo_de_inscricao_do_empregador_anterior
|
|
523
|
+
@tipo_de_inscricao_do_empregador_anterior ||= evento['vinculo/sucessaoVinc/tpInsc']
|
|
524
|
+
end
|
|
525
|
+
|
|
511
526
|
def cnpj_do_empregador_anterior
|
|
512
527
|
@cnpj_do_empregador_anterior ||= evento['vinculo/sucessaoVinc/nrInsc']
|
|
513
528
|
end
|
data/lib/teodoro/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teodoro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.62.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fortes Tecnologia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-06-
|
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|