podcast-book-club 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/{run → podcast_book_club} +0 -0
- data/lib/podcast_book_club/cli.rb +18 -21
- data/lib/podcast_book_club/version.rb +1 -1
- data/podcast-book-club-1.0.0.gem +0 -0
- data/podcast_book_club.gemspec +4 -2
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d58ac548a2807466d98528427ce2822d9e7767a7a1dfc20460b9421d099f3d
|
4
|
+
data.tar.gz: 07c5d04cd88443a45d8543ca0439c9d57f54098848a86428a8a416c4d7ef3486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c0647bbfc9525df595cb791200f00651a954928e095a2fa319ecddbec09cfb1a886cb0cca8fae3d755ccfe458ddb15a43611d68f711f55e93b6ade41f6d3282
|
7
|
+
data.tar.gz: a7118252c685679f0b01b57917e2ca286eabdd176b1189e8e7c0f513024b1db4d3afbda90be8aecb6766eba11bf5f10ea9d299e119e13763b1f605433cff59ad
|
data/Gemfile.lock
CHANGED
File without changes
|
@@ -128,33 +128,30 @@ class PodcastBookClub::CLI
|
|
128
128
|
|
129
129
|
def select_episodes(episodes)
|
130
130
|
|
131
|
-
|
132
|
-
|
133
|
-
@selection = gets.chomp.downcase
|
131
|
+
select_menu(episodes)
|
132
|
+
@selection = gets.chomp.downcase
|
134
133
|
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
134
|
+
case @selection
|
135
|
+
when /\d/
|
136
|
+
unless @selection.to_i > episodes.count
|
137
|
+
selected_episodes = [episodes[@selection.to_i - 1]]
|
138
|
+
create_library(selected_episodes)
|
140
139
|
|
141
|
-
else
|
142
|
-
unexpected_input
|
143
|
-
select_menu(episodes)
|
144
|
-
@selection = gets.chomp.downcase
|
145
|
-
|
146
|
-
end
|
147
|
-
|
148
|
-
when "all"
|
149
|
-
create_library(episodes)
|
150
|
-
when "back"
|
151
|
-
call
|
152
|
-
when "exit"
|
153
|
-
@input = "exit"
|
154
140
|
else
|
155
141
|
unexpected_input
|
142
|
+
select_menu(episodes)
|
143
|
+
@selection = gets.chomp.downcase
|
144
|
+
|
156
145
|
end
|
157
146
|
|
147
|
+
when "all"
|
148
|
+
create_library(episodes)
|
149
|
+
when "back"
|
150
|
+
call
|
151
|
+
when "exit"
|
152
|
+
@input = "exit"
|
153
|
+
else
|
154
|
+
unexpected_input
|
158
155
|
end
|
159
156
|
|
160
157
|
end
|
Binary file
|
data/podcast_book_club.gemspec
CHANGED
@@ -22,8 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
23
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
24
|
end
|
25
|
-
spec.bindir = "exe"
|
26
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
# spec.bindir = "exe"
|
26
|
+
# spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.bindir = "bin"
|
28
|
+
spec.executables = ["podcast_book_club"]
|
27
29
|
spec.require_paths = ["lib"]
|
28
30
|
|
29
31
|
spec.add_development_dependency "bundler", "~> 2.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: podcast-book-club
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jessrezac
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -131,7 +131,8 @@ dependencies:
|
|
131
131
|
description: Explore books recommended by guests on The Ezra Klein Show on Vox.
|
132
132
|
email:
|
133
133
|
- jess.rezac@gmail.com
|
134
|
-
executables:
|
134
|
+
executables:
|
135
|
+
- podcast_book_club
|
135
136
|
extensions: []
|
136
137
|
extra_rdoc_files: []
|
137
138
|
files:
|
@@ -145,7 +146,7 @@ files:
|
|
145
146
|
- README.md
|
146
147
|
- Rakefile
|
147
148
|
- bin/console
|
148
|
-
- bin/
|
149
|
+
- bin/podcast_book_club
|
149
150
|
- bin/setup
|
150
151
|
- config/environment.rb
|
151
152
|
- lib/podcast_book_club.rb
|
@@ -159,6 +160,7 @@ files:
|
|
159
160
|
- lib/podcast_book_club/genre.rb
|
160
161
|
- lib/podcast_book_club/scraper.rb
|
161
162
|
- lib/podcast_book_club/version.rb
|
163
|
+
- podcast-book-club-1.0.0.gem
|
162
164
|
- podcast_book_club.gemspec
|
163
165
|
homepage: https://github.com/jessrezac/podcast-book-club
|
164
166
|
licenses:
|