le 2.1.7 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/LE.gemspec +1 -1
- data/lib/le/host/http.rb +3 -1
- metadata +2 -2
data/LE.gemspec
CHANGED
data/lib/le/host/http.rb
CHANGED
@@ -6,6 +6,8 @@ require 'uri'
|
|
6
6
|
module Le
|
7
7
|
module Host
|
8
8
|
class HTTP
|
9
|
+
API_SERVER = 'data.logentries.com'
|
10
|
+
API_PORT = 10000
|
9
11
|
include Le::Host::InstanceMethods
|
10
12
|
attr_accessor :token, :queue, :started, :thread, :conn, :local, :debug
|
11
13
|
|
@@ -75,7 +77,7 @@ module Le
|
|
75
77
|
|
76
78
|
def openConnection
|
77
79
|
dbg "LE: Reopening connection to Logentries API server"
|
78
|
-
@conn = TCPSocket.new(
|
80
|
+
@conn = TCPSocket.new(API_SERVER, API_PORT)
|
79
81
|
|
80
82
|
dbg "LE: Connection established"
|
81
83
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: le
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! '
|
15
15
|
|