volunteer_match 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +58 -0
- data/LICENSE.txt +21 -0
- data/README.md +38 -0
- data/Rakefile +2 -0
- data/bin/console +19 -0
- data/bin/setup +8 -0
- data/bin/start +7 -0
- data/lib/VolunteerMatch.rb +11 -0
- data/lib/volunteer_match/CLI.rb +133 -0
- data/lib/volunteer_match/opportunity.rb +22 -0
- data/lib/volunteer_match/scrape.rb +27 -0
- data/lib/volunteer_match/version.rb +3 -0
- data/volunteer_match.gemspec +29 -0
- metadata +142 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 647b8fb611b4a6dfde7ef2e4a7af7c415479ec95cea317117dbaa426f261e693
|
4
|
+
data.tar.gz: ce646b6858928099b7c1154406ebf830130206c3af5ff0cc86a21d4ae460d346
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f688a26aa1df588266723f7ae73645ab00b4205272884b875cf5f843c614db73e394cc888a71d3695ffe3e0a13cec408955597a850268645da47f1b7230edee3
|
7
|
+
data.tar.gz: a07c83568e334634808bd4d296bcb153c947067fe69fecaeb8e62fc9119d6cc0d1527749ed3931ed2f3f95cc853c5d842ce4d6deb38e8b9de05bc2704898dab3
|
data/.gitignore
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at oglesbyanthony88@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
VolunteerMatch (0.1.0)
|
5
|
+
mechanize
|
6
|
+
nokogiri
|
7
|
+
zip-codes
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
coderay (1.1.2)
|
13
|
+
connection_pool (2.2.2)
|
14
|
+
domain_name (0.5.20190701)
|
15
|
+
unf (>= 0.0.5, < 1.0.0)
|
16
|
+
http-cookie (1.0.3)
|
17
|
+
domain_name (~> 0.5)
|
18
|
+
mechanize (2.7.6)
|
19
|
+
domain_name (~> 0.5, >= 0.5.1)
|
20
|
+
http-cookie (~> 1.0)
|
21
|
+
mime-types (>= 1.17.2)
|
22
|
+
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
23
|
+
net-http-persistent (>= 2.5.2)
|
24
|
+
nokogiri (~> 1.6)
|
25
|
+
ntlm-http (~> 0.1, >= 0.1.1)
|
26
|
+
webrobots (>= 0.0.9, < 0.2)
|
27
|
+
method_source (0.9.2)
|
28
|
+
mime-types (3.3)
|
29
|
+
mime-types-data (~> 3.2015)
|
30
|
+
mime-types-data (3.2019.1009)
|
31
|
+
mini_portile2 (2.4.0)
|
32
|
+
net-http-digest_auth (1.4.1)
|
33
|
+
net-http-persistent (3.1.0)
|
34
|
+
connection_pool (~> 2.2)
|
35
|
+
nokogiri (1.10.7)
|
36
|
+
mini_portile2 (~> 2.4.0)
|
37
|
+
ntlm-http (0.1.1)
|
38
|
+
pry (0.12.2)
|
39
|
+
coderay (~> 1.1.0)
|
40
|
+
method_source (~> 0.9.0)
|
41
|
+
rake (10.5.0)
|
42
|
+
unf (0.1.4)
|
43
|
+
unf_ext
|
44
|
+
unf_ext (0.0.7.6)
|
45
|
+
webrobots (0.1.2)
|
46
|
+
zip-codes (0.2.1)
|
47
|
+
|
48
|
+
PLATFORMS
|
49
|
+
ruby
|
50
|
+
|
51
|
+
DEPENDENCIES
|
52
|
+
VolunteerMatch!
|
53
|
+
bundler (~> 2.0)
|
54
|
+
pry
|
55
|
+
rake (~> 10.0)
|
56
|
+
|
57
|
+
BUNDLED WITH
|
58
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Anthony Oglesby
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# VolunteerMatch
|
2
|
+
|
3
|
+
This Ruby Gem is my first project for Flatiron Schools Software Engineering Bootcamp.
|
4
|
+
|
5
|
+
VolunteerMatch scrapes data, using Nokogiri, from the website Volunteermatch.com. After the user enters a zip code the program will then scrape local volunteer opportunities, and any information related to those opportunities.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'VolunteerMatch'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install VolunteerMatch
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
## Development
|
26
|
+
|
27
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
28
|
+
|
29
|
+
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).
|
30
|
+
|
31
|
+
|
32
|
+
## License
|
33
|
+
|
34
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
35
|
+
|
36
|
+
## Code of Conduct
|
37
|
+
|
38
|
+
Everyone interacting in the VolunteerMatch project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/VolunteerMatch/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "VolunteerMatch"
|
5
|
+
require 'nokogiri'
|
6
|
+
require 'open-uri'
|
7
|
+
require 'zip-codes'
|
8
|
+
require 'colorize'
|
9
|
+
|
10
|
+
|
11
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
12
|
+
# with your gem easier. You can also use a different console, if you like.
|
13
|
+
|
14
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
15
|
+
# require "pry"
|
16
|
+
# Pry.start
|
17
|
+
|
18
|
+
require "irb"
|
19
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/bin/start
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'pry'
|
2
|
+
require 'open-uri'
|
3
|
+
require 'nokogiri'
|
4
|
+
require 'zip-codes'
|
5
|
+
require 'colorize'
|
6
|
+
|
7
|
+
|
8
|
+
require_relative "volunteer_match/version"
|
9
|
+
require_relative "volunteer_match/scrape"
|
10
|
+
require_relative "volunteer_match/CLI"
|
11
|
+
require_relative "volunteer_match/opportunity"
|
@@ -0,0 +1,133 @@
|
|
1
|
+
class VolunteerMatch::CLI
|
2
|
+
attr_accessor :input, :zip, :choice
|
3
|
+
|
4
|
+
|
5
|
+
def start
|
6
|
+
hello
|
7
|
+
verify
|
8
|
+
VolunteerMatch::Scrape.scrape_names(@input)
|
9
|
+
list_names
|
10
|
+
make_choice
|
11
|
+
end
|
12
|
+
|
13
|
+
|
14
|
+
def hello
|
15
|
+
puts "====================================================".colorize(:light_blue)
|
16
|
+
puts "Hello. This app will find the closest Volunteer Opportunities near you.".colorize(:light_blue)
|
17
|
+
puts "You will need to enter your zipcode, and then select an option to recieve more detials.".colorize(:light_blue)
|
18
|
+
puts "====================================================".colorize(:light_blue)
|
19
|
+
enter_zip
|
20
|
+
get_input
|
21
|
+
end
|
22
|
+
|
23
|
+
def enter_zip
|
24
|
+
print "Please enter zipcode: ".colorize(:light_blue)
|
25
|
+
end
|
26
|
+
|
27
|
+
def get_input
|
28
|
+
@input = gets.strip.downcase
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.input
|
32
|
+
@input
|
33
|
+
end
|
34
|
+
|
35
|
+
def verify #put in own checks in case of strings or to few/to many numbers.
|
36
|
+
@zip = ZipCodes.identify("#{@input}")
|
37
|
+
if @zip != nil
|
38
|
+
puts "====================================================".colorize(:light_blue)
|
39
|
+
puts "Finding results in #{@zip[:city]}, #{@zip[:state_name]}.".colorize(:light_blue)
|
40
|
+
puts "====================================================".colorize(:light_blue)
|
41
|
+
elsif @input == "exit"
|
42
|
+
goodbye
|
43
|
+
else
|
44
|
+
puts "Invalid input.".colorize(:red)
|
45
|
+
hello
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def list_names
|
50
|
+
VolunteerMatch::Opportunity.all.each.with_index(1) do |banks, idx|
|
51
|
+
puts "#{idx}. #{banks.name}"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def make_choice
|
56
|
+
puts "====================================================".colorize(:light_blue)
|
57
|
+
puts "Please enter the number corresponding with the Volunteer Opportunity you are interested in.".colorize(:light_blue)
|
58
|
+
puts "To leave type *exit* then press enter.".colorize(:yellow)
|
59
|
+
puts "To relist Opportunities type *relist* then press enter.".colorize(:yellow)
|
60
|
+
puts "If you entered the wrong zip code type *restart* then press enter.".colorize(:yellow)
|
61
|
+
print "|-> "
|
62
|
+
choice = gets.strip.downcase
|
63
|
+
#binding.pry
|
64
|
+
if choice_valid?(choice.to_i)
|
65
|
+
choice = choice.to_i
|
66
|
+
scrape_and_display_opportunity_info(choice)
|
67
|
+
more_options
|
68
|
+
elsif choice == 'exit'
|
69
|
+
goodbye
|
70
|
+
elsif choice == 'relist'
|
71
|
+
list_names
|
72
|
+
make_choice
|
73
|
+
elsif choice == 'restart'
|
74
|
+
VolunteerMatch::CLI.new.start
|
75
|
+
else
|
76
|
+
puts "Invalid.".colorize(:red)
|
77
|
+
make_choice
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def choice_valid?(choice)
|
82
|
+
choice.to_i.between?(1,10)
|
83
|
+
end
|
84
|
+
|
85
|
+
def scrape_and_display_opportunity_info(choice)
|
86
|
+
opp = VolunteerMatch::Opportunity.all[choice -1]
|
87
|
+
VolunteerMatch::Scrape.scrape_info(opp)
|
88
|
+
# display info object
|
89
|
+
end
|
90
|
+
|
91
|
+
def self.display_info(description, address, foundation_info)
|
92
|
+
puts "----------------------".colorize(:light_blue)
|
93
|
+
puts "Foundation Information".colorize(:light_blue)
|
94
|
+
puts "----------------------".colorize(:light_blue)
|
95
|
+
puts foundation_info
|
96
|
+
puts "----------------------".colorize(:light_blue)
|
97
|
+
puts "Roll Description".colorize(:light_blue)
|
98
|
+
puts "----------------------".colorize(:light_blue)
|
99
|
+
puts description
|
100
|
+
puts "----------------------".colorize(:light_blue)
|
101
|
+
puts "Address".colorize(:light_blue)
|
102
|
+
puts "----------------------".colorize(:light_blue)
|
103
|
+
puts address
|
104
|
+
end
|
105
|
+
|
106
|
+
def more_options
|
107
|
+
puts "----------------------".colorize(:yellow)
|
108
|
+
puts "Would you like to make a new choice? Type relist then hit enter.".colorize(:yellow)
|
109
|
+
puts "Would you like to restart? Type restart then hit enter.".colorize(:yellow)
|
110
|
+
puts "Would you like to leave? Type exit then hit enter.".colorize(:yellow)
|
111
|
+
puts "----------------------".colorize(:yellow)
|
112
|
+
selection = gets.chomp.downcase
|
113
|
+
if selection == "exit"
|
114
|
+
goodbye
|
115
|
+
elsif selection == "restart"
|
116
|
+
VolunteerMatch::CLI.new.start
|
117
|
+
elsif selection == "relist"
|
118
|
+
list_names
|
119
|
+
make_choice
|
120
|
+
else
|
121
|
+
puts "Sorry, that was not an option.".colorize(:red)
|
122
|
+
more_options
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
def goodbye
|
127
|
+
puts "Hope you found what you were looking for.".colorize(:light_blue)
|
128
|
+
puts "Goodbye".colorize(:light_blue)
|
129
|
+
exit
|
130
|
+
end
|
131
|
+
|
132
|
+
|
133
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
class VolunteerMatch::Opportunity
|
3
|
+
attr_accessor :name, :url # add DAF here as attributes
|
4
|
+
|
5
|
+
@@all = []
|
6
|
+
|
7
|
+
def initialize(name, url)
|
8
|
+
@name = name
|
9
|
+
@url = url
|
10
|
+
self.save
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.all
|
14
|
+
@@all
|
15
|
+
end
|
16
|
+
|
17
|
+
def save
|
18
|
+
@@all << self
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
class VolunteerMatch::Scrape
|
2
|
+
|
3
|
+
def self.scrape_names(input)
|
4
|
+
page = Nokogiri(open("https://www.volunteermatch.org/search/?l="+"#{input}"))
|
5
|
+
titles = page.css("div.searchitem.PUBLIC")
|
6
|
+
title_hash = titles.each do |section|
|
7
|
+
volunteer_title = section.css("h3").text.gsub(/[\r\n\t\"{}]+/m, "").strip
|
8
|
+
urls = section.css('a')[0]['href']
|
9
|
+
# binding.pry
|
10
|
+
VolunteerMatch::Opportunity.new(volunteer_title, urls)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.scrape_info(opp_obj)
|
15
|
+
site = "https://www.volunteermatch.org"
|
16
|
+
page = Nokogiri(open(site + opp_obj.url))
|
17
|
+
description = page.css("div#short_desc").css("p").text.gsub(/[\r\n\t\"{}]+/m, "")
|
18
|
+
address = page.css("p.left").text.gsub(/[\r\n\t\"{}]+/m, "")
|
19
|
+
foundation_info = page.css("section#tertiary-content").css("p")[1].text.gsub(/[\r\n\t\"{}]+/m, "")
|
20
|
+
# binding.pry
|
21
|
+
VolunteerMatch::CLI.display_info(description, address, foundation_info)
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
|
27
|
+
# change D A F to attributes for the object
|
@@ -0,0 +1,29 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "volunteer_match/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "volunteer_match"
|
7
|
+
spec.version = VolunteerMatch::VERSION
|
8
|
+
spec.authors = ["Anthony Oglesby"]
|
9
|
+
spec.email = ["oglesbyanthony88@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = "Will show closest foodbanks based on zipcode."
|
12
|
+
|
13
|
+
|
14
|
+
# Specify which files should be added to the gem when it is released.
|
15
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
16
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
17
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
end
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency 'pry'
|
26
|
+
spec.add_dependency "nokogiri"
|
27
|
+
spec.add_dependency "zip-codes"
|
28
|
+
spec.add_dependency "colorize"
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: volunteer_match
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Anthony Oglesby
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-12-07 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: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
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: nokogiri
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
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: zip-codes
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
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: colorize
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- oglesbyanthony88@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- CODE_OF_CONDUCT.md
|
106
|
+
- Gemfile
|
107
|
+
- Gemfile.lock
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- bin/console
|
112
|
+
- bin/setup
|
113
|
+
- bin/start
|
114
|
+
- lib/VolunteerMatch.rb
|
115
|
+
- lib/volunteer_match/CLI.rb
|
116
|
+
- lib/volunteer_match/opportunity.rb
|
117
|
+
- lib/volunteer_match/scrape.rb
|
118
|
+
- lib/volunteer_match/version.rb
|
119
|
+
- volunteer_match.gemspec
|
120
|
+
homepage:
|
121
|
+
licenses: []
|
122
|
+
metadata: {}
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
requirements: []
|
138
|
+
rubygems_version: 3.0.6
|
139
|
+
signing_key:
|
140
|
+
specification_version: 4
|
141
|
+
summary: Will show closest foodbanks based on zipcode.
|
142
|
+
test_files: []
|