marvel_101 0.2.7 → 0.2.8
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/lib/marvel_101.rb +0 -1
- data/lib/marvel_101/cli.rb +2 -0
- data/lib/marvel_101/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d7a5409158f9cd8e06c2475ff7496a1c4112c08
|
4
|
+
data.tar.gz: 543c41446b681b6aa544da6252e5014bd4050b83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0410d5edf6b6f563a702f1b53442fce0ceec16ec62c55d734e152187a8f75468d90c64b1536a5e615c446d27359b7a4272ba83c58786d501e1789a94c533f636
|
7
|
+
data.tar.gz: 6f2a9b8146293e928fe0766e55637f3c946f98e87242e5847b23b9ae03b2bf8109bd7123dae17b59e0e4e36d3bd2d9fe086de06524e3c0426f593cf9ec2feafc
|
data/lib/marvel_101.rb
CHANGED
data/lib/marvel_101/cli.rb
CHANGED
@@ -17,6 +17,7 @@ class Marvel101::CLI
|
|
17
17
|
|
18
18
|
def main_menu
|
19
19
|
display_main
|
20
|
+
print ">>"
|
20
21
|
input = gets.chomp.downcase
|
21
22
|
if input.to_i.between?(1, STARTING_PAGES.size)
|
22
23
|
name, url = STARTING_PAGES[input.to_i - 1]
|
@@ -31,6 +32,7 @@ class Marvel101::CLI
|
|
31
32
|
def topic_menu(topic)
|
32
33
|
topic.get_info unless topic.scraped
|
33
34
|
display_topic(topic)
|
35
|
+
print ">>"
|
34
36
|
input = gets.chomp.downcase
|
35
37
|
case input
|
36
38
|
when "101","wiki" then open_link("url_#{input}".to_sym, topic)
|
data/lib/marvel_101/version.rb
CHANGED