logsly 1.3.0 → 1.3.1

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
- ---
2
- SHA1:
3
- data.tar.gz: fdb3d320ab7c960ead493dea3487d22b888ec334
4
- metadata.gz: 6597d31a9454d9c6975c24133145cfc5585f3437
5
- SHA512:
6
- data.tar.gz: 3570c61158197b4135d4ace0867444427ddfdb23c068fb13462495823bc8f2e04c95e34e2d5d75080d1f75cc4714bc9c45f609a432699edc68c55e327057ae69
7
- metadata.gz: b18fd5ea0718979700ff59bcb56b8a4f54488c2668e185c9963fa26c519adc92096ad29adfe18b551ef7c771e425afefc851c369c8e3a4beac2c5dcef6bac24f
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a6fb81dcdd7bdd7d8a54f580cfb2ff1cf50b49c2
4
+ data.tar.gz: 32a14a9bdc056b017ce4f94afcadc8d7e5071097
5
+ SHA512:
6
+ metadata.gz: 116b8a552a2465b1383e2b02ed2d6e3cce98d1b35935699b642c9e0dbc53a6c31e48cf5d591eb21d40a3bbe8706a55ecf7152c27bf5bf2c2fa604f3a967cece6
7
+ data.tar.gz: 19acb1d89951d83a7fcbaf726ce820d286f75a902856ec2a866679778671f624aa88d5a64efe3ff379273000e1e7a1505798f3b13b1ea672fb4da84382179735
@@ -515,7 +515,7 @@ module Logsly::Logging182::Layouts
515
515
  fmt = color_scheme.color(fmt, COLOR_ALIAS_TABLE[directive]) if colorize?
516
516
 
517
517
  format_string << fmt
518
- sprintf_args << "::Logging.mdc['#{key}']"
518
+ sprintf_args << "Logsly::Logging182.mdc['#{key}']"
519
519
 
520
520
  nil
521
521
  end
@@ -537,7 +537,7 @@ module Logsly::Logging182::Layouts
537
537
  format_string << fmt
538
538
  separator = separator.to_s
539
539
  separator = ' ' if separator.empty?
540
- sprintf_args << "::Logging.ndc.context.join('#{separator}')"
540
+ sprintf_args << "Logsly::Logging182.ndc.context.join('#{separator}')"
541
541
 
542
542
  nil
543
543
  end
@@ -1,3 +1,3 @@
1
1
  module Logsly
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
@@ -49,12 +49,12 @@ module Logsly::Outputs
49
49
  end
50
50
 
51
51
  should "build a Logsly::Logging182 pattern layout" do
52
- data = BaseData.new('[%c{2}] [%l] %d : %m :\n', &@out.build)
52
+ data = BaseData.new('[%c{2}] [%l] %d : %m : %X{test} : %x :\n', &@out.build)
53
53
  lay = subject.to_layout(data)
54
54
 
55
55
  assert_kind_of Logsly::Logging182::Layout, lay
56
56
  assert_kind_of Logsly::Logging182::ColorScheme, lay.color_scheme
57
- assert_equal '[%c{2}] [%l] %d : %m :\n', lay.pattern
57
+ assert_equal '[%c{2}] [%l] %d : %m : %X{test} : %x :\n', lay.pattern
58
58
 
59
59
  assert_nothing_raised do
60
60
  event = ::Logsly::Logging182::LogEvent.new(
metadata CHANGED
@@ -1,69 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: logsly
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.1
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Kelly Redding
8
8
  - Collin Redding
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2016-06-17 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2016-06-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: assert
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
22
20
  version: 2.16.1
23
21
  type: :development
24
- version_requirements: *id001
25
- - !ruby/object:Gem::Dependency
26
- name: much-plugin
27
22
  prerelease: false
28
- requirement: &id002 !ruby/object:Gem::Requirement
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 2.16.1
28
+ - !ruby/object:Gem::Dependency
29
+ name: much-plugin
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
32
34
  version: 0.2.0
33
35
  type: :runtime
34
- version_requirements: *id002
35
- - !ruby/object:Gem::Dependency
36
- name: little-plugger
37
36
  prerelease: false
38
- requirement: &id003 !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ~>
41
- - !ruby/object:Gem::Version
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 0.2.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: little-plugger
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
42
48
  version: 1.1.4
43
49
  type: :runtime
44
- version_requirements: *id003
45
- - !ruby/object:Gem::Dependency
46
- name: multi_json
47
50
  prerelease: false
48
- requirement: &id004 !ruby/object:Gem::Requirement
49
- requirements:
50
- - - ~>
51
- - !ruby/object:Gem::Version
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 1.1.4
56
+ - !ruby/object:Gem::Dependency
57
+ name: multi_json
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
52
62
  version: 1.12.1
53
63
  type: :runtime
54
- version_requirements: *id004
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 1.12.1
55
70
  description: Create custom loggers.
56
- email:
71
+ email:
57
72
  - kelly@kellyredding.com
58
73
  - collin.redding@me.com
59
74
  executables: []
60
-
61
75
  extensions: []
62
-
63
76
  extra_rdoc_files: []
64
-
65
- files:
66
- - .gitignore
77
+ files:
78
+ - ".gitignore"
67
79
  - Gemfile
68
80
  - LICENSE
69
81
  - README.md
@@ -110,32 +122,30 @@ files:
110
122
  - test/unit/outputs_tests.rb
111
123
  - tmp/.gitkeep
112
124
  homepage: http://github.com/redding/logsly
113
- licenses:
125
+ licenses:
114
126
  - MIT
115
127
  metadata: {}
116
-
117
128
  post_install_message:
118
129
  rdoc_options: []
119
-
120
- require_paths:
130
+ require_paths:
121
131
  - lib
122
- required_ruby_version: !ruby/object:Gem::Requirement
123
- requirements:
124
- - &id005
125
- - ">="
126
- - !ruby/object:Gem::Version
127
- version: "0"
128
- required_rubygems_version: !ruby/object:Gem::Requirement
129
- requirements:
130
- - *id005
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ required_rubygems_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
131
142
  requirements: []
132
-
133
143
  rubyforge_project:
134
144
  rubygems_version: 2.6.4
135
145
  signing_key:
136
146
  specification_version: 4
137
147
  summary: Create custom loggers.
138
- test_files:
148
+ test_files:
139
149
  - test/helper.rb
140
150
  - test/support/factory.rb
141
151
  - test/support/logger.rb