thunderwear 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5002294a30a2420626ff53c27091bcf3b9815975
4
- data.tar.gz: 96c145e7719cc4fef70e7ec2a4d8a9ae7a3228f2
3
+ metadata.gz: 1fcc408e0c4ae095d9185eeaa88e1437911358d2
4
+ data.tar.gz: aca18e40b69187331a3e55985c4739857765d05a
5
5
  SHA512:
6
- metadata.gz: baf720ecd2084c6d971436bc45f789c611832bf567a9c0c0937c6b85798c02b0a651bc83cd9ef1f9ced60dd276d19b15bf45a0e552d69ab38fe4445cd35f7822
7
- data.tar.gz: b2aaceed3a5d492b99632530cf042bea926c4ec4623c02e1b83fefd0cbc94644f11f8ebf408c88450c388bc5fcad73b64984e8fabaf10d3db51cbf90bd51ba16
6
+ metadata.gz: 41ccc09039951792af6eeaf8b8f7cf3bdb7fdc7348bf7725cf1c41f9357698d5b23b72576c238a620e4d7606262fff86b86086fd2b7a6d3f1301da5d7cae2bd1
7
+ data.tar.gz: ea8f6fc2e53f10bfd741d03bba71531806e0f508c760848fadab4effc3a40af8a45a0a482ec7eba5dc09f1c81ffd64082dfb502de8b6c7a7b942e4e35738bf4a
@@ -12,9 +12,10 @@ if ARGV.empty?
12
12
  zip_file.write zip
13
13
  zip_file.close
14
14
  end
15
- weatherer = Thunderwear::GetWeather.new(zip)
15
+ weatherer = Thunderwear::GetWeather.new("01982")
16
16
  weatherer.weather_me
17
- else ARGV.first.capitalize == "Alexa"
17
+ else
18
+ ARGV.first.to_s.capitalize == "Alexa"
18
19
  puts "😎 🌞 " * 8
19
20
  %x( say 'Alexa, whats the weather today?' )
20
21
  end
@@ -11,6 +11,7 @@ module Thunderwear
11
11
  end
12
12
 
13
13
  ForecastIO.api_key = 'dcbdb3b43d97ccfc1eb6379f3b97c9b0'
14
+ Geocoder.configure(:timeout => 500)
14
15
 
15
16
  def zippocoder
16
17
  Geocoder.coordinates(@zip)
@@ -1,3 +1,3 @@
1
1
  module Thunderwear
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thunderwear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Ricker