npr_cli_news_reader 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/npr_cli_news_reader/cli.rb +0 -1
- data/lib/npr_cli_news_reader/version.rb +1 -1
- metadata +1 -2
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca85279b912fad4a1ccb4255cf638105a046a48a14ee41578a85966542b768c9
|
4
|
+
data.tar.gz: 43a82bdb5d4faeaa98a96849a2c7f793bff4c17df165b890184e4affbcae0ae8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 814e896c6bb67fa848d03a811a2761020f7ffe07173b597fd64a854ff743c7035c64c4205c7dbe5f7202d15df640f6e7e54d326241a28d321158e1620c39690f
|
7
|
+
data.tar.gz: fdb84aed4f7962ff31dfc4139ebf3fa44102d21f7a10982d38e7cae6b6eaaf4f3afb5690e24485e3df547b21dd01f452a3e1dbf0c36c0507ce0737457a88ad95
|
@@ -90,7 +90,6 @@ class NprCliNewsReader::CLI
|
|
90
90
|
category_input = gets.strip
|
91
91
|
end
|
92
92
|
@selected_category = @categories[category_input.to_i - 1].downcase
|
93
|
-
binding.pry
|
94
93
|
puts Rainbow("#{@selected_category.capitalize} Category").bright
|
95
94
|
puts "--------------------"
|
96
95
|
NprCliNewsReader::Scraper.scrape_articles_for_category(@selected_category)
|
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: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'Jake Garcia'"
|
@@ -96,7 +96,6 @@ files:
|
|
96
96
|
- CODE_OF_CONDUCT.md
|
97
97
|
- Gemfile
|
98
98
|
- Gemfile.lock
|
99
|
-
- LICENSE.txt
|
100
99
|
- README.md
|
101
100
|
- Rakefile
|
102
101
|
- bin/console
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2020 'Jake Garcia'
|
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.
|