weatheruby 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/weather/planner.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef81a1f522c927a6742c86c1ad121d10f912c01d
|
4
|
+
data.tar.gz: a61998454d2e9f01d8142bf0e32afc7dbc9e1f7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2899edb7672c61f8879eeb9fb7496695fa31773a4694cfc8df6ccef9daf0fdc69e0833be75067fb85230db6c7cdabe56af667586861a5d4fe5c7da279f01d04e
|
7
|
+
data.tar.gz: 440bf75169474ae8a3a4311890a002a3796221a1f7e3308367192efbce2944d71b285823986cd3fec37aa6a8ecf1f59fde1380ee1c8a98e3ae0ebb021aabd060
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
## Version 0
|
3
|
+
### Version 0.6.1
|
4
|
+
* Update to StringUtility 3.0
|
5
|
+
|
3
6
|
### Version 0.6.0
|
4
7
|
* Error handling is much more generic now, with a single WeatherError which gets its message from the Weather
|
5
8
|
Underground API. With this is also the removal of the `verbose` option. Lastly, no method will return an error
|
data/lib/weather/planner.rb
CHANGED
@@ -237,7 +237,7 @@ module Weather
|
|
237
237
|
# @param end_date [DateTime] (see {#get_planner_response})
|
238
238
|
# @param location [String] (see {#get_planner_response})
|
239
239
|
# @since 0.5.0
|
240
|
-
# @return [
|
240
|
+
# @return [Integer] The chance of the subject happening.
|
241
241
|
def get_chance_of(subject, start_date, end_date, location)
|
242
242
|
response = get_planner_response(start_date, end_date, location)
|
243
243
|
|
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.6.
|
4
|
+
version: 0.6.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:
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '3.0'
|
55
55
|
description: Accessing the Weather Underground API through HTTPClient.
|
56
56
|
email: elifosterwy@gmail.com
|
57
57
|
executables:
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.6.8
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: A Ruby gem for accessing the Weather Underground API.
|