best-hiking-trails 0.1.1 → 0.1.2

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: 68ed0663bdf710609b05de1eddb7cfebc3e4b8fb
4
- data.tar.gz: 09789ac0bcd0080415a64c476fed1a011890cea8
3
+ metadata.gz: 9abc333a1389a83eadce7d551625823a89343d59
4
+ data.tar.gz: 994d9426a2f5a175927457ba97fd6e87f3fb0caf
5
5
  SHA512:
6
- metadata.gz: 62a6c6823dfb93ec134e5a7aebd30a345cf81f5a133ae1569ff3716773ec55dae7c55031cc89acc22342ef66d4441bca95004e97bf55ec6d2078b3a1454990d0
7
- data.tar.gz: 6eb81e1ebf84f9c74cbcbe9883b342ad4413268934b3f5342c1789adc9b2c26dc10ae490abb06210975543b9093a4a1083e434dba44911a18e6973709e1a3e29
6
+ metadata.gz: e7dcdd3565d3dc685b5c70915bf2074d241ae21792d998119dd9fbd5e3332f91dd3247c1ada5baacf692846fb638bc45b53648c895b3ff3d5193d41fe9f23962
7
+ data.tar.gz: 3a88d66cea147bcd35916edfebe7cb132761c42de104e51bd9d4bfe9a92629d3a85ff20e0ca4035e0d3c08aa304b6b9030330ccb897b5bccdc3d913d1a03f7cc
data/README.md CHANGED
@@ -1,36 +1,29 @@
1
1
  # BestHikingTrails
2
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/best_hiking_trails`. 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
3
+ Best Hiking Trails is a web scraper with a CLI interface that shows you the top 10 hiking trails and information about each trail.
6
4
 
7
5
  ## Installation
8
6
 
9
- Add this line to your application's Gemfile:
7
+ Run the following command in your terminal:
10
8
 
11
9
  ```ruby
12
- gem 'best_hiking_trails'
10
+ gem install best_hiking_trails
13
11
  ```
14
12
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install best_hiking_trails
22
-
23
13
  ## Usage
24
14
 
25
- TODO: Write usage instructions here
15
+ Run best-hiking-trails to get started. This will then show you a top 10 list of hiking trails and their corresponding numbers. Enter the number of the trail you want more information about, List to relist the trails, and/or Exit to exit the program.
26
16
 
27
17
  ## Development
28
18
 
29
- 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.
19
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
20
 
31
21
  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
22
 
33
23
  ## Contributing
34
24
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/best_hiking_trails. 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.
25
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rgylling/best_hiking_trails. 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.
26
+
27
+ ## License
36
28
 
29
+ The gem is available as open source under the terms of the MIT License.
Binary file
Binary file
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
  end
22
22
 
23
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
- # spec.bindir = "exe"
25
24
  spec.executables = ["best-hiking-trails"]
26
25
  spec.require_paths = ["lib", "lib/best_hiking_trails"]
27
26
  spec.license = "MIT"
@@ -1,3 +1,3 @@
1
1
  module BestHikingTrails
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/spec.md CHANGED
@@ -2,5 +2,8 @@
2
2
 
3
3
  Specs:
4
4
  - [x] Have a CLI for interfacing with the application
5
- - [ ] Pull data from an external source
6
- - [ ] Implement both list and detail views
5
+ *A list of trails is presented to the user and the CLI class asks for a number from the user and presents information based off the number of trail the user types in. The user is allowed to type 1-10 for information based on the corresponding trail. Invalid input is rejected, and the user is prompted to enter 'list' to re list the trails or 'exit' to exit the program.*
6
+ - [x] Pull data from an external source
7
+ *When the program is ran the Trails class is initialized, and scrapes trail names and information from [theoutbound.com](https://www.theoutbound.com/theoutbound/the-best-25-hikes-in-america) and creates objects for each trail with a name and information for each trail.*
8
+ - [x] Implement both list and detail views
9
+ *Once the application is started, a list of trails is presented to the user. The user then enters the number of a particular trail they want more information about.*
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: best-hiking-trails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - randy gylling
@@ -96,6 +96,8 @@ files:
96
96
  - LICENSE
97
97
  - README.md
98
98
  - Rakefile
99
+ - best-hiking-trails-0.1.0.gem
100
+ - best-hiking-trails-0.1.1.gem
99
101
  - best_hiking_trails.gemspec
100
102
  - bin/best-hiking-trails
101
103
  - bin/console