npr_best_books 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 156ad48e51e6bd6ac7288c77cc98d286e70db7b3
4
- data.tar.gz: 63aa4d0f410ec8f78f9b41b76ee2ccbcd3d52514
3
+ metadata.gz: 1e0a3ed3e157783a48b781725010524c64ef946f
4
+ data.tar.gz: 74898f89327900164ada73e08b37bcf1d1910521
5
5
  SHA512:
6
- metadata.gz: c250f0432316ffde96562d668596b08c1578192088fdd374a8a09f39de4e53566481bf1fd4b9412e74bd0d3d7e4d5e0bf3b8b6f1e883d78aaf69345d9312d83a
7
- data.tar.gz: 2082241d8d5ece5e60b04e0f1f6de0f1fa3c26fe13c09f66f2bb66a72a9c2431f32a5498d7079ed4ef57881b30b901ce04353b031b1f2708d34068a0a8aa09cc
6
+ metadata.gz: c0621b7f9cad13ff8f3ee34e0aff1fc30eec6b8cc843791e413612130553a7ea615453c435985845f50118cc64fcca5f9f9bfcaf4e1dec0b77ca0ae079a6d74b
7
+ data.tar.gz: fc1e641bfe17f04899ab5c3bf35c03bbd2af4868067ccfbd9142b8b20c48c58fd6fb23d6953dfb8bbbd8f4c85362c2192c286847d45614078e6557c30eab7c97
data/bin/npr_best_books CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require_relative './lib/npr_best_books'
3
+ require './lib/npr_best_books'
4
4
 
5
5
  NPRBestBooks::CLI.new.call
data/exe/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "npr_best_books"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require './lib/npr_best_books'
4
+
5
+ NPRBestBooks::CLI.new.call
data/exe/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -1,3 +1,3 @@
1
1
  module NPRBestBooks
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "bin"
19
- spec.executables = ["npr_best_books"]
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.12"
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: npr_best_books
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - beingy
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2016-07-02 00:00:00.000000000 Z
12
12
  dependencies:
@@ -85,7 +85,9 @@ description: A Simple CLI Gem to list NPR Book Concierge website's 2015 book rec
85
85
  email:
86
86
  - beingy@gmail.com
87
87
  executables:
88
+ - console
88
89
  - npr_best_books
90
+ - setup
89
91
  extensions: []
90
92
  extra_rdoc_files: []
91
93
  files:
@@ -101,13 +103,15 @@ files:
101
103
  - bin/console
102
104
  - bin/npr_best_books
103
105
  - bin/setup
106
+ - exe/console
107
+ - exe/npr_best_books
108
+ - exe/setup
104
109
  - lib/npr_best_books.rb
105
110
  - lib/npr_best_books/book.rb
106
111
  - lib/npr_best_books/cli.rb
107
112
  - lib/npr_best_books/list.rb
108
113
  - lib/npr_best_books/scraper.rb
109
114
  - lib/npr_best_books/version.rb
110
- - npr_best_books-0.1.0.gem
111
115
  - npr_best_books.gemspec
112
116
  homepage: https://github.com/beingy/npr-best-books-cli-gem
113
117
  licenses:
Binary file