Skip to content

Releases: Qurasoft/open_weather_client

v0.1.4

01 Feb 10:21
c0b3ebd
Compare
Choose a tag to compare
  • Add rubocop rake task
  • Run Github actions for ruby 3.2
  • Change cache key format to weather:<lat>:<lon>:<time}> for better compatibility with redis
  • Make OpenWeatherClient::Caching#cache_key public

Full Changelog: v0.1.3...v0.1.4

v0.1.3

27 Jan 19:07
7d8ff30
Compare
Choose a tag to compare

Re-release of 0.1.2 since this version was released from an incorrect branch.

  • Enable Rubocop Linter
  • Add caching of requests (#1)
  • Add location quantization (#3)
  • Reset gem before every example in spec (#2)

v0.1.1

26 Jan 13:08
Compare
Choose a tag to compare
  • Raise OpenWeatherClient::AuthenticationError if the request is not authorized
  • Raise RangeError if latitude or longitude is out of the allowed range
  • Raise Faraday::Error if the request fails otherwise

v0.1.0

26 Jan 13:07
Compare
Choose a tag to compare
  • Initial commit of the Open Weather Client gem
  • Configuration of OpenWeatherClient
  • Request current weather with OpenWeatherClient.current(lat:, lon:)