owmo 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/owmo/version.rb +1 -1
- data/lib/owmo/weather.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f28d1ded9dc4ec39373a376183985f837af3034fc18780defc7bae3158c6fd82
|
4
|
+
data.tar.gz: 9de5b4bca2d86f98cc4b252b46c7688f74cbbd55d80b52ecb500426909036174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5adf0b05d8cc03aac2363cfec8eadce4390ba84007b7475d40912fce0711808bae275a34a0b7358afa20ae4f996061ccdca4b418eb9c6bf3c294b4b1da89ff1
|
7
|
+
data.tar.gz: ff5e5372699efc0668f520f30e9df3f2d2b0c00d7cacd954b6a56726835759d85b8df1c30ee1ede3ca1a28bde423f129094664accffb7a239dd91150bf8cb632
|
data/lib/owmo/version.rb
CHANGED
data/lib/owmo/weather.rb
CHANGED
@@ -79,7 +79,7 @@ module OWMO
|
|
79
79
|
|
80
80
|
def get(path, **query)
|
81
81
|
# Format Geocode info
|
82
|
-
query = alias_geocodes(query)
|
82
|
+
query = alias_geocodes(**query)
|
83
83
|
|
84
84
|
# Add the api key
|
85
85
|
query[:APPID] = api_key
|
@@ -103,7 +103,7 @@ module OWMO
|
|
103
103
|
# Aliases some geocode parameters to the correct ones, for example :city_name is
|
104
104
|
# easier to read than :q
|
105
105
|
def alias_geocodes(**query)
|
106
|
-
query_geocode_keys(query).each do |key|
|
106
|
+
query_geocode_keys(**query).each do |key|
|
107
107
|
query[GEOCODE_ALIASES[key]] = query.delete(key)
|
108
108
|
end
|
109
109
|
query
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: owmo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robb Randall
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|