From 2cf45269ba3341fdda8b2a54d382fa6f8164c9f8 Mon Sep 17 00:00:00 2001 From: Seth Holloway Date: Thu, 8 May 2014 21:32:22 -0500 Subject: [PATCH] Update for version 1.2.0 --- lib/toopher_api.rb | 2 +- test/test_toopher_api.rb | 4 ++-- toopher_api.gemspec | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/toopher_api.rb b/lib/toopher_api.rb index fc6f082..942fe4a 100644 --- a/lib/toopher_api.rb +++ b/lib/toopher_api.rb @@ -47,7 +47,7 @@ class PairingDeactivatedError< ToopherApiError # Abstracts calls to the Toopher OAuth webservice class ToopherAPI # Version of the library - VERSION = '1.1.0' + VERSION = '1.2.0' # Default URL for the Toopher webservice API. Can be overridden in the constructor if necessary. DEFAULT_BASE_URL = 'https://api.toopher.com/v1/' diff --git a/test/test_toopher_api.rb b/test/test_toopher_api.rb index 2febba4..ebcaf39 100644 --- a/test/test_toopher_api.rb +++ b/test/test_toopher_api.rb @@ -312,9 +312,9 @@ def test_multiple_users_to_enable_raises_correct_error() def test_version_string_exists() major, minor, patch = ToopherAPI::VERSION.split('.') assert(major >= '1', 'version string (major level) is invalid') - assert(minor >= '0', 'version string (minor level) is invalid') + assert(minor >= '2', 'version string (minor level) is invalid') assert(patch >= '0', 'version string (patch level) is invalid') - assert(ToopherAPI::VERSION >= '1.0.6', 'version string does not exist') + assert(ToopherAPI::VERSION >= '1.2.0', 'version string does not exist') end def test_gemspec_version_matches_version_string() diff --git a/toopher_api.gemspec b/toopher_api.gemspec index 653c031..0f719e2 100644 --- a/toopher_api.gemspec +++ b/toopher_api.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'toopher_api' - s.version = '1.1.0' - s.date = '2013-11-26' + s.version = '1.2.0' + s.date = '2014-05-10' s.summary = 'Interface to the toopher.com authentication api' s.description = 'Synchronous interface to the toopher.com authentication api.' s.authors = ['Toopher, Inc.']