myuniversaljobsmatch 0.1.2 → 0.1.3

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: 51b06cb74f5610ee5f670f9cc07b6a2092957dc5
4
- data.tar.gz: a692634d9a195f1a00f0ec3c9d80b4392f861750
3
+ metadata.gz: 29694a9fcbb11d33391e11e4067d9f0b9e4cf2cc
4
+ data.tar.gz: c8262b647bdd60c2e13f3283acb1e5532d7c1f75
5
5
  SHA512:
6
- metadata.gz: 79ca20c095f73204be96f10dd6b1d06d4c22ba62ebe016166adb10f77f0d29626f409a2f18d110584bb69d3f9ff1462847ef5fe56f1b321a3821dc5e85d8efbb
7
- data.tar.gz: f119fd90a9442fc23b5dff218e1af3cd3cf5d86915e254538de711b7bbb6bb548721299afc08a90d3702063ad99bc9d2a3265e18e316c9555fd8a9a68ad983d2
6
+ metadata.gz: 502ba0c9e77ce48f6a7c2ccbc7ecda778c822d2b68dd98575479853c2b7a7bd51f5cb5ea27c6536e645f7f50f8815657a92ce40752d3a1ca3caa1ff8e4bf24e2
7
+ data.tar.gz: e1f2cc9179eb1ceb086fc2148cdf8c87d3d829e249e96b44cc61c7ed52b8dc287acda44a24e58e06bf9dfad96436354fb90178e6648733cc87fa71faef16ab26
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -66,13 +66,15 @@ class MyUniversalJobsMatch
66
66
  url = @url_base + 'GetJob.aspx?JobID=' + id
67
67
  doc = Nokorexi.new(url).to_doc
68
68
  content = doc.root.at_css '.jobViewContent'
69
+ title = content.element('h2[2]/text()')
69
70
  description = content.element('div')
70
71
 
71
72
  raw_summary = doc.root.at_css('.jobViewSummary').xpath('dl/dd/text()')
72
73
  job_id, posting_date, company, location, industries, job_type = raw_summary
73
74
 
74
- fields = %i(job_id posting_date company location industries job_type description)
75
- Hash[fields.zip(raw_summary + [description])]
75
+ fields = %i(job_id posting_date company location industries job_type
76
+ title description)
77
+ Hash[fields.zip(raw_summary + [title, description])]
76
78
 
77
79
  end
78
80
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myuniversaljobsmatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  jHrZ/AIDgLLmudfb7i81aMDjHuqydLyQWygvDL1WkxEnWBYJGA+AKRmy2QwoEBlI
32
32
  knQ6nx6YBqnerg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-10-30 00:00:00.000000000 Z
34
+ date: 2015-10-31 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ��* ���]��Q�����тВ4�iu%2���H� �n�/(�\�E8�N���,(�������:�u����W�,<�F�������� ���I3S���T��!�qF倡Ŝ��Cp~�:\u5��˘��Xm�:������uÑ#���b"*iEC�@�ӂ�(�l�sx��yL�ai�2_aKG��}Z)�x���A�>f���i%1k4�V��ٙD�(n�g�t���['�[B�`�o�b �P��C�
1
+ ����tR�F�A�ſ�t�}���Y�P�����֫
2
+ �;���DM� »u��u��.���EL$�n2c�FY�I�i�~�K��b�? 6�^�IxjՎyh�J�C�?�S;��w {1n ��$�U*�a�1v�`���q^