Skip to content

Commit

Permalink
version but in module as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoni authored and Yoni committed May 23, 2016
1 parent 8474f31 commit 22ecbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/yahoo_weatherman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

module Weatherman

VERSION = '2.0.2'
VERSION = '2.0.3'

URI = 'https://query.yahooapis.com/v1/public/yql?q='

Expand Down Expand Up @@ -57,7 +57,7 @@ def lookup_by_location(location)
end

private

def woeid_query_url(woeid)
"#{URI}select%20*%20from%20weather.forecast%20where%20woeid%20%3D%20#{woeid}%20and%20u%20%3D%20'#{degrees_units}'&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys"
end
Expand Down

0 comments on commit 22ecbe0

Please sign in to comment.