jobs_chaser 0.2.6 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/config/sites.yml +29 -0
  3. data/lib/jobs_chaser.rb +1 -1
  4. metadata +2 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 262c0e8cda70c18ea36fa4719a8bd22ecbef3d610d9b3fb67bbff0bb5579f2c2
4
- data.tar.gz: 4870774002f24ff599b2248814d6d53e37e9fe5c9445c44c85b86849e2fc92e7
3
+ metadata.gz: 99b6e802e302e1029a01ec25786e0362e02eddad469c841726872b5a2631ec9a
4
+ data.tar.gz: 329099afccb40c56cdc0bcb188ed52df5d0ca1513918b54a97831c3427cdc539
5
5
  SHA512:
6
- metadata.gz: 627b57dc72d637335414a425676b4e15887b03591f8034f8fe269ee26387b921d19bf2da8f93275684f8ccc97e91e3ae33bd77815fa0eac61e558411bd5c7dd1
7
- data.tar.gz: 6b7aad2465accb7909852b59b4d76c2cc23d5631d704dc657591b86dd5646ae89b82cf07bba79125553367e3219a7b8cd9924e7cd30aa672484e46099ada8516
6
+ metadata.gz: b5a63af7c7d311c7e5ff9ffa0434c3004c5751407405d8b0e4deedfbec6fb00449451d59458d54c54791e98d0f192375870d01cc55643a4eec249167989bbd05
7
+ data.tar.gz: f27f752ff6cfd181038660d8794497d48bf0b3f6df5e270ba61bbf55ea48eacacda94883936ad98f00d1dcc8b426890b0ae41b409707ed1c136b00775d895082
data/config/sites.yml ADDED
@@ -0,0 +1,29 @@
1
+ sites:
2
+ "Remotive - Software Dev Jobs":
3
+ url: "https://remotive.com/api/remote-jobs?category=software-dev"
4
+ location: "candidate_required_location"
5
+ json_key: "jobs"
6
+ "Remotive - Ruby Jobs":
7
+ url: "https://remotive.com/api/remote-jobs?search=ruby"
8
+ location: "candidate_required_location"
9
+ json_key: "jobs"
10
+ "Remotive - Ruby on Rails Jobs":
11
+ url: "https://remotive.com/api/remote-jobs?search=ruby%20on%20rails"
12
+ location: "candidate_required_location"
13
+ json_key: "jobs"
14
+ "GetOnBrd - Ruby Jobs":
15
+ url: "https://www.getonbrd.com/api/v0/search/jobs?query=Ruby"
16
+ location: "candidate_required_location"
17
+ json_key: "data"
18
+ "GetOnBrd - Ruby on Rails Jobs":
19
+ url: "https://www.getonbrd.com/api/v0/search/jobs?query=Ruby%20on%20Rails"
20
+ location: "candidate_required_location"
21
+ json_key: "data"
22
+ "GetOnBrd - Python Jobs":
23
+ url: "https://www.getonbrd.com/api/v0/search/jobs?query=Python"
24
+ location: "candidate_required_location"
25
+ json_key: "data"
26
+ "GetOnBrd - Software Engineer Jobs":
27
+ url: "https://www.getonbrd.com/api/v0/search/jobs?query=Software%20Engineer"
28
+ location: "candidate_required_location"
29
+ json_key: "data"
data/lib/jobs_chaser.rb CHANGED
@@ -47,7 +47,7 @@ class JobsChaser
47
47
  rails_root = Rails.root
48
48
  else
49
49
  # Running outside a Rails project, use a fallback directory
50
- rails_root = Pathname.new(__FILE__).dirname.dirname
50
+ rails_root = Pathname.new(gem_root).parent.parent
51
51
  end
52
52
 
53
53
  output_path = rails_root.join('data', csv_filename)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jobs_chaser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sante Di Maio
@@ -86,20 +86,6 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: 0.14.1
89
- - !ruby/object:Gem::Dependency
90
- name: net-ping
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '3.0'
96
- type: :runtime
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '3.0'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: csv
105
91
  requirement: !ruby/object:Gem::Requirement
@@ -180,6 +166,7 @@ executables: []
180
166
  extensions: []
181
167
  extra_rdoc_files: []
182
168
  files:
169
+ - config/sites.yml
183
170
  - lib/api_clients/getonbrd_client.rb
184
171
  - lib/api_clients/remotive_client.rb
185
172
  - lib/filtering/job_filter.rb