From e5eb8d451d8be2d2751e6dda132c65039e5c879c Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Thu, 6 Nov 2014 23:36:55 +0100 Subject: [PATCH] Update default User-Agent to comply with Section 5.5.3 of RFC 7231 --- lib/twitter/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/twitter/client.rb b/lib/twitter/client.rb index ea8b4a7e7..06525d2bb 100644 --- a/lib/twitter/client.rb +++ b/lib/twitter/client.rb @@ -31,7 +31,7 @@ def user_token? # @return [String] def user_agent - @user_agent ||= "Twitter Ruby Gem #{Twitter::Version}" + @user_agent ||= "TwitterRubyGem/#{Twitter::Version}" end # @return [Hash]