remote_dev_jobs 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/bin/console +3 -0
- data/bin/remote_dev_jobs +11 -0
- data/lib/remote_dev_jobs.rb +8 -9
- data/lib/remote_dev_jobs/CLI.rb +0 -3
- data/lib/remote_dev_jobs/Job.rb +2 -2
- data/lib/remote_dev_jobs/{AuthenticScraper.rb → authentic_scraper.rb} +0 -0
- data/lib/remote_dev_jobs/{FlexJobsScraper.rb → flex_jobs_scraper.rb} +0 -0
- data/lib/remote_dev_jobs/general_scraper.rb +9 -0
- data/lib/remote_dev_jobs/{StackScraper.rb → stack_scraper.rb} +1 -1
- data/lib/remote_dev_jobs/version.rb +1 -1
- data/lib/remote_dev_jobs/{WeWorkRemotelyScraper.rb → we_work_remotely_scraper.rb} +3 -1
- data/remote_dev_jobs-0.2.1.gem +0 -0
- data/remote_dev_jobs.gemspec +2 -2
- metadata +11 -9
- data/bin/run +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17e1c2a5aeed8f66266f6deda867879479cd5651
|
4
|
+
data.tar.gz: 08b9d56e610c10e8f8bfad936cd246c7cf0b2c38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9fbc8c8ef8821b6bf1b6e16804a3669f4fe248ed93450a4b9e31efee4194c8e7f326d51bd540990a73dfbab577c07b403feb9b7e4a14250a7baa502e4c725ec
|
7
|
+
data.tar.gz: ccb26355e9d533dfab04d1b3a979f5de05d5e2bd94cf8cc8023c3033c303ca1ecb1fe3434ecc5eed34339776f53fe62930ad8ce5f0125c501e2f288c9eeb6795
|
data/Gemfile
CHANGED
data/bin/console
CHANGED
data/bin/remote_dev_jobs
ADDED
data/lib/remote_dev_jobs.rb
CHANGED
@@ -5,16 +5,15 @@ module RemoteDevJobs
|
|
5
5
|
|
6
6
|
end
|
7
7
|
|
8
|
-
require 'remote_dev_jobs/
|
9
|
-
require 'remote_dev_jobs/
|
10
|
-
require 'remote_dev_jobs/
|
11
|
-
require 'remote_dev_jobs/
|
12
|
-
require 'remote_dev_jobs/
|
13
|
-
require 'remote_dev_jobs/
|
8
|
+
require 'remote_dev_jobs/cli.rb'
|
9
|
+
require 'remote_dev_jobs/launch.rb'
|
10
|
+
require 'remote_dev_jobs/job.rb'
|
11
|
+
require 'remote_dev_jobs/authentic_scraper.rb'
|
12
|
+
require 'remote_dev_jobs/flex_jobs_scraper.rb'
|
13
|
+
require 'remote_dev_jobs/stack_scraper.rb'
|
14
14
|
require 'remote_dev_jobs/version.rb'
|
15
|
-
require 'remote_dev_jobs/
|
15
|
+
require 'remote_dev_jobs/we_work_remotely_scraper.rb'
|
16
|
+
require 'remote_dev_jobs/general_scraper.rb'
|
16
17
|
|
17
|
-
# require 'require_all'
|
18
|
-
# require_all 'lib'
|
19
18
|
|
20
19
|
|
data/lib/remote_dev_jobs/CLI.rb
CHANGED
@@ -22,8 +22,6 @@ class RemoteDevJobs::CLI
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def display_jobs
|
25
|
-
color_codes = [39, "31", "32", "33", "34", "35", "36", "37", "91", "92", "93", "94", "95", "96"]
|
26
|
-
i = 0
|
27
25
|
Job.all.each do |job|
|
28
26
|
puts "\e[32m#{job.number}."
|
29
27
|
puts "\n\e[34m#{job.company}:" if job.company
|
@@ -34,7 +32,6 @@ class RemoteDevJobs::CLI
|
|
34
32
|
end
|
35
33
|
puts " \e[37mSeniority: #{job.seniority}" if job.seniority
|
36
34
|
puts "\n\e[32m#{'#' * 20}\n"
|
37
|
-
i += 1
|
38
35
|
end
|
39
36
|
end
|
40
37
|
|
data/lib/remote_dev_jobs/Job.rb
CHANGED
File without changes
|
File without changes
|
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'nokogiri'
|
2
2
|
require 'open-uri'
|
3
|
+
require 'general_scraper'
|
3
4
|
|
4
|
-
class RemoteDevJobs::Launch::WeWorkRemotelyScraper
|
5
|
+
class RemoteDevJobs::Launch::WeWorkRemotelyScraper < GeneralScraper
|
6
|
+
|
5
7
|
def self.scrape_job_list
|
6
8
|
data = Nokogiri::HTML(open("https://weworkremotely.com/categories/2-programming/jobs#intro"))
|
7
9
|
base = "https://weworkremotely.com"
|
Binary file
|
data/remote_dev_jobs.gemspec
CHANGED
@@ -24,13 +24,13 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
26
|
spec.bindir = "bin"
|
27
|
-
spec.executables = ["
|
27
|
+
spec.executables = ["remote_dev_jobs"]
|
28
28
|
spec.require_paths = ["lib", "lib/remote_dev_jobs"]
|
29
29
|
|
30
30
|
spec.add_development_dependency "bundler", "~> 1.10"
|
31
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
32
32
|
spec.add_development_dependency 'pry', '~> 0'
|
33
|
-
spec.
|
33
|
+
spec.add_dependency 'require_all'
|
34
34
|
spec.add_development_dependency 'nokogiri'
|
35
35
|
spec.add_development_dependency 'launchy'
|
36
36
|
spec.add_development_dependency 'rspec'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_dev_jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Goldberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
-
type: :
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
@@ -112,7 +112,7 @@ description: This gem searches several sites for remote web development position
|
|
112
112
|
email:
|
113
113
|
- seth@jsgold.co
|
114
114
|
executables:
|
115
|
-
-
|
115
|
+
- remote_dev_jobs
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
@@ -124,18 +124,20 @@ files:
|
|
124
124
|
- README.md
|
125
125
|
- Rakefile
|
126
126
|
- bin/console
|
127
|
-
- bin/
|
127
|
+
- bin/remote_dev_jobs
|
128
128
|
- bin/setup
|
129
129
|
- lib/remote_dev_jobs.rb
|
130
|
-
- lib/remote_dev_jobs/AuthenticScraper.rb
|
131
130
|
- lib/remote_dev_jobs/CLI.rb
|
132
|
-
- lib/remote_dev_jobs/FlexJobsScraper.rb
|
133
131
|
- lib/remote_dev_jobs/Job.rb
|
134
132
|
- lib/remote_dev_jobs/Launch.rb
|
135
|
-
- lib/remote_dev_jobs/
|
136
|
-
- lib/remote_dev_jobs/
|
133
|
+
- lib/remote_dev_jobs/authentic_scraper.rb
|
134
|
+
- lib/remote_dev_jobs/flex_jobs_scraper.rb
|
135
|
+
- lib/remote_dev_jobs/general_scraper.rb
|
136
|
+
- lib/remote_dev_jobs/stack_scraper.rb
|
137
137
|
- lib/remote_dev_jobs/version.rb
|
138
|
+
- lib/remote_dev_jobs/we_work_remotely_scraper.rb
|
138
139
|
- remote_dev_jobs-0.2.0.gem
|
140
|
+
- remote_dev_jobs-0.2.1.gem
|
139
141
|
- remote_dev_jobs.gemspec
|
140
142
|
homepage: https://github.com/jsgoldb/remote-dev-jobs-cli-gem.git
|
141
143
|
licenses:
|