remote_job_scraper 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -0
- data/lib/remote_job_scraper/version.rb +1 -1
- data/lib/support/spreadsheet_creator.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ca6d4f176eab2834766c98dd7f560fe55d14d83
|
4
|
+
data.tar.gz: 402c7a833799d8da2a7ec72b0b0bd28a26f898ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f068b6ef808a8d139694f0751286f8bafb08cf66829c1c6f1c06a0faa434b4838c4b5aa34cfd458a7ecf9280d09f6b7acd6205bb77d8e10466079a0f9bccaead
|
7
|
+
data.tar.gz: 3d5b4ed968cb1a0ac99a1062edf7be030d3241f303c02b2d25c3fc977878b7b6707ca6c8193bc10cf7ad71e57106a9a5ed0af382623074fa1951dd1e3f683cb9
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -24,6 +24,13 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
24
24
|
|
25
25
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
26
26
|
|
27
|
+
## Todo
|
28
|
+
|
29
|
+
* [] Set offer limit through config (processing RemoteOk is very slow)
|
30
|
+
* [] Get rid if of all `if ENV['RAILS_ENV'] == test`
|
31
|
+
* [] Grab more data e.g. Company name
|
32
|
+
* [] Unify columns for sites and add headers in CSV/Excel (region)
|
33
|
+
|
27
34
|
## Contributing
|
28
35
|
|
29
36
|
Bug reports and pull requests are welcome on GitHub at https://github.com/rafaltrojanowski/remote_job_scraper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
@@ -8,8 +8,11 @@ module Support
|
|
8
8
|
book = Spreadsheet::Workbook.new
|
9
9
|
|
10
10
|
dirnames.each_with_index do |dirname, index|
|
11
|
+
puts dirname
|
12
|
+
|
11
13
|
file = Dir.glob(dirname).first
|
12
14
|
sheet = book.create_worksheet name: dirname.split("/")[-2]
|
15
|
+
next if file.nil?
|
13
16
|
|
14
17
|
CSV.foreach(file).with_index(0) do |row, index|
|
15
18
|
sheet.row(index).push(*(Spreadsheet::Link.new row[0]), *row[1..-1])
|