npr_best_books 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -13
- data/lib/npr_best_books/version.rb +1 -1
- data/npr_best_books.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a598d81b127e6d400fd20333afe282994a55c984
|
4
|
+
data.tar.gz: b303b9eda6745bac10516ba4dc84fcfc91046552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa99b3ee27d155f1540a3f449eee1d40cd9661aeddfe7f22a3d3f1a09c1a0fbb8188b6eb74d925b3604eedf3921848385bc052efa12509ecefabd742d5d8e690
|
7
|
+
data.tar.gz: 532d635b9a008d273e1ad88eeb22550512ab025cddccd05e8e84731f5523c946899e5e757598c2742232adfaf77c982d3501c80df84aea31847c589a1b86e95e
|
data/README.md
CHANGED
@@ -1,26 +1,37 @@
|
|
1
|
-
#
|
1
|
+
# NPR Best Books
|
2
2
|
|
3
|
-
|
3
|
+
A simple CLI gem to list NPR Book Concierge website's 2015 book recommendations in the Science Fiction and Fantasy genre.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
Install by running the following:
|
8
8
|
|
9
|
-
|
10
|
-
gem 'npr_best_books'
|
11
|
-
```
|
9
|
+
$ gem install npr_best_books
|
12
10
|
|
13
|
-
|
11
|
+
## Usage
|
14
12
|
|
15
|
-
|
13
|
+
1) After installation is completed, start by running `IRB`:
|
16
14
|
|
17
|
-
|
15
|
+
$ irb
|
18
16
|
|
19
|
-
|
17
|
+
2) Then require the newly install gem:
|
20
18
|
|
21
|
-
|
19
|
+
$ > require 'npr_best_books'
|
20
|
+
$ => true
|
21
|
+
|
22
|
+
NOTE: If after `requiring 'npr_best_books'` you do not get a `true` return value, please kindly let me know as you have encountered an error.
|
23
|
+
|
24
|
+
3) Run the following command in IRB to start CLI gem:
|
22
25
|
|
23
|
-
|
26
|
+
$ > NPRBestBooks::CLI.new.call
|
27
|
+
|
28
|
+
4) Enjoy.
|
29
|
+
|
30
|
+
## Current Known Issues
|
31
|
+
|
32
|
+
Running `gem install 'npr_best_books'` also installs an executable in your gem folder so you can run `npr-best-books` in your bash command line and attempt to use this CLI gem as is. However, this executable is encountering the following message:
|
33
|
+
|
34
|
+
$ cannot load such file -- ./lib/npr_best_books (LoadError)
|
24
35
|
|
25
36
|
## Development
|
26
37
|
|
@@ -36,4 +47,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/beingy
|
|
36
47
|
## License
|
37
48
|
|
38
49
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
39
|
-
|
data/npr_best_books.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["beingy"]
|
10
10
|
spec.email = ["beingy@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = "CLI
|
13
|
-
spec.description = "A
|
12
|
+
spec.summary = "CLI gem to list book recomendations from NPR's Book Concierge website."
|
13
|
+
spec.description = "A simple CLI gem to list NPR Book Concierge website's 2015 book recommendations in the Science Fiction and Fantasy genre."
|
14
14
|
spec.homepage = "https://github.com/beingy/npr-best-books-cli-gem"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: npr_best_books
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- beingy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.8'
|
83
|
-
description: A
|
83
|
+
description: A simple CLI gem to list NPR Book Concierge website's 2015 book recommendations
|
84
84
|
in the Science Fiction and Fantasy genre.
|
85
85
|
email:
|
86
86
|
- beingy@gmail.com
|
@@ -132,5 +132,5 @@ rubyforge_project:
|
|
132
132
|
rubygems_version: 2.4.5.1
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
|
-
summary: CLI
|
135
|
+
summary: CLI gem to list book recomendations from NPR's Book Concierge website.
|
136
136
|
test_files: []
|