remote_job_scraper 0.3.0 → 0.3.1

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: b880f59b8ef9959438e8025736371ee13b88ec7c
4
- data.tar.gz: a7e1aff1067ea8bdc33d79962cfe749c76c111b6
3
+ metadata.gz: 6ca6d4f176eab2834766c98dd7f560fe55d14d83
4
+ data.tar.gz: 402c7a833799d8da2a7ec72b0b0bd28a26f898ad
5
5
  SHA512:
6
- metadata.gz: 92d3ba352d3f42be0f4840cb95fb46521eda24fcc669697d4f1cb1882bc15435fbbc55e096adab99e11e61a20e9596231789fd735e719f4af576e3912ff1b6bf
7
- data.tar.gz: 980d533d890bd8ebc3ba2da1e69d9a951c98ce8290aea2a2b136919281d1e5bf1c11c4a8e0110e5cc595e75360ef86c4a9cd0a1cbafddc261791b020a6346568
6
+ metadata.gz: f068b6ef808a8d139694f0751286f8bafb08cf66829c1c6f1c06a0faa434b4838c4b5aa34cfd458a7ecf9280d09f6b7acd6205bb77d8e10466079a0f9bccaead
7
+ data.tar.gz: 3d5b4ed968cb1a0ac99a1062edf7be030d3241f303c02b2d25c3fc977878b7b6707ca6c8193bc10cf7ad71e57106a9a5ed0af382623074fa1951dd1e3f683cb9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- remote_job_scraper (0.2.0)
4
+ remote_job_scraper (0.3.0)
5
5
  nokogiri
6
6
  spreadsheet
7
7
  thor
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.
@@ -1,3 +1,3 @@
1
1
  module RemoteJobScraper
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -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])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_job_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Trojanowski