le 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/LE.gemspec +1 -1
  2. data/lib/le/host/http.rb +3 -1
  3. metadata +2 -2
data/LE.gemspec CHANGED
@@ -3,7 +3,7 @@ require File.expand_path(File.join(dir, 'lib', 'le'))
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "le"
6
- s.version = "2.1.7"
6
+ s.version = "2.1.8"
7
7
  s.date = Time.now
8
8
  s.summary = "Logentries plugin"
9
9
  s.description =<<EOD
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('api.logentries.com', 10000)
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.7
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-07 00:00:00.000000000 Z
12
+ date: 2013-06-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! '
15
15