Welcome to your brand new news stand! this is an interactive news app which brings the latest content of CNN's US section to your command line. You will be able to read any of the five newest articles from any subcategory of cnn.com/us.
Add this line to your application's Gemfile:
gem 'news_stand'
And then execute:
$ bundle
Or install it yourself as:
$ gem install news_stand
To use this app after installation, run './bin/news-stand' in your terminal. From there, follow the instructions to navigate the website. You will be required to enter either a number, the word 'back', or 'exit'. 'back' returns to a previous menu and 'exit' will terminate the session and return you to your command line.
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.
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.
Bug reports and pull requests are welcome on GitHub at https://github.com/bhabig/news_stand. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.