teodoro 0.28.0 → 0.32.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.rb +1 -1
- data/lib/teodoro/arquivo_xml.rb +1 -0
- data/lib/teodoro/empresa.rb +1 -1
- data/lib/teodoro/empresa/contratos_de_emprego.rb +26 -3
- data/lib/teodoro/empresa/contratos_de_trabalho_sem_vinculo.rb +18 -3
- data/lib/teodoro/leiaute/arquivo_s1010.rb +3 -3
- data/lib/teodoro/leiaute/arquivo_s2200.rb +181 -94
- data/lib/teodoro/leiaute/arquivo_s2205.rb +112 -40
- data/lib/teodoro/leiaute/arquivo_s2206.rb +77 -46
- data/lib/teodoro/leiaute/arquivo_s2299.rb +54 -54
- data/lib/teodoro/leiaute/arquivo_s2300.rb +145 -80
- data/lib/teodoro/leiaute/arquivo_s2306.rb +3 -3
- data/lib/teodoro/leiaute/arquivo_s2399.rb +48 -44
- data/lib/teodoro/leiaute_simplificado.rb +27 -0
- metadata +3 -2
@@ -0,0 +1,27 @@
|
|
1
|
+
module Teodoro
|
2
|
+
module LeiauteSimplificado
|
3
|
+
class TrabalhadorImigrante
|
4
|
+
private
|
5
|
+
|
6
|
+
def initialize(xml)
|
7
|
+
@xml = xml
|
8
|
+
end
|
9
|
+
|
10
|
+
attr_reader :xml
|
11
|
+
|
12
|
+
public
|
13
|
+
|
14
|
+
def condicao_de_ingresso_no_brasil_no_leiaute2
|
15
|
+
{
|
16
|
+
'1' => 4,
|
17
|
+
'2' => 5,
|
18
|
+
'3' => 9,
|
19
|
+
'4' => 10,
|
20
|
+
'5' => 11,
|
21
|
+
'6' => 12,
|
22
|
+
'7' => xml['tmpResid']
|
23
|
+
}[xml['condIng']]
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
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.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clavius Tales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -226,6 +226,7 @@ files:
|
|
226
226
|
- lib/teodoro/leiaute/arquivo_s2306.rb
|
227
227
|
- lib/teodoro/leiaute/arquivo_s2399.rb
|
228
228
|
- lib/teodoro/leiaute/arquivo_s3000.rb
|
229
|
+
- lib/teodoro/leiaute_simplificado.rb
|
229
230
|
- lib/teodoro/obj.rb
|
230
231
|
- lib/teodoro/xml.rb
|
231
232
|
- lib/tipos_de_logradouro.json
|