lita-onewheel-openweathermap 0.0.0 → 0.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66283735fc9b306be58185267d56d61d96b3a124
|
4
|
+
data.tar.gz: 84d0ffd674ad939f3ce37001bb3d857ff19f8dc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e614324771f2be7b456fd3727586b2e0db22901445d688a9b5d9cfe94b678fb708eca6d61710d1e7570781abc25612f099816705d074ff98f05bd4d9ddb10e
|
7
|
+
data.tar.gz: 5d71e386db31241a78d15c785c54c9b661349dfa6728b4bf3d3cae795ca916cbf19a94340254e087bac73e8c6b4495126f8c455ab447c1ac68110914dc96995a
|
@@ -14,7 +14,7 @@ module Lita
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def get_data
|
17
|
-
uri = "http://api.openweathermap.org/v3/uvi/45.75,-122.75
|
17
|
+
uri = "http://api.openweathermap.org/v3/uvi/45.75,-122.75/#{Date.today.iso8601 + "Z"}.json?appid=#{config.api_key}"
|
18
18
|
puts "getting #{uri}"
|
19
19
|
data = RestClient.get uri
|
20
20
|
JSON.parse data
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-openweathermap'
|
3
|
-
spec.version = '0.0.
|
3
|
+
spec.version = '0.0.1'
|
4
4
|
spec.authors = ['Andrew Kreps']
|
5
5
|
spec.email = ['andrew.kreps@gmail.com']
|
6
6
|
spec.description = %q{Lita interface to reveal today's UV index.}
|