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