npr_cli_news_reader 1.0.1 → 1.0.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
  SHA256:
3
- metadata.gz: 7f9fe53b4fbb374f83380c2ac051f87c6f135296d2349b9f7531985944103e0d
4
- data.tar.gz: 133e4070287daf2f3da2baf347190afcb4ac5d220325376f757a58dac7fab936
3
+ metadata.gz: ab0bc5e4165517be89656a96bc53e1b44ae1780b80e183e0bbc3d3e72e9e6c69
4
+ data.tar.gz: 54638343d3b045479e2583ae37254b1f5459c4b23c5617d0bbc2425fc0ff9a21
5
5
  SHA512:
6
- metadata.gz: 846e3b8a82efe9a52a163654f7b9af178da26faa0685af08cb53cb5a9adc1882d640f7d014637f8e6eb6491243b704ee88a85af8a5f383a233caa08d1db54c1c
7
- data.tar.gz: 6b3700ace56f81c2bc437a61359d4ad2c6a6efa9e942491148ce446c49fc7c9f67dc5242796c4181b6a412c69d5d2f74b8b792f09a87ce434cf5d15042d23758
6
+ metadata.gz: c5e1c03a2e374eece04b1346b3db59c66317242b3c917ee043d3e5b4f48d3d7112aa4d9f245d7b95c55ae9b5367d220ff551e801309d58774d61b40957fe0492
7
+ data.tar.gz: 88ec399d18e30198a74c4a563fd28e5a34fbefa2ec96a0c1f7337deefd83767344177c3cc66889ddae335bbdf7a9ba833d4d29b9f404a182df8d6e4d0e8744fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- npr_cli_news_reader (0.2.1)
4
+ npr_cli_news_reader (1.0.1)
5
5
  nokogiri
6
6
  rainbow
7
7
 
data/README.md CHANGED
@@ -4,13 +4,14 @@ This Gem allows a user to choose from a list of news categories. The ClI then di
4
4
 
5
5
  ## Installation
6
6
 
7
+ ## Install as a gem
8
+
7
9
  Add this line to your application's Gemfile:
8
10
 
9
11
  ```ruby
10
12
  gem 'npr_cli_news_reader'
11
13
  ```
12
-
13
- And then execute:
14
+ And then execute in terminal:
14
15
 
15
16
  $ bundle
16
17
 
@@ -18,6 +19,16 @@ Or install it yourself as:
18
19
 
19
20
  $ gem install npr_cli_news_reader
20
21
 
22
+ In terminal:
23
+
24
+ $ irb
25
+ > require "npr_cli_news_reader"
26
+ > NprCliNewsReader::CLI.new.call
27
+
28
+ The application will start up for you.
29
+
30
+
31
+
21
32
  Or clone the git repository from github
22
33
 
23
34
  In your terminal run:
@@ -28,9 +39,11 @@ In your terminal run:
28
39
 
29
40
  $ ./bin/npr_cli_news_reader
30
41
 
31
- ## Usage
42
+ The CLI application will start after the last command
32
43
 
44
+ ## Usage
33
45
 
46
+ This ClI is meant to bring the news of NPR to your terminal. No pictures getting in the way.
34
47
 
35
48
 
36
49
  ## Development
@@ -90,6 +90,7 @@ 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
93
94
  puts Rainbow("#{@selected_category.capitalize} Category").bright
94
95
  puts "--------------------"
95
96
  NprCliNewsReader::Scraper.scrape_articles_for_category(@selected_category)
@@ -1,3 +1,3 @@
1
1
  module NprCliNewsReader
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'Jake Garcia'"