From b133a77cab98ca6328b94f6ba774fc4a0737bb3c Mon Sep 17 00:00:00 2001 From: SaadHassan-dev Date: Tue, 21 Nov 2023 15:46:30 +0500 Subject: [PATCH] bumped version to 2.1.0 --- lib/ipinfo/adapter.rb | 2 +- lib/ipinfo/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ipinfo/adapter.rb b/lib/ipinfo/adapter.rb index 5046ae0..2580bf7 100644 --- a/lib/ipinfo/adapter.rb +++ b/lib/ipinfo/adapter.rb @@ -42,7 +42,7 @@ def connection(adapter) def default_headers headers = { - 'User-Agent' => 'IPinfoClient/Ruby/2.0.0', + 'User-Agent' => 'IPinfoClient/Ruby/2.1.0', 'Accept' => 'application/json' } headers['Authorization'] = "Bearer #{CGI.escape(token)}" if token diff --git a/lib/ipinfo/version.rb b/lib/ipinfo/version.rb index e2ca3e0..1d7cd02 100644 --- a/lib/ipinfo/version.rb +++ b/lib/ipinfo/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module IPinfo - VERSION = '2.0.0' + VERSION = '2.1.0' end