lib/scalyr/common/client.rb in logstash-output-scalyr-0.1.4 vs lib/scalyr/common/client.rb in logstash-output-scalyr-0.1.5
- old
+ new
@@ -225,10 +225,10 @@
end
end
post = Net::HTTP::Post.new uri_path
post.add_field('Content-Type', 'application/json')
- version = 'output-logstash-scalyr 0.1.4'
+ version = 'output-logstash-scalyr 0.1.5'
post.add_field('User-Agent', version + ';' + RUBY_VERSION + ';' + RUBY_PLATFORM)
if not encoding.nil?
post.add_field('Content-Encoding', encoding)
post.body = compressed_body