From 8ec7349c40d22d3c53f797fadc644300724d6220 Mon Sep 17 00:00:00 2001 From: Daniel Turner Date: Thu, 24 Jul 2014 11:34:56 -0500 Subject: [PATCH] Update api version to 2.1 . Update Gemfile to avoid deprecation warning --- Gemfile | 2 +- lib/insightly/configuration.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 746aef7..220c02a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source :rubygems +source "http://rubygems.org" gem 'i18n' , "~> 0.5.0" gem 'json',"=1.6.5" gemspec diff --git a/lib/insightly/configuration.rb b/lib/insightly/configuration.rb index 1af23c2..6fddd7d 100644 --- a/lib/insightly/configuration.rb +++ b/lib/insightly/configuration.rb @@ -8,8 +8,8 @@ def initialize(setting, message) # :nodoc: end end class Configuration - API_VERSION = "v1" # :nodoc: - DEFAULT_ENDPOINT = "https://api.insight.ly/v1" # :nodoc: + API_VERSION = "v2.1" # :nodoc: + DEFAULT_ENDPOINT = "https://api.insight.ly/v2.1" # :nodoc: class << self attr_writer :custom_user_agent, :endpoint, :logger, :api_key