weatheruby 0.4.0 → 0.4.1

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: 080f4dae1ac613cf073d26a558b44df9c9e8cc60
4
- data.tar.gz: f222373bc209df14fb962f995ab6a102151670e5
3
+ metadata.gz: baa8437d2c006154a45cada91b3a10ec57f31b2c
4
+ data.tar.gz: 1d95315f8d7f997a9899b42a69c2423c6c4611f3
5
5
  SHA512:
6
- metadata.gz: 488fd79edc6c949452c50754a0e24d7598a311f20a969279cbe8bbc02541b09d9b6fcf40c797cb879be6967a43f2eed98f9e0ede18cd1ea6c116ac428db47a9c
7
- data.tar.gz: 4a5d071ac7d746646c927f479165970bd3e813ab4e9229c200a3b4c3c0e550f1e4a3a0c833bc3e1f51b0e80abc272d0e5263820bfaac48def1249c43baae1baa
6
+ metadata.gz: 5259121157813245b11f45d73933696833de2ef2c696e42a7981e13c839502ebf43f554a4abe16ba71b1ce503cfcdcde88ab499874e7eb30b37c4c1910e1095b
7
+ data.tar.gz: 97e0361aeeecf3f694d3fe8bc0ff36094f26ee6b864ebf193965861243afcb24c757250f99fbbd618a6b53ceb7bab86b0f634a973ce348211311480f69991045
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
  ## Version 0
3
+ ### Version 0.4.1
4
+ * Fix NameError
5
+
3
6
  ### Version 0.4.0
4
7
  * New weatheruby executable.
5
8
  * Fail when there are many results and it cannot get actual data.
@@ -0,0 +1,10 @@
1
+ module Weather
2
+ module Exceptions
3
+ class TooManyResultsError < StandardError
4
+ def message
5
+ 'There were too many locations given in the response. Please narrow ' \
6
+ 'down your query.'
7
+ end
8
+ end
9
+ end
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weatheruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-13 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -62,6 +62,7 @@ files:
62
62
  - CHANGELOG.md
63
63
  - bin/weatheruby
64
64
  - lib/weather/actions.rb
65
+ - lib/weather/exceptions.rb
65
66
  - lib/weatheruby.rb
66
67
  homepage: https://github.com/elifoster/weatheruby
67
68
  licenses: