indeedparser 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 3a90f10ed67715bdfed34bb9cbfa3646ba57ac62
4
- data.tar.gz: f39cb18acafcd7551b1c9b87d0212ab2268501fa
3
+ metadata.gz: bba7d99fe837e9f469caf99adbf808e803d01761
4
+ data.tar.gz: 2e109715904ed5dda0f86189b5c9feb98364b070
5
5
  SHA512:
6
- metadata.gz: e8c51eb95c53c7f43d1f32be500ed474eeb6257ed5c79e025880411a58fa141f3e60c485014de39567a5e8f34f909e4668b21b176b283feace2903e3415b238a
7
- data.tar.gz: 78b7a1b47d6b401f32510868c39f99a974217a995a0cd08ff4f2c764de3c5ec9b3521a21fe20d84c25f2c133df92bdcebcdd1d7b164de9b62c5abdb44cab244e
6
+ metadata.gz: 0c77a2738587a30961d7030fd1149d23cbed7a058ecff33790a0859d8a74599c05b5edcb94f6871b1d860be537091ef8a4f1f15a0240604e7861d880394ce6d9
7
+ data.tar.gz: 43adfddfe845c53745dbf22c04b7dfb8f8ffe04b787623f02bca041d355f48dd18a06abfc2dbaae61fb4de82b278fb4b0bd5a3411a914ee32d9f7dbd8bdb9401
data/lib/indeed_awards.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedAwards
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  awards = html.xpath("//div[contains(concat(' ',normalize-space(@class),' '),' award-section ')]")
8
8
  @award_list = Array.new
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedCertifications
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  certifications = html.xpath("//div[contains(concat(' ',normalize-space(@class),' '),' certification-section ')]")
8
8
  @certification_list = Array.new
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedDegrees
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  degrees = html.xpath("//div[@itemtype='http://schema.org/EducationalOrganization']")
8
8
  @degree_list = Array.new
data/lib/indeed_groups.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedGroups
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  groups = html.xpath("//div[contains(concat(' ',normalize-space(@class),' '),' group-section ')]")
8
8
  @group_list = Array.new
data/lib/indeed_jobs.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedJobs
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  @html = Nokogiri::HTML(html)
8
8
 
data/lib/indeed_links.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedLinks
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  links = html.xpath("//div[contains(concat(' ',normalize-space(@class),' '),' link-section ')]")
8
8
  @link_list = Array.new
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedMilitaryService
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  military_items = html.xpath("//div[contains(concat(' ',normalize-space(@class),' '),' military-section ')]")
8
8
  @military_service = Array.new
@@ -1,8 +1,8 @@
1
1
  require 'nokogiri'
2
- load 'utilities.rb'
2
+ load 'indeed_utilities.rb'
3
3
 
4
4
  class IndeedRecPeople
5
- include Utilities
5
+ include IndeedUtilities
6
6
  def initialize(html)
7
7
  rec_people = html.css(".rec_resume")
8
8
  @rec_people_list = Array.new
@@ -1,6 +1,6 @@
1
1
  require 'date'
2
2
 
3
- module Utilities
3
+ module IndeedUtilities
4
4
  # Parse dates
5
5
  def parse_dates(dates)
6
6
  start_date, end_date = dates
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indeedparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. C. McGrath
@@ -25,8 +25,8 @@ files:
25
25
  - lib/indeed_military_service.rb
26
26
  - lib/indeed_personal_info.rb
27
27
  - lib/indeed_rec_people.rb
28
+ - lib/indeed_utilities.rb
28
29
  - lib/indeedparser.rb
29
- - lib/utilities.rb
30
30
  homepage: https://github.com/TransparencyToolkit/indeedparser
31
31
  licenses:
32
32
  - GPL