weatheruby 0.3.0 → 0.3.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: 2364322995c8bd3925c33321a3744b70497a1613
4
- data.tar.gz: 2bfd153a01c99e1e80fe929eadbb814b2ab754a5
3
+ metadata.gz: 7787ec777c7e28c511d3afb014c0e89adaf18652
4
+ data.tar.gz: 61ab8ab8949b5d85605db19177d535bcad195b9b
5
5
  SHA512:
6
- metadata.gz: 2f9a50df8220dc9dcd04d3d3aee974f0ff47a0a118e12a6fba9b2bc04051d97155c4b49836e1bc05dfe4d033db7622b39073dfb697c9937ae0da8c9fc6f3c608
7
- data.tar.gz: 765c5fc8b96b0bdc7a1fb21eb3db37a79867570b18fe8993a4ccda6fa7e76687280b51206c356878ebdf2d032eeea5f3ec369770692bf174e6a0bcb0d678d74c
6
+ metadata.gz: a0a0573dcd72d6986343a7fff63cae502b0d77736bfa73d3a12a7758f4b9688efd4c25860b66f1cb4cc40edced7fc7406260ab021bec698d274a5597c695a9cc
7
+ data.tar.gz: 80b259e9c15493c1d88970fce879f5ad19082968313866d17260a765305ac5d5e5cc9527ffb3c65ae5946dcda2774cca3c8423e8f03b56a5d3dbfddd19ba75ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
  ## Version 0
3
+ ### Version 0.3.1
4
+ * Fix forecast names to 10day, and made it apparent in documentation that the non-10 day methods are only for the next 3 days.
5
+
3
6
  ### Version 0.3.0
4
7
  * Proper error handling, with new initialization parameter verbose_errors.
5
8
 
@@ -181,7 +181,8 @@ module Weather
181
181
  end
182
182
  end
183
183
 
184
- # Gets the basic forecast information for the location.
184
+ # Gets the basic forecast information for the location. Only gets data
185
+ # for the next 3 days.
185
186
  # @param location [String] The place to get the forecast for.
186
187
  # @return [Hash] A hash containing hashes of information. Sub-hashes are
187
188
  # named as their "period", or the day in relation to the current day.
@@ -208,8 +209,8 @@ module Weather
208
209
  end
209
210
 
210
211
  # Exactly the same as #simple_forecast, except that it gets the data for
211
- # 20 days.
212
- def simple_forecast_20day(location)
212
+ # 10 days.
213
+ def simple_forecast_10day(location)
213
214
  response = get('forecast10day', location)
214
215
 
215
216
  return parse_simple_forecast(response)
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.3.0
4
+ version: 0.3.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-10-17 00:00:00.000000000 Z
11
+ date: 2015-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient