lib/deepl/configuration.rb in deepl-rb-3.0.1 vs lib/deepl/configuration.rb in deepl-rb-3.0.2

- old
+ new

@@ -44,10 +44,10 @@ def self.free_account_auth_key?(key) key&.end_with?(':fx') end def construct_user_agent(send_platform_info, app_info_name, app_info_version) - library_info_str = 'deepl-ruby/2.5.3' + library_info_str = 'deepl-ruby/3.0.2' if send_platform_info library_info_str += " (#{RbConfig::CONFIG['host_os']}) ruby/#{RUBY_VERSION}" end if app_info_name && app_info_version library_info_str += " #{app_info_name}/#{app_info_version}"