npr_cli_news_reader 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/npr_cli_news_reader +0 -17
- data/lib/npr_cli_news_reader/version.rb +1 -1
- data/npr_cli_news_reader-0.1.0.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a1cf50e5bffec07f606e171c2b26795e6ed125669b2498dc8bca1b722d15e06
|
4
|
+
data.tar.gz: e9e3bd396e16aee22abbd513ba9d5b94378874aee86a81578fd5b6a496540e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8592313439060529c3b44fccccfff8fb9ec69e1e8fc4351e178c6d34834845bfb2f9c71c7d7002a99e85ec71fbe3fd7d8db25a1110faf4c3c85d0146124d406
|
7
|
+
data.tar.gz: 0e6d0e44a44816b7cf45303ebcc2591b943361088f42f43c6749a2579b3600134d1b3cbab930d2d3687a30cac78fb1e1562f98e219f4b7c3cd5160fd530b69de
|
data/bin/npr_cli_news_reader
CHANGED
@@ -2,23 +2,6 @@
|
|
2
2
|
|
3
3
|
require_relative "../lib/npr_cli_news_reader"
|
4
4
|
|
5
|
-
cli = NprCliNewsReader::CLI.new
|
6
5
|
|
7
|
-
while !cli.done
|
8
|
-
cli.greeting
|
9
|
-
cli.display_article_categories
|
10
|
-
puts "Which category would you like to see news articles for?"
|
11
|
-
puts "(Enter the # associated with the category)"
|
12
|
-
category_input = gets.strip
|
13
|
-
cli.handle_category_input(category_input)
|
14
|
-
puts "Which article would you like to read?"
|
15
|
-
puts "(Enter the number associated with the article):"
|
16
|
-
selected_article = gets.strip
|
17
|
-
cli.handle_article_input(selected_article)
|
18
|
-
puts "Would you like to go back to the category selection or exit the program?"
|
19
|
-
puts "(enter home or exit)"
|
20
|
-
end_of_program_input = gets.strip.downcase
|
21
|
-
cli.restart_or_exit(end_of_program_input)
|
22
|
-
end
|
23
6
|
|
24
7
|
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: npr_cli_news_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'Jake Garcia'"
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- lib/npr_cli_news_reader/cli.rb
|
107
107
|
- lib/npr_cli_news_reader/scraper.rb
|
108
108
|
- lib/npr_cli_news_reader/version.rb
|
109
|
+
- npr_cli_news_reader-0.1.0.gem
|
109
110
|
- npr_cli_news_reader.gemspec
|
110
111
|
homepage: https://github.com/jgarcia4444/npr_cli_news_reader.git
|
111
112
|
licenses:
|