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 +4 -4
- data/lib/logtail/log_devices/http.rb +2 -2
- data/lib/logtail/version.rb +1 -1
- data/spec/logtail/log_devices/http_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a1b5ff5c6415b72a76574ad17cdf273b69a2ee163f3751c982b933f92518379
|
4
|
+
data.tar.gz: ddcddf4086118f54a0528ed76b6c550f30e9f0c39be44b016116a736bcf1b104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 = "
|
21
|
-
LOGTAIL_PRODUCTION_HOST = "
|
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
|
data/lib/logtail/version.rb
CHANGED
@@ -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://
|
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.
|
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-
|
11
|
+
date: 2021-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|