what_to_watch 0.1.3 → 0.2.0
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 +4 -4
- data/.DS_Store +0 -0
- data/Gemfile.lock +1 -1
- data/lib/.DS_Store +0 -0
- data/lib/what_to_watch/cli.rb +9 -2
- data/lib/what_to_watch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbfe166abd42a6387b8c3995350e532366eb82d84fd8ab8a6845a6ff108d5286
|
4
|
+
data.tar.gz: 868807cd813ffb33713f9acac79c10ece8a3a899a3ecd4e7fcd020b30c215be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02c62adc09567322c2d7c552bb6ed0035571cc7cd649efa92d40b49fc4db09f943fd8d44918c724b14658724a544f6a8bae9cf9e991084ea4f7990aeea1b13e5
|
7
|
+
data.tar.gz: e45ac8e60277c17fa10a1842bd1786e3a487702fbf9725ee5529e39636d1868bc90d0bba993a378fd5af1f7bd060f5a12739364efb18a627ff2fc976435a9307
|
data/.DS_Store
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
data/lib/.DS_Store
CHANGED
Binary file
|
data/lib/what_to_watch/cli.rb
CHANGED
@@ -21,10 +21,11 @@ class WhatToWatch::CLI
|
|
21
21
|
puts ""
|
22
22
|
puts "Welcome to What To Watch!"
|
23
23
|
puts ""
|
24
|
-
which_streaming_services
|
25
24
|
end
|
26
25
|
|
27
26
|
def start
|
27
|
+
while !exit?
|
28
|
+
which_streaming_services
|
28
29
|
while !exit?
|
29
30
|
main_commands
|
30
31
|
while !exit?
|
@@ -103,6 +104,7 @@ class WhatToWatch::CLI
|
|
103
104
|
end
|
104
105
|
end
|
105
106
|
end
|
107
|
+
end
|
106
108
|
exit
|
107
109
|
end
|
108
110
|
|
@@ -170,7 +172,8 @@ class WhatToWatch::CLI
|
|
170
172
|
puts "Which Streaming Services do You Have Access To?"
|
171
173
|
puts ""
|
172
174
|
puts "Please Enter y or n to Answer each Question:"
|
173
|
-
|
175
|
+
puts "(Exit: Type exit)"
|
176
|
+
puts ""
|
174
177
|
puts "1. Do You have Netflix?"
|
175
178
|
@input = gets.strip.downcase
|
176
179
|
while !exit?
|
@@ -185,6 +188,7 @@ class WhatToWatch::CLI
|
|
185
188
|
end
|
186
189
|
end
|
187
190
|
|
191
|
+
return if exit?
|
188
192
|
puts "2. Do You have Amazon Prime?"
|
189
193
|
@input = gets.strip.downcase
|
190
194
|
while !exit?
|
@@ -199,6 +203,7 @@ class WhatToWatch::CLI
|
|
199
203
|
end
|
200
204
|
end
|
201
205
|
|
206
|
+
return if exit?
|
202
207
|
puts "3. Do You have HBO?"
|
203
208
|
@input = gets.strip.downcase
|
204
209
|
while !exit?
|
@@ -213,6 +218,7 @@ class WhatToWatch::CLI
|
|
213
218
|
end
|
214
219
|
end
|
215
220
|
|
221
|
+
return if exit?
|
216
222
|
puts "4. Do You have HULU?"
|
217
223
|
@input = gets.strip.downcase
|
218
224
|
while !exit?
|
@@ -227,6 +233,7 @@ class WhatToWatch::CLI
|
|
227
233
|
end
|
228
234
|
end
|
229
235
|
|
236
|
+
return if exit?
|
230
237
|
puts "5. Do You have Showtime?"
|
231
238
|
@input = gets.strip.downcase
|
232
239
|
while !exit?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: what_to_watch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'George Pianka'"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|