masonellwood_cli_app_two 0.1.2 → 0.1.3
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/masonellwood_cli_app_two/cli.rb +3 -3
- data/lib/masonellwood_cli_app_two/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae0cf6bffb4b881d176685777d46853d49ec0ab0
|
|
4
|
+
data.tar.gz: 1663cf3748705ce16436b66caf39f8e69868ad31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8dc35ba18128d83b7b1ffe6518d84c5eb9e234f820a1eb25f1306b3cb943b4ceefed8f8e618d8830440a8f406f182a3ac9efef329f697ab4a160d685c8f9009
|
|
7
|
+
data.tar.gz: 52a4b1878c01dbfac91229705ea0afab658d3e3238edbb0c08c1c1605bd58d5f729ef8bb2a37a63a7f81e9a40eec22e54a700533c3b6ff8cb4bf76f89a9dec0d
|
|
@@ -26,10 +26,10 @@ class MasonellwoodCliAppTwo::CLI
|
|
|
26
26
|
display_citie_option
|
|
27
27
|
puts "Are you sure you don't want to check the weather of a different state?"
|
|
28
28
|
puts "Like before: type States, the State name, or simply type exit."
|
|
29
|
-
elsif state == "states"
|
|
30
|
-
|
|
29
|
+
elsif state == "states" || state == "States" || state == "STATES"
|
|
30
|
+
EVERY_STATE.each_with_index do |state, index|
|
|
31
31
|
index += 1
|
|
32
|
-
puts "#{index}. #{
|
|
32
|
+
puts "#{index}. #{state.capitalize}"
|
|
33
33
|
end
|
|
34
34
|
puts "Here are all the valid States, which one would you like to know the weather?"
|
|
35
35
|
elsif state != "exit"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: masonellwood_cli_app_two
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mason Ellwood
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-07-
|
|
11
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|