weather_by_dcq 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
  SHA256:
3
- metadata.gz: 9387f95eb6353180e468a2ab994ea909ae381b2c5c1cb1ac9451c29b4dda5d33
4
- data.tar.gz: 156021ab8e68e40337cfaffad9338fc65e966a336b884fa1df1082e87100c502
3
+ metadata.gz: 347e358c47d447a931e591422bf1758fdf4a08f6744dc487c830847e7653a6d9
4
+ data.tar.gz: e367d72ed6db35e351a52b2b4c25d96c14a87b10c23842eea0453603bd677fc7
5
5
  SHA512:
6
- metadata.gz: cf5b4a3d83e5bbe5c446c3d067bbbc3c769250714679c728c00f480ff2319f5877ba067abe93c74b6c3b048730f4bcab02932c90ecf584e9d93826a6365312a2
7
- data.tar.gz: bff3334406455c1a96f61feb00fd84cd22461b68d9568f3099b7a538b4aaa7e41b406be5172d260ea0c5d1206c4480d3e769ee7916577ccda5cd36b4447f4d4b
6
+ metadata.gz: 75c438ecb52b4fc4ef357daf9ffad802d3fe0230e17f22a8e05d22f576350c5c73de2616df0e19f9392629fb7f7c7fc91f258afa553931df4b6c68273b747804
7
+ data.tar.gz: f9f6f75b5bd51d93d979531e321d1ee8f487072570827efeddc73534ec95188cb78263c93ab9408c51fcda4a2862dc53afee5b58fb637d88592a00e7d30cebdd
@@ -5,4 +5,4 @@ require_relative '../lib/weather_by_dcq/request'
5
5
  require_relative '../lib/weather_by_dcq/forecast'
6
6
  require_relative '../lib/weather_by_dcq/view'
7
7
 
8
- WeatherByDcq::View.new.menu
8
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WeatherByDcq
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
@@ -10,7 +10,7 @@ class WeatherByDcq::View
10
10
  puts ''
11
11
  puts 'Please enter a city to retrieve a forecast (Format: City State):'
12
12
  input_location = gets.strip
13
- location = input_location.gsub(/[\W\d]/, '').upcase
13
+ location = input_location.gsub(/[\W\d]/, '').downcase
14
14
 
15
15
  puts "You entered: #{location}".colorize(:blue) + ' Is this correct (Y/N)?'
16
16
  input_confirm = gets.strip.downcase
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weather_by_dcq
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
  - Doan Trung Quan