lib/scout/server.rb in scout-2.0.4 vs lib/scout/server.rb in scout-2.0.5
- old
+ new
@@ -246,10 +246,10 @@
private
def urlify(url_name, options = Hash.new)
return unless @server
- options.merge!(:client_version => Scout::VERSION::STRING)
+ options.merge!(:client_version => Scout::VERSION)
URI.join( @server,
URLS[url_name].
gsub(/\bCLIENT_KEY\b/, @client_key).
gsub(/\b[A-Z_]+\b/) { |k| options[k.downcase.to_sym] || k } )
end