timber 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2388bf1db8a727e78be858eb8ed03fd1dec10f95
4
- data.tar.gz: 392fe3ea6f24f874849cad8ccc015ce989e67fda
3
+ metadata.gz: 83d5df35d9fd7a86960281bf683f97419a55eacc
4
+ data.tar.gz: 16d1c2a21d07bf6d9c05a750d24cc48c1564b2cd
5
5
  SHA512:
6
- metadata.gz: 856d7ebf1f309b905899dd8136a9af9ce60cab4d4c88c6d1b02009cc6b0677b51932366f22d4abdd4fd4f662e90f44021f8a9240f10a7c8a6886eddaf8ee417b
7
- data.tar.gz: 24384bcea4caa8d460e1b4eab07047e2c6c94a181110d8b16c47eb1f672abdde6f8158e36a3e7bcf121410e1532e63083b810834d3ec7641c113d608ce1b215c
6
+ metadata.gz: f98ccb6cbbc9a0ff0fac089c21d9859196c9fa9e482c025d96f2b05020a6e5874617ea226788fef37b3cec028eb3bc3a806ead914d394d83b4fb8d8b3145f570
7
+ data.tar.gz: b687cc08f4356127f654d727a4ee1f824bb1e41b0c3818f515b526bb7b635ad9b83d678c645b509788a7a488706ecbb84918d43ac8581498f9f38fec84c000c1
@@ -164,6 +164,7 @@ module Timber
164
164
  end
165
165
 
166
166
  req = Net::HTTP::Post.new(@timber_url.path)
167
+ req['Accept'] = "application/json"
167
168
  req['Authorization'] = authorization_payload
168
169
  req['Content-Type'] = CONTENT_TYPE
169
170
  req['User-Agent'] = USER_AGENT
@@ -1,3 +1,3 @@
1
1
  module Timber
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
3
3
  end
@@ -87,6 +87,7 @@ describe Timber::LogDevices::HTTP do
87
87
  with(
88
88
  :body => 'test log message',
89
89
  :headers => {
90
+ 'Accept' => 'application/json',
90
91
  'Authorization' => 'Basic TVlLRVk=',
91
92
  'Content-Type' => 'application/x-timber-msgpack-frame-1',
92
93
  'User-Agent' => "Timber Ruby Gem/#{Timber::VERSION}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timber Technologies, Inc.