From e47b5583bf0ba81768c1f1ecee94a25e9d2227ff Mon Sep 17 00:00:00 2001 From: danijoo Date: Thu, 16 Jan 2014 23:21:40 +0100 Subject: [PATCH] fixed SightstoneApiException call --- lib/sightstone/modules/sightstone_base_module.rb | 4 ++-- sightstone.gemspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/sightstone/modules/sightstone_base_module.rb b/lib/sightstone/modules/sightstone_base_module.rb index 75d962d..8b108f0 100644 --- a/lib/sightstone/modules/sightstone_base_module.rb +++ b/lib/sightstone/modules/sightstone_base_module.rb @@ -29,9 +29,9 @@ class SightstoneBaseModule elsif response_code == 429 raise RateLimitExceededException elsif response_code == 401 - raise InvalidApiKeyException + raise InvalidApiKeyException else - raise SightstoneApiException 'Unknown error occured' + raise SightstoneApiException end end diff --git a/sightstone.gemspec b/sightstone.gemspec index dbff41c..7e2a12b 100644 --- a/sightstone.gemspec +++ b/sightstone.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'sightstone' - s.version = '1.3.1' - s.date = '2014-01-13' + s.version = '1.3.2' + s.date = '2014-01-16' s.summary = 'Ruby wrapper for riots league of legends api' s.description = s.summary s.authors = ["Daniel Bauer"]