concurso_hub 0.2.0 → 0.2.1

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: d862e368ca3fee6f3eb30aec13a05c7d7d8c3f8a916930705b8748a6c9b98809
4
- data.tar.gz: fe41196d8f062c956a11ec298735d10a50bbdaf98d28259bce329b53cca228d3
3
+ metadata.gz: f99628e279ee08c6946acef5af57235d817ad60f21c34ea0c479f8d613ea72ca
4
+ data.tar.gz: fe45e6e0222417e0668f5919bb7cd489b1948a19a5ddae842636cc45c2e1e4b5
5
5
  SHA512:
6
- metadata.gz: 483e6ced5a46ebcae9fe1fe08b5fb16ab143e2243eb1b64c99c7daf4111c02407128ca99c34d4326e091a41a436a3ff6879b522524709f7f59678578279a7096
7
- data.tar.gz: d19697b45ec3c09e53367129d08ba2417cc936bad32e7bd012cb447e3709251d20706985765d96f558311861d935d91d2a22650aa3fa351c3b41d333bdfe1593
6
+ metadata.gz: c4ab516996fcb6e9db83f9c7cad653fcfe9bf1debf5afcc9da77631a512a779f90404749238a0392b6370ea0710478131be21f2881c5218f329b3d1d5bc12de7
7
+ data.tar.gz: 35f768dd828eb2d0adb259fb3e91896855c50f3fc82f4125a372224e607ff0cd2522f4e8a9be8070d8e9619b1da717bf829d9ade7424eaa3c7e9a06bcf824ebe
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ConcursoHub
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
@@ -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').first
90
+ link = el.css('div.ca > a[href^="/concurso/"]').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').first
109
+ link = el.css('div.ca > a[href^="/concurso/"]').first
110
110
  return nil unless link
111
111
 
112
112
  vagas, salario = parse_vagas_salario(el)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concurso_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felipe Longo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-22 00:00:00.000000000 Z
11
+ date: 2026-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri