le 2.2.5 → 2.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LE.gemspec +1 -1
- data/lib/le.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e33aa12863a40a88637ef6f7214b555f42aba2
|
4
|
+
data.tar.gz: 091913be55b8bba88a4a02659d10b0d31ba88ef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eea6c335451371687836899fa3690b9dade229d0452ee92e966c2afd7b9da99bc75c556cd4f0eb70f36f7c5c1d608ea217ad0836e2d436bb1fc7beba17595315
|
7
|
+
data.tar.gz: a6f39422d50728f71fa975fbc2c640325266f468f3b7fea5d2b731c071d27740a55354efa8e84dbce4a6726eef1e2952d2cdec9de3cecdef8a68f2bb025d8ad0
|
data/LE.gemspec
CHANGED
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)
|