remote_dev_jobs 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +3 -0
- data/README.md +41 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/run +10 -0
- data/bin/setup +7 -0
- data/lib/remote_dev_jobs/AuthenticScraper.rb +30 -0
- data/lib/remote_dev_jobs/CLI.rb +84 -0
- data/lib/remote_dev_jobs/FlexJobsScraper.rb +29 -0
- data/lib/remote_dev_jobs/Job.rb +41 -0
- data/lib/remote_dev_jobs/Launch.rb +72 -0
- data/lib/remote_dev_jobs/StackScraper.rb +33 -0
- data/lib/remote_dev_jobs/WeWorkRemotelyScraper.rb +31 -0
- data/lib/remote_dev_jobs/version.rb +3 -0
- data/lib/remote_dev_jobs.rb +20 -0
- data/remote_dev_jobs-0.2.0.gem +0 -0
- data/remote_dev_jobs.gemspec +37 -0
- metadata +167 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fc7566fb35977a4914212eb9de77babe38f9d85a
|
4
|
+
data.tar.gz: 25ad3db3b3e99a6cb84d95e8dfb09d725775ea66
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e181d7f22de7137367a20483e4686e4af30f7b3d1487f9c79f960363142fa877e73fb3748d590ade8d0203d964339e2215794d8fba6addc192fbdb7a52b0872f
|
7
|
+
data.tar.gz: e2de89abdeb2ff6517030467fe6dc8bca7738a591da025130f545c524624a6031959774ab5d3728b3a671db15424d5623ebc75a1b0cf29fc2ddfd36fb48d75ea
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# RemoteDevJobs
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/remote_dev_jobs`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'remote_dev_jobs'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install remote_dev_jobs
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
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).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/remote_dev_jobs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "remote_dev_jobs"
|
5
|
+
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/run
ADDED
data/bin/setup
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
require 'open-uri'
|
3
|
+
class RemoteDevJobs::Launch::AuthenticScraper
|
4
|
+
def self.scrape_job_list
|
5
|
+
data = Nokogiri::HTML(open("https://authenticjobs.com/#types=7,1,5,4&onlyremote=1"))
|
6
|
+
base = "https://authenticjobs.com"
|
7
|
+
data.css("div#listings-wrapper li").map do |job|
|
8
|
+
job_link = URI.join(base, job.css("a").attribute('href').value.to_s)
|
9
|
+
job_hash = {
|
10
|
+
company: job.css("div.role h4").text,
|
11
|
+
location: job.css("span.location").text,
|
12
|
+
position: job.css("div.role h3").text,
|
13
|
+
seniority: nil,
|
14
|
+
job_url: job_link
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.scrape_job_page(job_url)
|
20
|
+
data = Nokogiri::HTML(open(job_url))
|
21
|
+
company_site = data.css("div.title a")
|
22
|
+
company_site.empty? ? company_site = "Not listed." : company_site = company_site.attribute("href").value.to_s
|
23
|
+
attributes = {
|
24
|
+
description: data.css("div.role section#description p").text,
|
25
|
+
company_site: company_site
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require 'launchy'
|
2
|
+
|
3
|
+
class RemoteDevJobs::CLI
|
4
|
+
|
5
|
+
def run(site_class)
|
6
|
+
make_jobs(site_class)
|
7
|
+
add_attributes_to_jobs(site_class)
|
8
|
+
display_jobs
|
9
|
+
show_job_info
|
10
|
+
end
|
11
|
+
|
12
|
+
def make_jobs(site_class)
|
13
|
+
jobs_array = site_class.scrape_job_list
|
14
|
+
Job.create_from_collection(jobs_array)
|
15
|
+
end
|
16
|
+
|
17
|
+
def add_attributes_to_jobs(site_class)
|
18
|
+
Job.all.each do |job|
|
19
|
+
attributes = site_class.scrape_job_page(job.job_url)
|
20
|
+
job.add_job_attributes(attributes)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
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
|
+
Job.all.each do |job|
|
28
|
+
puts "\e[32m#{job.number}."
|
29
|
+
puts "\n\e[34m#{job.company}:" if job.company
|
30
|
+
puts " \e[91m#{job.position}"
|
31
|
+
puts " \e[92m#{job.location}"
|
32
|
+
if job.company == nil
|
33
|
+
puts "\n \e[37m#{job.description}"
|
34
|
+
end
|
35
|
+
puts " \e[37mSeniority: #{job.seniority}" if job.seniority
|
36
|
+
puts "\n\e[32m#{'#' * 20}\n"
|
37
|
+
i += 1
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def show_job_info
|
42
|
+
choice = 'X'
|
43
|
+
puts "\n\n\e[33m#{Job.all.count} jobs found! Scroll up to view them all.\e[0m"
|
44
|
+
puts "\nIf you would like to see more information about a job,"
|
45
|
+
puts "here are your options:"
|
46
|
+
puts "\n(Options 1 and 3 not available for FlexJobs)"
|
47
|
+
puts "\n\e[32m1.\e[37m To see a description of the company and position,"
|
48
|
+
puts " please type the number of the company:"
|
49
|
+
puts ""
|
50
|
+
puts "\e[32m2.\e[37m To visit the job page, type the number of the"
|
51
|
+
puts " company, followed by 'job page':"
|
52
|
+
puts ""
|
53
|
+
puts "\e[32m3.\e[37m To visit the company website, type the number of the"
|
54
|
+
puts " company, followed by 'site':"
|
55
|
+
puts "(Type exit if you would like to exit to the main menu)"
|
56
|
+
while choice != 'exit'
|
57
|
+
choice = STDIN.gets.chomp
|
58
|
+
already_opened = nil
|
59
|
+
Job.all.each do |job|
|
60
|
+
if job.number.to_s == choice && job.company
|
61
|
+
10.times do puts "" end
|
62
|
+
puts "\e[91mDescription:"
|
63
|
+
puts "\n \e[37m#{job.description}"
|
64
|
+
if job.company_site
|
65
|
+
puts "\n\e[91mCompany Website:"
|
66
|
+
puts "\n \e[37m#{job.company_site}"
|
67
|
+
end
|
68
|
+
puts "\n(You may need to scroll up to see the menu again.)"
|
69
|
+
elsif "#{job.number} job page" == choice
|
70
|
+
Launchy.open("#{job.job_url}")
|
71
|
+
elsif "#{job.number} site" == choice && job.company && already_opened == nil
|
72
|
+
if job.company_site != "Not listed."
|
73
|
+
Launchy.open("#{job.company_site}")
|
74
|
+
already_opened = "yep"
|
75
|
+
elsif job.company_site == nil
|
76
|
+
puts "\n\nWe're sorry, we can't access the company's website."
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
84
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
require 'open-uri'
|
3
|
+
|
4
|
+
class RemoteDevJobs::Launch::FlexJobsScraper
|
5
|
+
def self.scrape_job_list
|
6
|
+
data = Nokogiri::HTML(open("https://www.flexjobs.com/search?accolade=&career_level=Entry-Level&cats%5B%5D=38&country=&exclude=&location=&search=&tele_level=Any+Level+of+Telecommuting&will_travel="))
|
7
|
+
base = "https://www.flexjobs.com"
|
8
|
+
data.css("li.list-group-item").map do |job|
|
9
|
+
if job.css("h5 a").empty? == false
|
10
|
+
job_link = URI.join(base, job.css("h5 a").attribute("href").value)
|
11
|
+
job_hash = {
|
12
|
+
company: nil,
|
13
|
+
location: job.css("p.job-type-info").text,
|
14
|
+
position: job.css("h5 a").text,
|
15
|
+
seniority: nil,
|
16
|
+
job_url: job_link
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.scrape_job_page(job_url)
|
23
|
+
data = Nokogiri::HTML(open(job_url))
|
24
|
+
attributes = {
|
25
|
+
description: data.css("div#job-description p").text,
|
26
|
+
company_site: nil
|
27
|
+
}
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
|
2
|
+
class RemoteDevJobs::CLI::Job
|
3
|
+
attr_accessor :company, :location, :position, :description, :job_url, :seniority, :company_site, :number
|
4
|
+
|
5
|
+
@@all = []
|
6
|
+
|
7
|
+
def initialize(job_hash)
|
8
|
+
job_hash.each do |attr, value|
|
9
|
+
self.send("#{attr}=", value)
|
10
|
+
end
|
11
|
+
@@all << self
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.create_from_collection(jobs_array)
|
15
|
+
jobs_array.each_with_index do |job, index|
|
16
|
+
if job
|
17
|
+
job_hash = {
|
18
|
+
number: index + 1,
|
19
|
+
company: job[:company],
|
20
|
+
location: job[:location],
|
21
|
+
position: job[:position],
|
22
|
+
seniority: job[:seniority],
|
23
|
+
job_url: job[:job_url]
|
24
|
+
}
|
25
|
+
self.new(job_hash)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def add_job_attributes(attributes_hash)
|
31
|
+
attributes_hash.each do |attr, value|
|
32
|
+
self.send("#{attr}=", value)
|
33
|
+
end
|
34
|
+
self
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.all
|
38
|
+
@@all
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
|
2
|
+
class RemoteDevJobs::Launch
|
3
|
+
|
4
|
+
def self.logo
|
5
|
+
puts "\e[32m$%$%$% $%$%$% $% %$ $% $%$%$% $%$%$%"
|
6
|
+
puts "\e[32m% % % $% %$ % % $% $ "
|
7
|
+
puts "\e[32m$$%$%$ $%$%$% %$ $% $ $ %$ %$%$%$"
|
8
|
+
puts "\e[32m% % % % $% $ % % $% $ "
|
9
|
+
puts "\e[32m$ $ $ % % $ $ %$ % "
|
10
|
+
puts "\e[32m% % %$%$%$ $ $ %$ $% $$%$%$"
|
11
|
+
puts ""
|
12
|
+
puts "\e[32m $%$%$% $% $%$%$% $%$%$% "
|
13
|
+
puts "\e[32m $% % % $% $ % "
|
14
|
+
puts "\e[32m $% $ $ $$%$%$ $%$%$% "
|
15
|
+
puts "\e[32m %$ % % $% % $ "
|
16
|
+
puts "\e[32m $% % $ $% $ % "
|
17
|
+
puts "\e[32m $%%$% %$ %$%$%$ %$%$%$ "
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.search_options
|
21
|
+
3.times do puts '' end
|
22
|
+
self.logo
|
23
|
+
2.times do puts "" end
|
24
|
+
puts "\e[0mHello and welcome to Remote Jobs! We help you to find remote web"
|
25
|
+
puts "development positions, with seniority level when possible."
|
26
|
+
puts ""
|
27
|
+
puts "To begin, please select the jobs site you would like to search"
|
28
|
+
puts "by selecting the number of the site in the following list:"
|
29
|
+
puts "(If you would like to exit, please type exit.)"
|
30
|
+
puts ""
|
31
|
+
puts "\e[32m1.\e[37m Stack Overflow Careers (Seniority level shown)"
|
32
|
+
puts "\e[32m2.\e[37m Authentic Jobs"
|
33
|
+
puts "\e[32m3.\e[37m We Work Remotely (100% Remote Jobs)"
|
34
|
+
puts "\e[32m4.\e[37m FlexJobs (Entry-level focus, company name requires login)"
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.wait_message
|
38
|
+
puts "Searching the site... this will take a moment."
|
39
|
+
puts "Thank you for your patience."
|
40
|
+
end
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
def self.sitemenu
|
45
|
+
input = 'X'
|
46
|
+
while input != 'exit'
|
47
|
+
input = STDIN.gets.chomp
|
48
|
+
if input == '1'
|
49
|
+
wait_message
|
50
|
+
RemoteDevJobs::CLI.new.run(StackScraper)
|
51
|
+
search_options
|
52
|
+
elsif input == '2'
|
53
|
+
wait_message
|
54
|
+
RemoteDevJobs::CLI.new.run(AuthenticScraper)
|
55
|
+
search_options
|
56
|
+
elsif input == '3'
|
57
|
+
wait_message
|
58
|
+
RemoteDevJobs::CLI.new.run(WeWorkRemotelyScraper)
|
59
|
+
search_options
|
60
|
+
elsif input == '4'
|
61
|
+
wait_message
|
62
|
+
RemoteDevJobs::CLI.new.run(FlexJobsScraper)
|
63
|
+
search_options
|
64
|
+
elsif input == 'exit'
|
65
|
+
'do nothing'
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
require 'open-uri'
|
3
|
+
|
4
|
+
|
5
|
+
class RemoteDevJobs::Launch::StackScraper
|
6
|
+
def self.scrape_job_list
|
7
|
+
data = Nokogiri::HTML(open("http://careers.stackoverflow.com/jobs?searchTerm=junior&allowsremote=true"))
|
8
|
+
base = "http://careers.stackoverflow.com"
|
9
|
+
data.css("div.-item.-job").map do |job|
|
10
|
+
job_link = URI.join(base, job.css("h1 .job-link").attribute('href').value.to_s)
|
11
|
+
job_page = Nokogiri::HTML(open("#{job_link}"))
|
12
|
+
seniority = job_page.css("li.seniority").text
|
13
|
+
seniority.empty? ? seniority = nil : seniority = seniority.split("\r\n")[1].split(" ").join(" ")
|
14
|
+
job_hash = {
|
15
|
+
company: job.css("ul li.employer").text.split("\r")[1].split(" ").join(" "),
|
16
|
+
location: job.css("ul li.location").text.split("\r\n")[1].split(" ").join(" "),
|
17
|
+
position: job.css("a.job-link").attribute("title").value,
|
18
|
+
seniority: seniority,
|
19
|
+
job_url: job_link
|
20
|
+
}
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.scrape_job_page(job_url)
|
25
|
+
data = Nokogiri::HTML(open(job_url))
|
26
|
+
company_site = data.css("a.employer.up-and-out")
|
27
|
+
company_site.empty? ? company_site = "Not listed." : company_site = company_site.attribute("href").value.to_s
|
28
|
+
attributes = {
|
29
|
+
description: data.css("div.description p").text,
|
30
|
+
company_site: company_site
|
31
|
+
}
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
require 'open-uri'
|
3
|
+
|
4
|
+
class RemoteDevJobs::Launch::WeWorkRemotelyScraper
|
5
|
+
def self.scrape_job_list
|
6
|
+
data = Nokogiri::HTML(open("https://weworkremotely.com/categories/2-programming/jobs#intro"))
|
7
|
+
base = "https://weworkremotely.com"
|
8
|
+
data.css("li").map do |job|
|
9
|
+
job_link = URI.join(base, job.css("a").attribute("href").value)
|
10
|
+
job_hash = {
|
11
|
+
company: job.css("a span.company").text,
|
12
|
+
location: nil,
|
13
|
+
position: job.css("a span.title").text,
|
14
|
+
seniority: nil,
|
15
|
+
job_url: job_link
|
16
|
+
}
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.scrape_job_page(job_url)
|
21
|
+
data = Nokogiri::HTML(open(job_url))
|
22
|
+
company_site = data.css("h2 a")
|
23
|
+
company_site.empty? ? company_site = "Not listed." : company_site = company_site.attribute("href").value
|
24
|
+
attributes = {
|
25
|
+
description: data.css("div.listing-container").text.gsub(/[\n\r]/,""),
|
26
|
+
company_site: company_site
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
|
31
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
module RemoteDevJobs
|
5
|
+
|
6
|
+
end
|
7
|
+
|
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/AuthenticScraper.rb'
|
12
|
+
require 'remote_dev_jobs/FlexJobsScraper.rb'
|
13
|
+
require 'remote_dev_jobs/StackScraper.rb'
|
14
|
+
require 'remote_dev_jobs/version.rb'
|
15
|
+
require 'remote_dev_jobs/WeWorkRemotelyScraper.rb'
|
16
|
+
|
17
|
+
# require 'require_all'
|
18
|
+
# require_all 'lib'
|
19
|
+
|
20
|
+
|
Binary file
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'remote_dev_jobs/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "remote_dev_jobs"
|
8
|
+
spec.version = RemoteDevJobs::VERSION
|
9
|
+
spec.authors = ["Seth Goldberg"]
|
10
|
+
spec.email = ["seth@jsgold.co"]
|
11
|
+
|
12
|
+
spec.summary = %q{A Ruby gem for finding remote web developer jobs.}
|
13
|
+
spec.description = %q{This gem searches several sites for remote web development positions.}
|
14
|
+
spec.homepage = "https://github.com/jsgoldb/remote-dev-jobs-cli-gem.git"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "bin"
|
27
|
+
spec.executables = ["run"]
|
28
|
+
spec.require_paths = ["lib", "lib/remote_dev_jobs"]
|
29
|
+
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
31
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
+
spec.add_development_dependency 'pry', '~> 0'
|
33
|
+
spec.add_development_dependency 'require_all'
|
34
|
+
spec.add_development_dependency 'nokogiri'
|
35
|
+
spec.add_development_dependency 'launchy'
|
36
|
+
spec.add_development_dependency 'rspec'
|
37
|
+
end
|
metadata
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: remote_dev_jobs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Seth Goldberg
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: require_all
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: nokogiri
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: launchy
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: This gem searches several sites for remote web development positions.
|
112
|
+
email:
|
113
|
+
- seth@jsgold.co
|
114
|
+
executables:
|
115
|
+
- run
|
116
|
+
extensions: []
|
117
|
+
extra_rdoc_files: []
|
118
|
+
files:
|
119
|
+
- ".gitignore"
|
120
|
+
- ".travis.yml"
|
121
|
+
- CODE_OF_CONDUCT.md
|
122
|
+
- Gemfile
|
123
|
+
- LICENSE.txt
|
124
|
+
- README.md
|
125
|
+
- Rakefile
|
126
|
+
- bin/console
|
127
|
+
- bin/run
|
128
|
+
- bin/setup
|
129
|
+
- lib/remote_dev_jobs.rb
|
130
|
+
- lib/remote_dev_jobs/AuthenticScraper.rb
|
131
|
+
- lib/remote_dev_jobs/CLI.rb
|
132
|
+
- lib/remote_dev_jobs/FlexJobsScraper.rb
|
133
|
+
- lib/remote_dev_jobs/Job.rb
|
134
|
+
- lib/remote_dev_jobs/Launch.rb
|
135
|
+
- lib/remote_dev_jobs/StackScraper.rb
|
136
|
+
- lib/remote_dev_jobs/WeWorkRemotelyScraper.rb
|
137
|
+
- lib/remote_dev_jobs/version.rb
|
138
|
+
- remote_dev_jobs-0.2.0.gem
|
139
|
+
- remote_dev_jobs.gemspec
|
140
|
+
homepage: https://github.com/jsgoldb/remote-dev-jobs-cli-gem.git
|
141
|
+
licenses:
|
142
|
+
- MIT
|
143
|
+
metadata:
|
144
|
+
allowed_push_host: https://rubygems.org
|
145
|
+
post_install_message:
|
146
|
+
rdoc_options: []
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
- lib/remote_dev_jobs
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
requirements: []
|
161
|
+
rubyforge_project:
|
162
|
+
rubygems_version: 2.4.5.1
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: A Ruby gem for finding remote web developer jobs.
|
166
|
+
test_files: []
|
167
|
+
has_rdoc:
|