loga 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +25 -0
- data/.rspec +2 -0
- data/.rubocop.yml +19 -0
- data/.rubocop_todo.yml +33 -0
- data/Appraisals +14 -0
- data/Gemfile +8 -0
- data/README.md +147 -0
- data/Rakefile +9 -0
- data/circle.yml +23 -0
- data/gemfiles/rails32.gemfile +11 -0
- data/gemfiles/rails40.gemfile +11 -0
- data/gemfiles/sinatra14.gemfile +11 -0
- data/gemfiles/unit.gemfile +9 -0
- data/lib/loga.rb +33 -0
- data/lib/loga/configuration.rb +96 -0
- data/lib/loga/event.rb +21 -0
- data/lib/loga/ext/rails/rack/logger3.rb +21 -0
- data/lib/loga/ext/rails/rack/logger4.rb +13 -0
- data/lib/loga/formatter.rb +104 -0
- data/lib/loga/parameter_filter.rb +65 -0
- data/lib/loga/rack/logger.rb +102 -0
- data/lib/loga/rack/request.rb +77 -0
- data/lib/loga/rack/request_id.rb +44 -0
- data/lib/loga/railtie.rb +139 -0
- data/lib/loga/tagged_logging.rb +76 -0
- data/lib/loga/utilities.rb +7 -0
- data/lib/loga/version.rb +3 -0
- data/loga.gemspec +31 -0
- data/spec/fixtures/README.md +8 -0
- data/spec/fixtures/rails32/Rakefile +7 -0
- data/spec/fixtures/rails32/app/controllers/application_controller.rb +28 -0
- data/spec/fixtures/rails32/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/rails32/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/rails32/app/views/user.html.erb +1 -0
- data/spec/fixtures/rails32/config.ru +4 -0
- data/spec/fixtures/rails32/config/application.rb +71 -0
- data/spec/fixtures/rails32/config/boot.rb +6 -0
- data/spec/fixtures/rails32/config/environment.rb +5 -0
- data/spec/fixtures/rails32/config/environments/development.rb +26 -0
- data/spec/fixtures/rails32/config/environments/production.rb +50 -0
- data/spec/fixtures/rails32/config/environments/test.rb +35 -0
- data/spec/fixtures/rails32/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/rails32/config/initializers/inflections.rb +15 -0
- data/spec/fixtures/rails32/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/rails32/config/initializers/secret_token.rb +7 -0
- data/spec/fixtures/rails32/config/initializers/session_store.rb +8 -0
- data/spec/fixtures/rails32/config/initializers/wrap_parameters.rb +10 -0
- data/spec/fixtures/rails32/config/locales/en.yml +5 -0
- data/spec/fixtures/rails32/config/routes.rb +64 -0
- data/spec/fixtures/rails32/public/404.html +26 -0
- data/spec/fixtures/rails32/public/422.html +26 -0
- data/spec/fixtures/rails32/public/500.html +25 -0
- data/spec/fixtures/rails32/public/favicon.ico +0 -0
- data/spec/fixtures/rails32/public/index.html +241 -0
- data/spec/fixtures/rails32/public/robots.txt +5 -0
- data/spec/fixtures/rails32/script/rails +6 -0
- data/spec/fixtures/rails40/Rakefile +6 -0
- data/spec/fixtures/rails40/app/controllers/application_controller.rb +30 -0
- data/spec/fixtures/rails40/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/rails40/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/rails40/app/views/user.html.erb +1 -0
- data/spec/fixtures/rails40/bin/bundle +3 -0
- data/spec/fixtures/rails40/bin/rails +4 -0
- data/spec/fixtures/rails40/bin/rake +4 -0
- data/spec/fixtures/rails40/config.ru +4 -0
- data/spec/fixtures/rails40/config/application.rb +37 -0
- data/spec/fixtures/rails40/config/boot.rb +4 -0
- data/spec/fixtures/rails40/config/environment.rb +5 -0
- data/spec/fixtures/rails40/config/environments/development.rb +24 -0
- data/spec/fixtures/rails40/config/environments/production.rb +65 -0
- data/spec/fixtures/rails40/config/environments/test.rb +39 -0
- data/spec/fixtures/rails40/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/rails40/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/rails40/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/rails40/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/rails40/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/rails40/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/rails40/config/initializers/wrap_parameters.rb +9 -0
- data/spec/fixtures/rails40/config/locales/en.yml +23 -0
- data/spec/fixtures/rails40/config/routes.rb +62 -0
- data/spec/fixtures/rails40/public/404.html +58 -0
- data/spec/fixtures/rails40/public/422.html +58 -0
- data/spec/fixtures/rails40/public/500.html +57 -0
- data/spec/fixtures/rails40/public/favicon.ico +0 -0
- data/spec/fixtures/rails40/public/robots.txt +5 -0
- data/spec/integration/rails/railtie_spec.rb +64 -0
- data/spec/integration/rails/request_spec.rb +42 -0
- data/spec/integration/sinatra_spec.rb +54 -0
- data/spec/spec_helper.rb +39 -0
- data/spec/support/helpers.rb +16 -0
- data/spec/support/request_spec.rb +183 -0
- data/spec/support/timecop_shared.rb +7 -0
- data/spec/unit/loga/configuration_spec.rb +123 -0
- data/spec/unit/loga/event_spec.rb +20 -0
- data/spec/unit/loga/formatter_spec.rb +186 -0
- data/spec/unit/loga/parameter_filter_spec.rb +76 -0
- data/spec/unit/loga/rack/logger_spec.rb +114 -0
- data/spec/unit/loga/rack/request_spec.rb +70 -0
- data/spec/unit/loga/utilities_spec.rb +16 -0
- data/spec/unit/loga_spec.rb +41 -0
- metadata +357 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Loga::Rack::Request do
|
4
|
+
let(:options) { {} }
|
5
|
+
let(:full_path) { '/' }
|
6
|
+
let(:env) { Rack::MockRequest.env_for(full_path, options) }
|
7
|
+
|
8
|
+
subject { described_class.new(env) }
|
9
|
+
|
10
|
+
describe '#uuid' do
|
11
|
+
let(:action_dispatch_request_id) { 'ABCD' }
|
12
|
+
|
13
|
+
context 'when ACTION_DISPATCH_REQUEST_ID present' do
|
14
|
+
let(:options) do
|
15
|
+
{ 'action_dispatch.request_id' => action_dispatch_request_id }
|
16
|
+
end
|
17
|
+
it 'returns the middleware value' do
|
18
|
+
expect(subject.uuid).to eq(action_dispatch_request_id)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
context 'when ACTION_DISPATCH_REQUEST_ID blank' do
|
23
|
+
it 'returns nil' do
|
24
|
+
expect(subject.uuid).to be_nil
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe '#original_path' do
|
30
|
+
let(:path) { 'users/5/oranges' }
|
31
|
+
let(:options) { { 'loga.request.original_path' => path } }
|
32
|
+
|
33
|
+
it 'returns path based on loga request env' do
|
34
|
+
expect(subject.original_path).to eq(path)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe '#filtered_full_path' do
|
39
|
+
let(:config) { double :config, filter_parameters: [:password] }
|
40
|
+
|
41
|
+
let(:path) { '/hello' }
|
42
|
+
let(:query) { { 'password' => 123, 'color' => 'red' } }
|
43
|
+
let(:query_string) { Rack::Utils.build_query(query) }
|
44
|
+
let(:full_path) { "#{path}?#{query_string}" }
|
45
|
+
|
46
|
+
let(:options) { { 'loga.request.original_path' => path } }
|
47
|
+
|
48
|
+
before do
|
49
|
+
allow(Loga).to receive(:configuration).and_return(config)
|
50
|
+
end
|
51
|
+
|
52
|
+
context 'request with sensitive parameters' do
|
53
|
+
it 'returns the path with sensitive parameters filtered' do
|
54
|
+
expect(subject.filtered_full_path).to eq('/hello?password=[FILTERED]&color=red')
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'memoizes the result' do
|
59
|
+
expect(subject.filtered_full_path).to equal(subject.filtered_full_path)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe '#filtered_parameters' do
|
64
|
+
pending 'returns both query and form filered parameters'
|
65
|
+
|
66
|
+
it 'memoizes the result' do
|
67
|
+
expect(subject.filtered_parameters).to equal(subject.filtered_parameters)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Loga::Utilities do
|
4
|
+
subject { Object.new.extend(Loga::Utilities) }
|
5
|
+
|
6
|
+
describe 'duration_in_ms#(started_at, ended_at)' do
|
7
|
+
let(:start_time) { Time.new(2002, 10, 31, 2, 2, 2.0) }
|
8
|
+
let(:end_time) { Time.new(2002, 10, 31, 2, 2, 2.6789) }
|
9
|
+
|
10
|
+
subject { super().duration_in_ms(start_time, end_time) }
|
11
|
+
|
12
|
+
it 'calculates elapsed time rounding the nearest millisecond' do
|
13
|
+
expect(subject).to eq(679)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Loga do
|
4
|
+
before { described_class.reset }
|
5
|
+
|
6
|
+
describe '.configuration' do
|
7
|
+
specify { expect(subject.configuration).to be_instance_of(Loga::Configuration) }
|
8
|
+
|
9
|
+
it 'memoizes the result' do
|
10
|
+
expect(subject.configuration).to equal(subject.configuration)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
describe '.configure' do
|
15
|
+
it 'configures Loga' do
|
16
|
+
expect { |b| subject.configure(&b) }.to yield_with_args(subject.configuration)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe '.initialize!' do
|
21
|
+
it 'initializes Loga' do
|
22
|
+
expect { subject.initialize! }.to_not raise_error
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe '.logger' do
|
27
|
+
context 'when Loga is not initialized' do
|
28
|
+
specify { expect(subject.logger).to be_nil }
|
29
|
+
end
|
30
|
+
context 'when Loga is initialized' do
|
31
|
+
before { Loga.initialize! }
|
32
|
+
specify { expect(subject.logger).to be_kind_of(Logger) }
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe '.reset' do
|
37
|
+
it 'resets the configuration' do
|
38
|
+
expect { subject.reset }.to change { subject.configuration.object_id }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
metadata
ADDED
@@ -0,0 +1,357 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: loga
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Funding Circle
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.3.8
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.3.8
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: appraisal
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.0.2
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.0.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rack-test
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 3.0.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 3.0.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.30.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.30.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: timecop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description: Log aggregation through unified logging middleware, while respecting
|
154
|
+
the original log format.
|
155
|
+
email:
|
156
|
+
- engineering@fundingcircle.com
|
157
|
+
executables: []
|
158
|
+
extensions: []
|
159
|
+
extra_rdoc_files: []
|
160
|
+
files:
|
161
|
+
- ".gitignore"
|
162
|
+
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
164
|
+
- ".rubocop_todo.yml"
|
165
|
+
- Appraisals
|
166
|
+
- Gemfile
|
167
|
+
- README.md
|
168
|
+
- Rakefile
|
169
|
+
- circle.yml
|
170
|
+
- gemfiles/rails32.gemfile
|
171
|
+
- gemfiles/rails40.gemfile
|
172
|
+
- gemfiles/sinatra14.gemfile
|
173
|
+
- gemfiles/unit.gemfile
|
174
|
+
- lib/loga.rb
|
175
|
+
- lib/loga/configuration.rb
|
176
|
+
- lib/loga/event.rb
|
177
|
+
- lib/loga/ext/rails/rack/logger3.rb
|
178
|
+
- lib/loga/ext/rails/rack/logger4.rb
|
179
|
+
- lib/loga/formatter.rb
|
180
|
+
- lib/loga/parameter_filter.rb
|
181
|
+
- lib/loga/rack/logger.rb
|
182
|
+
- lib/loga/rack/request.rb
|
183
|
+
- lib/loga/rack/request_id.rb
|
184
|
+
- lib/loga/railtie.rb
|
185
|
+
- lib/loga/tagged_logging.rb
|
186
|
+
- lib/loga/utilities.rb
|
187
|
+
- lib/loga/version.rb
|
188
|
+
- loga.gemspec
|
189
|
+
- spec/fixtures/README.md
|
190
|
+
- spec/fixtures/rails32/Rakefile
|
191
|
+
- spec/fixtures/rails32/app/controllers/application_controller.rb
|
192
|
+
- spec/fixtures/rails32/app/helpers/application_helper.rb
|
193
|
+
- spec/fixtures/rails32/app/views/layouts/application.html.erb
|
194
|
+
- spec/fixtures/rails32/app/views/user.html.erb
|
195
|
+
- spec/fixtures/rails32/config.ru
|
196
|
+
- spec/fixtures/rails32/config/application.rb
|
197
|
+
- spec/fixtures/rails32/config/boot.rb
|
198
|
+
- spec/fixtures/rails32/config/environment.rb
|
199
|
+
- spec/fixtures/rails32/config/environments/development.rb
|
200
|
+
- spec/fixtures/rails32/config/environments/production.rb
|
201
|
+
- spec/fixtures/rails32/config/environments/test.rb
|
202
|
+
- spec/fixtures/rails32/config/initializers/backtrace_silencers.rb
|
203
|
+
- spec/fixtures/rails32/config/initializers/inflections.rb
|
204
|
+
- spec/fixtures/rails32/config/initializers/mime_types.rb
|
205
|
+
- spec/fixtures/rails32/config/initializers/secret_token.rb
|
206
|
+
- spec/fixtures/rails32/config/initializers/session_store.rb
|
207
|
+
- spec/fixtures/rails32/config/initializers/wrap_parameters.rb
|
208
|
+
- spec/fixtures/rails32/config/locales/en.yml
|
209
|
+
- spec/fixtures/rails32/config/routes.rb
|
210
|
+
- spec/fixtures/rails32/public/404.html
|
211
|
+
- spec/fixtures/rails32/public/422.html
|
212
|
+
- spec/fixtures/rails32/public/500.html
|
213
|
+
- spec/fixtures/rails32/public/favicon.ico
|
214
|
+
- spec/fixtures/rails32/public/index.html
|
215
|
+
- spec/fixtures/rails32/public/robots.txt
|
216
|
+
- spec/fixtures/rails32/script/rails
|
217
|
+
- spec/fixtures/rails40/Rakefile
|
218
|
+
- spec/fixtures/rails40/app/controllers/application_controller.rb
|
219
|
+
- spec/fixtures/rails40/app/helpers/application_helper.rb
|
220
|
+
- spec/fixtures/rails40/app/views/layouts/application.html.erb
|
221
|
+
- spec/fixtures/rails40/app/views/user.html.erb
|
222
|
+
- spec/fixtures/rails40/bin/bundle
|
223
|
+
- spec/fixtures/rails40/bin/rails
|
224
|
+
- spec/fixtures/rails40/bin/rake
|
225
|
+
- spec/fixtures/rails40/config.ru
|
226
|
+
- spec/fixtures/rails40/config/application.rb
|
227
|
+
- spec/fixtures/rails40/config/boot.rb
|
228
|
+
- spec/fixtures/rails40/config/environment.rb
|
229
|
+
- spec/fixtures/rails40/config/environments/development.rb
|
230
|
+
- spec/fixtures/rails40/config/environments/production.rb
|
231
|
+
- spec/fixtures/rails40/config/environments/test.rb
|
232
|
+
- spec/fixtures/rails40/config/initializers/backtrace_silencers.rb
|
233
|
+
- spec/fixtures/rails40/config/initializers/filter_parameter_logging.rb
|
234
|
+
- spec/fixtures/rails40/config/initializers/inflections.rb
|
235
|
+
- spec/fixtures/rails40/config/initializers/mime_types.rb
|
236
|
+
- spec/fixtures/rails40/config/initializers/secret_token.rb
|
237
|
+
- spec/fixtures/rails40/config/initializers/session_store.rb
|
238
|
+
- spec/fixtures/rails40/config/initializers/wrap_parameters.rb
|
239
|
+
- spec/fixtures/rails40/config/locales/en.yml
|
240
|
+
- spec/fixtures/rails40/config/routes.rb
|
241
|
+
- spec/fixtures/rails40/public/404.html
|
242
|
+
- spec/fixtures/rails40/public/422.html
|
243
|
+
- spec/fixtures/rails40/public/500.html
|
244
|
+
- spec/fixtures/rails40/public/favicon.ico
|
245
|
+
- spec/fixtures/rails40/public/robots.txt
|
246
|
+
- spec/integration/rails/railtie_spec.rb
|
247
|
+
- spec/integration/rails/request_spec.rb
|
248
|
+
- spec/integration/sinatra_spec.rb
|
249
|
+
- spec/spec_helper.rb
|
250
|
+
- spec/support/helpers.rb
|
251
|
+
- spec/support/request_spec.rb
|
252
|
+
- spec/support/timecop_shared.rb
|
253
|
+
- spec/unit/loga/configuration_spec.rb
|
254
|
+
- spec/unit/loga/event_spec.rb
|
255
|
+
- spec/unit/loga/formatter_spec.rb
|
256
|
+
- spec/unit/loga/parameter_filter_spec.rb
|
257
|
+
- spec/unit/loga/rack/logger_spec.rb
|
258
|
+
- spec/unit/loga/rack/request_spec.rb
|
259
|
+
- spec/unit/loga/utilities_spec.rb
|
260
|
+
- spec/unit/loga_spec.rb
|
261
|
+
homepage: https://github.com/FundingCircle/loga
|
262
|
+
licenses: []
|
263
|
+
metadata: {}
|
264
|
+
post_install_message:
|
265
|
+
rdoc_options: []
|
266
|
+
require_paths:
|
267
|
+
- lib
|
268
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
269
|
+
requirements:
|
270
|
+
- - ">="
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: '0'
|
273
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
278
|
+
requirements: []
|
279
|
+
rubyforge_project:
|
280
|
+
rubygems_version: 2.5.1
|
281
|
+
signing_key:
|
282
|
+
specification_version: 4
|
283
|
+
summary: Facilitate log aggregation via unified logging
|
284
|
+
test_files:
|
285
|
+
- spec/fixtures/README.md
|
286
|
+
- spec/fixtures/rails32/Rakefile
|
287
|
+
- spec/fixtures/rails32/app/controllers/application_controller.rb
|
288
|
+
- spec/fixtures/rails32/app/helpers/application_helper.rb
|
289
|
+
- spec/fixtures/rails32/app/views/layouts/application.html.erb
|
290
|
+
- spec/fixtures/rails32/app/views/user.html.erb
|
291
|
+
- spec/fixtures/rails32/config.ru
|
292
|
+
- spec/fixtures/rails32/config/application.rb
|
293
|
+
- spec/fixtures/rails32/config/boot.rb
|
294
|
+
- spec/fixtures/rails32/config/environment.rb
|
295
|
+
- spec/fixtures/rails32/config/environments/development.rb
|
296
|
+
- spec/fixtures/rails32/config/environments/production.rb
|
297
|
+
- spec/fixtures/rails32/config/environments/test.rb
|
298
|
+
- spec/fixtures/rails32/config/initializers/backtrace_silencers.rb
|
299
|
+
- spec/fixtures/rails32/config/initializers/inflections.rb
|
300
|
+
- spec/fixtures/rails32/config/initializers/mime_types.rb
|
301
|
+
- spec/fixtures/rails32/config/initializers/secret_token.rb
|
302
|
+
- spec/fixtures/rails32/config/initializers/session_store.rb
|
303
|
+
- spec/fixtures/rails32/config/initializers/wrap_parameters.rb
|
304
|
+
- spec/fixtures/rails32/config/locales/en.yml
|
305
|
+
- spec/fixtures/rails32/config/routes.rb
|
306
|
+
- spec/fixtures/rails32/public/404.html
|
307
|
+
- spec/fixtures/rails32/public/422.html
|
308
|
+
- spec/fixtures/rails32/public/500.html
|
309
|
+
- spec/fixtures/rails32/public/favicon.ico
|
310
|
+
- spec/fixtures/rails32/public/index.html
|
311
|
+
- spec/fixtures/rails32/public/robots.txt
|
312
|
+
- spec/fixtures/rails32/script/rails
|
313
|
+
- spec/fixtures/rails40/Rakefile
|
314
|
+
- spec/fixtures/rails40/app/controllers/application_controller.rb
|
315
|
+
- spec/fixtures/rails40/app/helpers/application_helper.rb
|
316
|
+
- spec/fixtures/rails40/app/views/layouts/application.html.erb
|
317
|
+
- spec/fixtures/rails40/app/views/user.html.erb
|
318
|
+
- spec/fixtures/rails40/bin/bundle
|
319
|
+
- spec/fixtures/rails40/bin/rails
|
320
|
+
- spec/fixtures/rails40/bin/rake
|
321
|
+
- spec/fixtures/rails40/config.ru
|
322
|
+
- spec/fixtures/rails40/config/application.rb
|
323
|
+
- spec/fixtures/rails40/config/boot.rb
|
324
|
+
- spec/fixtures/rails40/config/environment.rb
|
325
|
+
- spec/fixtures/rails40/config/environments/development.rb
|
326
|
+
- spec/fixtures/rails40/config/environments/production.rb
|
327
|
+
- spec/fixtures/rails40/config/environments/test.rb
|
328
|
+
- spec/fixtures/rails40/config/initializers/backtrace_silencers.rb
|
329
|
+
- spec/fixtures/rails40/config/initializers/filter_parameter_logging.rb
|
330
|
+
- spec/fixtures/rails40/config/initializers/inflections.rb
|
331
|
+
- spec/fixtures/rails40/config/initializers/mime_types.rb
|
332
|
+
- spec/fixtures/rails40/config/initializers/secret_token.rb
|
333
|
+
- spec/fixtures/rails40/config/initializers/session_store.rb
|
334
|
+
- spec/fixtures/rails40/config/initializers/wrap_parameters.rb
|
335
|
+
- spec/fixtures/rails40/config/locales/en.yml
|
336
|
+
- spec/fixtures/rails40/config/routes.rb
|
337
|
+
- spec/fixtures/rails40/public/404.html
|
338
|
+
- spec/fixtures/rails40/public/422.html
|
339
|
+
- spec/fixtures/rails40/public/500.html
|
340
|
+
- spec/fixtures/rails40/public/favicon.ico
|
341
|
+
- spec/fixtures/rails40/public/robots.txt
|
342
|
+
- spec/integration/rails/railtie_spec.rb
|
343
|
+
- spec/integration/rails/request_spec.rb
|
344
|
+
- spec/integration/sinatra_spec.rb
|
345
|
+
- spec/spec_helper.rb
|
346
|
+
- spec/support/helpers.rb
|
347
|
+
- spec/support/request_spec.rb
|
348
|
+
- spec/support/timecop_shared.rb
|
349
|
+
- spec/unit/loga/configuration_spec.rb
|
350
|
+
- spec/unit/loga/event_spec.rb
|
351
|
+
- spec/unit/loga/formatter_spec.rb
|
352
|
+
- spec/unit/loga/parameter_filter_spec.rb
|
353
|
+
- spec/unit/loga/rack/logger_spec.rb
|
354
|
+
- spec/unit/loga/rack/request_spec.rb
|
355
|
+
- spec/unit/loga/utilities_spec.rb
|
356
|
+
- spec/unit/loga_spec.rb
|
357
|
+
has_rdoc:
|