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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e1205d73dcafde5c26f126b8def69ba433e4b18de93da9a74c1d148bd38eba0
4
- data.tar.gz: 896b55b0410c100e8428fc97e5dc5e8ece3e17eafcf71a89990337232388547b
3
+ metadata.gz: 13d58ac548a2807466d98528427ce2822d9e7767a7a1dfc20460b9421d099f3d
4
+ data.tar.gz: 07c5d04cd88443a45d8543ca0439c9d57f54098848a86428a8a416c4d7ef3486
5
5
  SHA512:
6
- metadata.gz: 48c25a8ea2ad9ba70bc684846528c941f2239c4c2a951faae3151a1335325fafbdc5014e5aa741a5a8fedbcd8994ee7fccf2107e0a7efb9594b8811066c61f81
7
- data.tar.gz: b46567f4ab1fd88f2a11b8c4be0edc989671da2105ad17bd5b760824499bb2d43a21e404040bdcae41d17500545f824c24f3cc0a5851db0fdff4d7212b9a7e5c
6
+ metadata.gz: 4c0647bbfc9525df595cb791200f00651a954928e095a2fa319ecddbec09cfb1a886cb0cca8fae3d755ccfe458ddb15a43611d68f711f55e93b6ade41f6d3282
7
+ data.tar.gz: a7118252c685679f0b01b57917e2ca286eabdd176b1189e8e7c0f513024b1db4d3afbda90be8aecb6766eba11bf5f10ea9d299e119e13763b1f605433cff59ad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- podcast-book-club (1.0.0)
4
+ podcast-book-club (1.0.1)
5
5
  googlebooks (~> 0.0.9)
6
6
  nokogiri (~> 1.6, >= 1.6.8)
7
7
  rainbow (~> 3.0)
File without changes
@@ -128,33 +128,30 @@ class PodcastBookClub::CLI
128
128
 
129
129
  def select_episodes(episodes)
130
130
 
131
- until @selection == "exit" || @selection == "back"
132
- select_menu(episodes)
133
- @selection = gets.chomp.downcase
131
+ select_menu(episodes)
132
+ @selection = gets.chomp.downcase
134
133
 
135
- case @selection
136
- when /\d/
137
- unless @selection.to_i > episodes.count
138
- selected_episodes = [episodes[@selection.to_i - 1]]
139
- create_library(selected_episodes)
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
@@ -1,3 +1,3 @@
1
1
  module PodcastBookClub
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
Binary file
@@ -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.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jessrezac
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-14 00:00:00.000000000 Z
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/run
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: