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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ad776e66245d9f40cf8f7cb7f2077d05d540ac0
4
- data.tar.gz: 9bf0c9aacd0dedeffd74b17a1e31e26c29fe4c25
3
+ metadata.gz: ae0cf6bffb4b881d176685777d46853d49ec0ab0
4
+ data.tar.gz: 1663cf3748705ce16436b66caf39f8e69868ad31
5
5
  SHA512:
6
- metadata.gz: fa12bc769421fc0a5026f7cc583c7085788cef33f79ff2a6c22593e3e517aa0146462e8d136a81e213dbf3cfa4be6c0c31db3126e2fc0b15217feb8f99e0b554
7
- data.tar.gz: 908040f4443678f44f3f377ec4dfd9bb1c1127001714d0bb300301a7bf474b153adfc808d3890973c705626e9802ea6008579dfd3893cdae0e1e35a83e6bc0a7
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
- every_state.each_with_index do |the_state, index|
29
+ elsif state == "states" || state == "States" || state == "STATES"
30
+ EVERY_STATE.each_with_index do |state, index|
31
31
  index += 1
32
- puts "#{index}. #{the_state.capitalize}"
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"
@@ -1,3 +1,3 @@
1
1
  module MasonellwoodCliAppTwo
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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-18 00:00:00.000000000 Z
11
+ date: 2017-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler