log_runes 1.4 → 1.5

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: 442df79d8ba45c5d5958d37cd46a20edbdfc8ab5
4
- data.tar.gz: dee577e80bcb1bc4729b3204c255eadf5ac29483
3
+ metadata.gz: 42852daf149196c129221a1e38c320759171f792
4
+ data.tar.gz: e5a5241c86e7214435fdb0f9b45091824bec7871
5
5
  SHA512:
6
- metadata.gz: 9ba0118e67db439fda71f6ec0c5cf7cc4ce1b4525290893a07cf25c618afad141d90609916cb97bb60ebba634bbfb9c39b903cd472b305558286dc4f1eb88815
7
- data.tar.gz: 7d73563cbe91eb46030f701fd5f4d0ed9fbf2fefa29ef167b187deead208026406b1ffe849d36b8699d4cfc37a3381081451442c27de7efc1a9f291e471f23e7
6
+ metadata.gz: 4117c70856ef54328989fdc6fcffe2afcd1014dc7ded3aa0519d71c5b98cdd794dc679f4ab34e9e9ceefbcaca0659b8006e611adc7a2ef90aaa73f6230e48b23
7
+ data.tar.gz: 36d989ad147451d2e6e890fe2e9ecfe3ff5d9f56e17dc5921a2be6ba88867e7a7bf51c6108b59f48bdf51bce069efe72b001dde331ad167c8bf3ad87b044bf87
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ **1.5** (September 1, 2016)
2
+
3
+ * Use ActiveSupport::Logger for compatibility with Rails 5 quiet asset configuration.
@@ -5,14 +5,14 @@ class LoggerFactory
5
5
 
6
6
  if Rails.env.development? || Rails.env.test?
7
7
  # Use a stdout logger to avoid piling up a mostly useless giant log file
8
- stdout_logger = Logger.new(STDOUT)
8
+ stdout_logger = ActiveSupport::Logger.new(STDOUT)
9
9
  config.logger = ActiveSupport::TaggedLogging.new(stdout_logger)
10
10
  return
11
11
  end
12
12
 
13
13
  log_base = opts[:dir] || "#{Rails.root}/log"
14
14
  log_name = opts[:name] || Rails.env
15
- l = Logger.new("#{log_base}/#{log_name}.log", 'daily')
15
+ l = ActiveSupport::Logger.new("#{log_base}/#{log_name}.log", 'daily')
16
16
 
17
17
  config.logger = opts[:not_tagged] ? l : ActiveSupport::TaggedLogging.new(l)
18
18
 
@@ -1,3 +1,3 @@
1
1
  module LogRunes
2
- VERSION = "1.4"
2
+ VERSION = "1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_runes
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.4'
4
+ version: '1.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - wlipa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-17 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Encodes session and request ids into the Rails log output using Unicode
14
14
  single-width characters, thereby using only a minimum amount of column width but
@@ -20,6 +20,7 @@ extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
22
  - ".gitignore"
23
+ - CHANGELOG.md
23
24
  - Gemfile
24
25
  - LICENSE.txt
25
26
  - README.md
@@ -49,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
50
  version: '0'
50
51
  requirements: []
51
52
  rubyforge_project:
52
- rubygems_version: 2.4.5
53
+ rubygems_version: 2.6.6
53
54
  signing_key:
54
55
  specification_version: 4
55
56
  summary: Encodes session and request ids into the Rails log output for easy grepping