le 2.7.3 → 2.7.4

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: 51f39bb23c01f3818a0ebbc27f52265bedfcc224
4
- data.tar.gz: be3858798538f557381c2c63ef1e44ce4dcfa059
3
+ metadata.gz: f8f7b2e946be735682e34fcb0f5026cd6db99b7e
4
+ data.tar.gz: d3a5015d11648ff8350a189fc31565f556e78e1e
5
5
  SHA512:
6
- metadata.gz: 392cd4fc6a3f7ffb41a64eda8071f5e78f3dd183389e3713acd8c4bd61a6cb45082e617943737cf58c323425e1029bf24e65b838f0ef0f239181311e2c45ab4f
7
- data.tar.gz: ca7018b26d87242c0ed9155df90eed1ae64b5118e2e4f3d215206807bc3e1fdc0ce0268c2b980ced8b7c83dcba0a8ff2dbda40c0a0febde02c15076439289df9
6
+ metadata.gz: 4755878d5c72f404800f144cbc7e94df63c27b9e9efd462b9f6938d35f9c92dc9696d18e017877fa90d01b41a915ab46aa8654aa456fab214565a2a7469e8a07
7
+ data.tar.gz: 13c26c955ad1ada19019da08378c20b5cf1b18b51d2d1e0ff619158cfa514ef1cdb24511bc774f51c5a908717b8160f77a535f6ed4230cf528faae9ccbe917eb
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.3.1
3
4
  - 2.0.0
4
5
  - 1.9.3
5
6
  - jruby-19mode
6
7
  before_install:
7
- - gem install bundler
8
+ - gem install bundler
data/LE.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'le'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "le"
8
- gem.version = "2.7.3"
8
+ gem.version = "2.7.4"
9
9
  gem.date = Time.now
10
10
  gem.summary = "Logentries plugin"
11
11
  gem.licenses = ["MIT"]
data/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  Logging to Logentries in Ruby
2
2
  =============================
3
3
 
4
- [![Build Status](https://travis-ci.org/logentries/le_ruby.svg?branch=master)](https://travis-ci.org/logentries/le_ruby)
5
-
4
+ [![Build Status](https://travis-ci.org/rapid7/le_ruby.svg?branch=master)](https://travis-ci.org/rapid7/le_ruby)
6
5
  This is a Logentries library for logging from Ruby platforms, including Heroku.
7
6
 
8
- It is available on github <https://github.com/logentries/le_ruby/> and rubygems
7
+ It is available on github <https://github.com/rapid7/le_ruby/> and rubygems
9
8
  <http://rubygems.org/>.
10
9
 
11
10
 
@@ -173,7 +173,7 @@ module Le
173
173
  else
174
174
  port = DATA_PORT_UNSECURE
175
175
  end
176
- else
176
+ else
177
177
  if @udp_port
178
178
  host = API_SERVER
179
179
  port = @udp_port
@@ -229,7 +229,7 @@ module Le
229
229
  begin
230
230
  openConnection
231
231
  break
232
- rescue TimeoutError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError
232
+ rescue Timeout::Error, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError
233
233
  dbg "LE: Unable to connect to Logentries due to timeout(#{ $! })"
234
234
  rescue
235
235
  dbg "LE: Got exception in reopenConnection - #{ $! }"
@@ -268,7 +268,7 @@ module Le
268
268
  loop do
269
269
  begin
270
270
  @conn.write(data)
271
- rescue TimeoutError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError
271
+ rescue Timeout::Error, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError
272
272
  dbg "LE: Connection timeout(#{ $! }), try to reopen connection"
273
273
  reopenConnection
274
274
  next
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.7.3
4
+ version: 2.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Lacomber
@@ -9,60 +9,58 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-25 00:00:00.000000000 Z
12
+ date: 2016-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: minitest
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
- description: |2+
57
-
58
-
56
+ description: "\n\n"
59
57
  email: support@logentries.com
60
58
  executables: []
61
59
  extensions: []
62
60
  extra_rdoc_files: []
63
61
  files:
64
- - .gitignore
65
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".travis.yml"
66
64
  - Gemfile
67
65
  - LE.gemspec
68
66
  - LICENSE
@@ -86,17 +84,17 @@ require_paths:
86
84
  - lib
87
85
  required_ruby_version: !ruby/object:Gem::Requirement
88
86
  requirements:
89
- - - '>='
87
+ - - ">="
90
88
  - !ruby/object:Gem::Version
91
89
  version: '0'
92
90
  required_rubygems_version: !ruby/object:Gem::Requirement
93
91
  requirements:
94
- - - '>='
92
+ - - ">="
95
93
  - !ruby/object:Gem::Version
96
94
  version: '0'
97
95
  requirements: []
98
96
  rubyforge_project:
99
- rubygems_version: 2.0.14.1
97
+ rubygems_version: 2.5.1
100
98
  signing_key:
101
99
  specification_version: 4
102
100
  summary: Logentries plugin