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: 98426bd949f41f27f62f1e869f0f68b83ed72699
4
- data.tar.gz: 0e8b3b8f9a6ffc0f4e78c417a17e2c133bfba5d2
3
+ metadata.gz: 66283735fc9b306be58185267d56d61d96b3a124
4
+ data.tar.gz: 84d0ffd674ad939f3ce37001bb3d857ff19f8dc3
5
5
  SHA512:
6
- metadata.gz: b567ce27ed1d55c438886a30f227b00bf6b011b83fa729ef9af872206533ccf65a05a090f484ee419388b108c7dcb463864481c8d63a628a10dbcd08688fb2b8
7
- data.tar.gz: bc7af3b4b27959b09cf12dc67184f41d1e884a231063d855e028aa21fe92b3674522eda786f2b976fcc52cb66dbeca753a2a727062cadcc2898c310289514de6
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/2016-04-17Z.json?appid=#{config.api_key}"
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.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.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-openweathermap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps