logtail-ruby 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 714fec06a5b96315abe5835ea499725c543ddf24b645efb09b0348a3e25298c8
4
- data.tar.gz: 8488c21ac1b8a6478c4d3d5186c3d6cb3412c9224e7c8a07734e0badf47d2f86
3
+ metadata.gz: 1a1b5ff5c6415b72a76574ad17cdf273b69a2ee163f3751c982b933f92518379
4
+ data.tar.gz: ddcddf4086118f54a0528ed76b6c550f30e9f0c39be44b016116a736bcf1b104
5
5
  SHA512:
6
- metadata.gz: 3b1511f61cfa83b18924bee016297f38de49b8dd9215f016bc3767a1209313a2912e8b2652c783653245d263dc5de2fe4ce6abf9189d0d0ea30365a5ab876610
7
- data.tar.gz: 5dc461d8399703a8d9141d55f49f45d2f299bd0656cb5d78a91d9b9bee38312ef4b5580a4dbfe91a01662ed542782de3cc2463d3aaf4ce882ef21de58e67f845
6
+ metadata.gz: d64a8e17cb3fc10dbb19d4582979383aa3efd478e7f0284e84e82f1e4ea732c228c2f1d0954ae16d4d6ef44f17dcf18a351f2e91fa5eab5611b4f7b3ff2c768c
7
+ data.tar.gz: bdce70cae9d0b3aa09128a63ab252e74d5c0bda77eb044a9fd5c5989ce5a52659ff8ab869aaf8438e5371ad6fb0a626b85748febb50a85126da5bc0f2bc1ed5b
@@ -17,8 +17,8 @@ module Logtail
17
17
  #
18
18
  # See {#initialize} for options and more details.
19
19
  class HTTP
20
- LOGTAIL_STAGING_HOST = "logs-staging.logtail.com".freeze
21
- LOGTAIL_PRODUCTION_HOST = "logs.logtail.com".freeze
20
+ LOGTAIL_STAGING_HOST = "in-staging.logtail.com".freeze
21
+ LOGTAIL_PRODUCTION_HOST = "in.logtail.com".freeze
22
22
  LOGTAIL_HOST = ENV['LOGTAIL_STAGING'] ? LOGTAIL_STAGING_HOST : LOGTAIL_PRODUCTION_HOST
23
23
  LOGTAIL_PORT = 443
24
24
  LOGTAIL_SCHEME = "https".freeze
@@ -1,3 +1,3 @@
1
1
  module Logtail
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -125,7 +125,7 @@ describe Logtail::LogDevices::HTTP do
125
125
  let(:time) { Time.utc(2016, 9, 1, 12, 0, 0) }
126
126
 
127
127
  it "should deliver requests on an interval" do
128
- stub = stub_request(:post, "https://logs.logtail.com/").
128
+ stub = stub_request(:post, "https://in.logtail.com/").
129
129
  with(
130
130
  :body => start_with("\x92\x83\xA5level\xA4INFO\xA2dt\xBB2016-09-01T12:00:00.000000Z\xA7message\xB2test log message 1".force_encoding("ASCII-8BIT")),
131
131
  :headers => {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logtail-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logtail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack