le 2.2.5 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/LE.gemspec +1 -1
  3. data/lib/le.rb +2 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3700e1535122de5227c7d54263cd0e8132810c20
4
- data.tar.gz: c09f0f0a5c73942eda6f7ef065983424c0bea53e
3
+ metadata.gz: 95e33aa12863a40a88637ef6f7214b555f42aba2
4
+ data.tar.gz: 091913be55b8bba88a4a02659d10b0d31ba88ef2
5
5
  SHA512:
6
- metadata.gz: c9c405109cb4ba256ca7a19132b3816e70895aff0df2652b5d48f2bd56a77be23d200e93d09f43ad08b66da404825bf32c6b9def93f8a61a47036c8ab4172f5c
7
- data.tar.gz: fcb2457ac76ddedcbd1e143c3c14eb8dcd657f6a494eddb3ce69dab8baf180289d03740d29bb8dc61368397683b316c03e35a12c03a2301cf14e0a0792cf448a
6
+ metadata.gz: eea6c335451371687836899fa3690b9dade229d0452ee92e966c2afd7b9da99bc75c556cd4f0eb70f36f7c5c1d608ea217ad0836e2d436bb1fc7beba17595315
7
+ data.tar.gz: a6f39422d50728f71fa975fbc2c640325266f468f3b7fea5d2b731c071d27740a55354efa8e84dbce4a6726eef1e2952d2cdec9de3cecdef8a68f2bb025d8ad0
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.2.5"
6
+ s.version = "2.2.6"
7
7
  s.date = Time.now
8
8
  s.summary = "Logentries plugin"
9
9
  s.description =<<EOD
data/lib/le.rb CHANGED
@@ -11,11 +11,12 @@ module Le
11
11
  opt_local = options[:local] || false
12
12
  opt_debug = options[:debug] || false
13
13
  opt_ssl = options[:ssl] || false
14
+ opt_tag = options[:tag] || false
14
15
  opt_log_level = options[:log_level] || Logger::DEBUG
15
16
 
16
17
  host = Le::Host.new(token, opt_local, opt_debug, opt_ssl)
17
18
 
18
- if defined?(ActiveSupport::TaggedLogging)
19
+ if defined?(ActiveSupport::TaggedLogging) && opt_tag
19
20
  logger = ActiveSupport::TaggedLogging.new(Logger.new(host))
20
21
  elsif defined?(ActiveSupport::Logger)
21
22
  logger = ActiveSupport::Logger.new(host)
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.2.5
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Lacomber