national_parks 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dd06358a0ed346b7a761882c570db552d70ba539
4
+ data.tar.gz: 5969c934578fba14638edda648dde33cd7f6cf8b
5
+ SHA512:
6
+ metadata.gz: d205bbce6b572d486b8a6b911f685d7da1dafe33796a0bb5e30d097136b31805b087b4087f7e7c9b76db77f7d481a06d707a1f8d041226fda38d9322578767a5
7
+ data.tar.gz: 55af8d0a7e14b8ce7047b18b6c60ccaf00401688602a94457a50f79722b5739e36de4f05e3774faea161e0513e690a2c0a919546516efd46d45d51ca986309dd
@@ -0,0 +1,50 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ # Compiled source #
15
+ ###################
16
+ *.com
17
+ *.class
18
+ *.dll
19
+ *.exe
20
+ *.o
21
+ *.so
22
+
23
+ # Packages #
24
+ ############
25
+ # it's better to unpack these files and commit the raw source
26
+ # git has its own built in compression methods
27
+ *.7z
28
+ *.dmg
29
+ *.gz
30
+ *.iso
31
+ *.jar
32
+ *.rar
33
+ *.tar
34
+ *.zip
35
+
36
+ # Logs and databases #
37
+ ######################
38
+ *.log
39
+ *.sql
40
+ *.sqlite
41
+
42
+ # OS generated files #
43
+ ######################
44
+ .DS_Store
45
+ .DS_Store?
46
+ ._*
47
+ .Spotlight-V100
48
+ .Trashes
49
+ ehthumbs.db
50
+ Thumbs.db
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.14.6
@@ -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 jarrel.delottinville@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
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in national_parks.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Jarrel deLottinville
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.
@@ -0,0 +1,29 @@
1
+ # NationalParks
2
+
3
+ This CLI gem provides a list and details of national parks by state or territory as provided by the U.S. National Park Service website.
4
+
5
+ ## Installation
6
+
7
+ $ gem install national_parks
8
+
9
+ ## Usage
10
+
11
+ Type the following command in your computer's terminal and follow the on-screen prompts.
12
+
13
+ $ national_parks
14
+
15
+ ## Development
16
+
17
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
18
+
19
+ 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).
20
+
21
+ ## Contributing
22
+
23
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Jdville03/national-parks-cli-gem. 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.
24
+
25
+
26
+ ## License
27
+
28
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
29
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "national_parks"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ # reload changed files in irb session
14
+ def reload!
15
+ load_all "./lib/national_parks"
16
+ end
17
+
18
+ require "irb"
19
+ IRB.start(__FILE__)
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require_relative "../lib/national_parks"
5
+
6
+ NationalParks::CLI.new.call
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,16 @@
1
+ # environment file
2
+
3
+ require "open-uri"
4
+ require "nokogiri"
5
+ require "pry"
6
+ require "require_all"
7
+ require "colorize"
8
+ require "terminal-table"
9
+
10
+ require_relative "./national_parks/version"
11
+ require_relative "./national_parks/cli"
12
+ require_relative "./national_parks/scraper"
13
+ require_relative "./national_parks/state"
14
+ require_relative "./national_parks/park"
15
+
16
+ class InvalidType < StandardError; end
@@ -0,0 +1,83 @@
1
+ class NationalParks::CLI
2
+
3
+ def initialize
4
+ welcome
5
+ NationalParks::Scraper.scrape_find_park_page
6
+ end
7
+
8
+ def call
9
+ list_states
10
+ state_selection
11
+ list_parks
12
+ menu
13
+ end
14
+
15
+ def welcome
16
+ system("clear")
17
+ puts " ----------------------------------------"
18
+ puts "| |"
19
+ puts "| Welcome to National Parks |"
20
+ puts "| |"
21
+ puts " ----------------------------------------"
22
+ puts "\nFind information about the national parks located in any of the U.S. states or territories"
23
+ end
24
+
25
+ def list_states
26
+ # states/territories displayed in table format with 2 columns
27
+ all_rows = []
28
+ row = []
29
+ NationalParks::State.all.each.with_index(1) do |state, index|
30
+ row = [] if index.odd?
31
+ row << "#{index}. #{state.name}"
32
+ all_rows << row if index.even? || index == NationalParks::State.all.length
33
+ end
34
+ table = Terminal::Table.new :title => "U.S. States and Territories", :rows => all_rows
35
+ puts "\n#{table}"
36
+ end
37
+
38
+ def state_selection
39
+ puts "\nSelect a state or territory by " + "number".underline + " or " + "name".underline + ":"
40
+ state_input = gets.strip
41
+ if state_input.to_i.between?(1, NationalParks::State.all.length)
42
+ @state = NationalParks::State.find_state(state_input)
43
+ elsif NationalParks::State.find_state_by_name(state_input)
44
+ @state = NationalParks::State.find_state_by_name(state_input)
45
+ else
46
+ puts "Invalid entry.".colorize(:red)
47
+ state_selection
48
+ end
49
+ end
50
+
51
+ def list_parks
52
+ NationalParks::Scraper.scrape_state_page(@state) if @state.parks.empty? # conditional modifier to prevent redundant scraping and instantiation of state's park objects if that state was previously selected by the user
53
+ system("clear")
54
+ puts "\nNational Parks in #{@state.name}:"
55
+ @state.parks.each.with_index(1) do |park, index|
56
+ sleep(0.25)
57
+ puts "\n----------------------------------------------".colorize(:green)
58
+ puts "#{index}. #{park.name}".colorize(:blue)
59
+ puts ""
60
+ puts "Type: #{park.type}" if park.type
61
+ puts "Location: #{park.location}" if park.location
62
+ puts "Description: #{park.description}"
63
+ end
64
+ end
65
+
66
+ def menu
67
+ puts "\nTo see more information in your web browser for a national park in #{@state.name}, enter the " + "number".underline + " of the park.\nType " + "list".underline + " to see the states and territories again or type " + "exit".underline + "."
68
+ input = gets.strip
69
+ if input.to_i.between?(1, @state.parks.length)
70
+ system("open #{@state.find_park(input).more_info_url}")
71
+ menu
72
+ elsif input.downcase == "list"
73
+ system("clear")
74
+ call
75
+ elsif input.downcase == "exit"
76
+ puts "\nGet out and enjoy the national parks! Goodbye!\n".colorize(:green)
77
+ else
78
+ puts "\nInvalid entry.".colorize(:red)
79
+ menu
80
+ end
81
+ end
82
+
83
+ end
@@ -0,0 +1,21 @@
1
+ class NationalParks::Park
2
+
3
+ attr_accessor :type, :name, :location, :description, :more_info_url
4
+ attr_reader :state # belongs to state object interface
5
+
6
+ def initialize(park_attribute_hash = nil)
7
+ if park_attribute_hash
8
+ park_attribute_hash.each{|key, value| self.send("#{key}=", value)}
9
+ end
10
+ end
11
+
12
+ def state=(state) # belongs to state object interface
13
+ if !state.is_a?(NationalParks::State)
14
+ raise InvalidType, "#{state.class} received, State expected"
15
+ else
16
+ @state = state
17
+ state.add_park(self) unless state.parks.include?(self)
18
+ end
19
+ end
20
+
21
+ end
@@ -0,0 +1,34 @@
1
+ class NationalParks::Scraper
2
+
3
+ BASE_PATH = "https://www.nps.gov"
4
+ @@state_names = []
5
+
6
+ def self.scrape_find_park_page # class method instantiates new state objects with parameter of hash of state attributes (:name, :url) scraped from NPS website
7
+ find_park_page ||= Nokogiri::HTML(open("https://www.nps.gov/findapark/index.htm"))
8
+ find_park_page.css("map#Map area").each do |state|
9
+ # condition to prevent instantiation of new state object if that state was already created (state is listed more than once in scraped data)
10
+ if !@@state_names.include?(state.attr("alt"))
11
+ @@state_names << state.attr("alt")
12
+
13
+ state_attributes_hash = {name: state.attr("alt"), url: BASE_PATH + state.attr("href")}
14
+ NationalParks::State.new(state_attributes_hash)
15
+ end
16
+ end
17
+ end
18
+
19
+ def self.scrape_state_page(state) # class method adds new park objects to existing state object after instantiating new park objects with parameter of hash of park attributes (:type, :name, :location, :description, :more_info_url) scraped from NPS website
20
+ state_page ||= Nokogiri::HTML(open(state.url))
21
+ state_page.css("div.list_left").each do |park|
22
+ park_attributes_hash = {}
23
+ park_attributes_hash[:type] = park.css("h2").text.strip if park.css("h2").text.match(/\S/) # conditional modifier to account for some park listings not including :type attribute
24
+ park_attributes_hash[:name] = park.css("a").text.strip
25
+ park_attributes_hash[:location] = park.css("h4").text.strip.gsub(/\s{2,}/, " ") if park.css("h4").text.match(/\S/) # conditional modifier to account for some park listings not including :location attribute; #gsub required to clean up formatting in source code
26
+ park_attributes_hash[:description] = park.css("p").text.strip
27
+ park_attributes_hash[:more_info_url] = BASE_PATH + park.css("a").attr("href")
28
+
29
+ park = NationalParks::Park.new(park_attributes_hash)
30
+ state.add_park(park)
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,44 @@
1
+ class NationalParks::State
2
+
3
+ attr_accessor :name, :url
4
+
5
+ @@states = []
6
+
7
+ def initialize(state_attribute_hash = nil)
8
+ if state_attribute_hash
9
+ state_attribute_hash.each{|key, value| self.send("#{key}=", value)}
10
+ end
11
+ @parks = [] # has many park objects interface
12
+ @@states << self
13
+ end
14
+
15
+ def parks # has many park objects interface
16
+ @parks.dup.freeze.sort_by{|park| park.name} # park objects of each state object stored in alphabetical order by name
17
+ end
18
+
19
+ def add_park(park) # has many park objects interface
20
+ if !park.is_a?(NationalParks::Park)
21
+ raise InvalidType, "#{park.class} received, Park expected"
22
+ else
23
+ @parks << park unless @parks.include?(park)
24
+ park.state = self unless park.state == self
25
+ end
26
+ end
27
+
28
+ def find_park(id)
29
+ parks[id.to_i - 1]
30
+ end
31
+
32
+ def self.all
33
+ @@states.sort_by{|state| state.name} # state objects stored in alphabetical order by name
34
+ end
35
+
36
+ def self.find_state_by_name(name)
37
+ self.all.detect{|state| state.name.downcase == name.downcase}
38
+ end
39
+
40
+ def self.find_state(id)
41
+ self.all[id.to_i - 1]
42
+ end
43
+
44
+ end
@@ -0,0 +1,3 @@
1
+ module NationalParks
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,42 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'national_parks/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "national_parks"
8
+ spec.version = NationalParks::VERSION
9
+ spec.date = "2017-04-11"
10
+ spec.authors = ["Jarrel deLottinville"]
11
+ spec.email = ["jarrel.delottinville@gmail.com"]
12
+
13
+ spec.summary = %q{National parks by U.S. state or territory.}
14
+ spec.description = %q{List and details of national parks by state or territory as provided by the U.S. National Park Service website.}
15
+ spec.homepage = "https://github.com/Jdville03/national-parks-cli-gem"
16
+ spec.license = "MIT"
17
+
18
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
20
+ #if spec.respond_to?(:metadata)
21
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
22
+ #else
23
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
24
+ #end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ #spec.bindir = "exe"
30
+ #spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.executables = ["national_parks"]
32
+ spec.require_paths = ["lib"]
33
+
34
+ spec.add_development_dependency "bundler", "~> 1.14"
35
+ spec.add_development_dependency "rake", "~> 10.0"
36
+ spec.add_development_dependency "rspec", "~> 3.0"
37
+ spec.add_development_dependency "pry"
38
+ spec.add_development_dependency "require_all"
39
+ spec.add_dependency "nokogiri"
40
+ spec.add_dependency "colorize"
41
+ spec.add_dependency "terminal-table"
42
+ end
data/spec.md ADDED
@@ -0,0 +1,7 @@
1
+ # Specifications for the CLI Assessment
2
+
3
+ Specs:
4
+ - [X] Have a CLI for interfacing with the application - The CLI allows user to select a state/territory by number or name from a list in order to view brief summaries of the national parks in that state/territory. The CLI then allows user to view more information on a specific park in the web browswer. The CLI also allows the user to search again for a different state/territory.
5
+ - [X] Pull data from an external source - Scraper class pulls data from U.S. National Park Service website.
6
+ - [X] Implement both list and detail views - CLI class lists states/territories and provides more detail views of national parks within the selected state/territory.
7
+
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: national_parks
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jarrel deLottinville
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-04-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.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
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: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
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: require_all
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: nokogiri
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
+ - !ruby/object:Gem::Dependency
98
+ name: colorize
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: terminal-table
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: List and details of national parks by state or territory as provided
126
+ by the U.S. National Park Service website.
127
+ email:
128
+ - jarrel.delottinville@gmail.com
129
+ executables:
130
+ - national_parks
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - ".gitignore"
135
+ - ".rspec"
136
+ - ".travis.yml"
137
+ - CODE_OF_CONDUCT.md
138
+ - Gemfile
139
+ - LICENSE.txt
140
+ - README.md
141
+ - Rakefile
142
+ - bin/console
143
+ - bin/national_parks
144
+ - bin/setup
145
+ - lib/national_parks.rb
146
+ - lib/national_parks/cli.rb
147
+ - lib/national_parks/park.rb
148
+ - lib/national_parks/scraper.rb
149
+ - lib/national_parks/state.rb
150
+ - lib/national_parks/version.rb
151
+ - national_parks.gemspec
152
+ - spec.md
153
+ homepage: https://github.com/Jdville03/national-parks-cli-gem
154
+ licenses:
155
+ - MIT
156
+ metadata: {}
157
+ post_install_message:
158
+ rdoc_options: []
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ requirements: []
172
+ rubyforge_project:
173
+ rubygems_version: 2.6.11
174
+ signing_key:
175
+ specification_version: 4
176
+ summary: National parks by U.S. state or territory.
177
+ test_files: []