jobs_chaser 0.2.7 → 0.2.8

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.
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 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 460dbf24ba546ee912f471b554f2066469ba6797f50ad0894591f955428e652e
4
- data.tar.gz: 672c6be5f26707b77f9b184bd0ed4179b7192264f6aa0ad4a7fc49bb4b9d2ad4
3
+ metadata.gz: 99b6e802e302e1029a01ec25786e0362e02eddad469c841726872b5a2631ec9a
4
+ data.tar.gz: 329099afccb40c56cdc0bcb188ed52df5d0ca1513918b54a97831c3427cdc539
5
5
  SHA512:
6
- metadata.gz: 7e706e3bc8650e2c25f549f15e25a862c8d099cf09bd29d33d78192e53de7d07ea05e1909b60a1fe7590ebdce0b353fc044e8fab3fca2b3d56aaf3d042382c59
7
- data.tar.gz: 26dfb80ac9c888b3cda80f18f52e476f8657b5ed365b50d51e6f42d7aebff60053a23e24d5b0eea942ceb766e798e37f86026ab1c286a1315710dbb08ab8a191
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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sante Di Maio
@@ -166,6 +166,7 @@ executables: []
166
166
  extensions: []
167
167
  extra_rdoc_files: []
168
168
  files:
169
+ - config/sites.yml
169
170
  - lib/api_clients/getonbrd_client.rb
170
171
  - lib/api_clients/remotive_client.rb
171
172
  - lib/filtering/job_filter.rb