concurso_hub 0.2.1 → 0.2.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 +4 -4
- data/lib/concurso_hub/version.rb +1 -1
- data/src/infrastructure/parsers/pci_html_parser.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e8a279860e8744b1a765d18c786bf81d4f908f3bdae6d6807ccb315ce730dac
|
|
4
|
+
data.tar.gz: 31ec81930aa5ef5fca53c2005bd8e7d77268f91308885c5daa7dde8e8b07b6ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 208e51f7bd8b85e7f00b0a9fb2c7510e6c8aab9d99673504ad0590b15dfb7248573549228137d581b1867f697e587acfcd0fa8b6fb4ce74a2dfbee3e10d12932
|
|
7
|
+
data.tar.gz: 539cd19d1aa8ef812ef95c6bd9c9bc11360ece72ce87a958ab6392fd8c9b35a361de101c36e64f111b978bfd0c571500b2521727f87ce56a2d7f88f73f4fd981
|
data/lib/concurso_hub/version.rb
CHANGED
|
@@ -87,7 +87,7 @@ module Infrastructure
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
def build_concurso_encerrado(el)
|
|
90
|
-
link = el.css('div.ca > a
|
|
90
|
+
link = el.css('div.ca > a').first
|
|
91
91
|
return nil unless link
|
|
92
92
|
|
|
93
93
|
state = el.css('div.cc').first&.text&.strip || ''
|
|
@@ -106,7 +106,7 @@ module Infrastructure
|
|
|
106
106
|
)
|
|
107
107
|
end
|
|
108
108
|
def build_concurso(el, state)
|
|
109
|
-
link = el.css('div.ca > a
|
|
109
|
+
link = el.css('div.ca > a').first
|
|
110
110
|
return nil unless link
|
|
111
111
|
|
|
112
112
|
vagas, salario = parse_vagas_salario(el)
|