Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example-project/Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
source 'https://rubygems.org'
gem "logtail", "~> 0.1.15"
gem "logtail", "~> 0.1.17"
6 changes: 3 additions & 3 deletions example-project/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
logtail (0.1.15)
logtail (0.1.17)
msgpack (~> 1.0)
msgpack (1.7.2)
msgpack (1.8.0)

PLATFORMS
ruby

DEPENDENCIES
logtail (~> 0.1.15)
logtail (~> 0.1.17)

BUNDLED WITH
2.1.4
2 changes: 1 addition & 1 deletion lib/logtail/log_devices/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def build_request(msgs)
req = Net::HTTP::Post.new(path)
req['Authorization'] = authorization_payload
req['Content-Type'] = CONTENT_TYPE
req['Content-Encoding'] = 'gzip'
req['Content-Encoding'] = 'deflate'
req['User-Agent'] = USER_AGENT
uncompressed = msgs.map { |msg| force_utf8_encoding(msg.to_hash) }.to_msgpack
req.body = Zlib::Deflate.deflate(uncompressed, Zlib::BEST_SPEED)
Expand Down
2 changes: 1 addition & 1 deletion lib/logtail/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Logtail
VERSION = "0.1.16"
VERSION = "0.1.17"
end
Loading