loga 2.1.2 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +157 -0
  3. data/.codeclimate.yml +4 -0
  4. data/.gitignore +2 -0
  5. data/.rubocop.yml +13 -8
  6. data/Appraisals +16 -6
  7. data/CHANGELOG.md +7 -0
  8. data/Gemfile +0 -1
  9. data/Guardfile +8 -6
  10. data/README.md +1 -0
  11. data/Rakefile +1 -1
  12. data/gemfiles/rails32.gemfile +1 -2
  13. data/gemfiles/rails40.gemfile +1 -2
  14. data/gemfiles/rails42.gemfile +11 -0
  15. data/gemfiles/rails50.gemfile +1 -2
  16. data/gemfiles/rails52.gemfile +11 -0
  17. data/gemfiles/sinatra14.gemfile +1 -2
  18. data/gemfiles/unit.gemfile +1 -2
  19. data/lib/loga.rb +4 -2
  20. data/lib/loga/configuration.rb +5 -5
  21. data/lib/loga/ext/rails/rack/debug_exceptions.rb +1 -2
  22. data/lib/loga/formatters/simple_formatter.rb +1 -1
  23. data/lib/loga/log_subscribers/action_mailer.rb +59 -0
  24. data/lib/loga/rack/logger.rb +1 -1
  25. data/lib/loga/rack/request_id.rb +2 -2
  26. data/lib/loga/railtie.rb +22 -9
  27. data/lib/loga/version.rb +1 -1
  28. data/loga.gemspec +9 -8
  29. data/spec/fixtures/README.md +23 -3
  30. data/spec/fixtures/rails32.rb +79 -0
  31. data/spec/fixtures/rails40.rb +80 -0
  32. data/spec/fixtures/rails42.rb +80 -0
  33. data/spec/fixtures/rails50.rb +80 -0
  34. data/spec/fixtures/rails52.rb +80 -0
  35. data/spec/integration/rails/action_mailer_spec.rb +63 -0
  36. data/spec/integration/rails/railtie_spec.rb +15 -0
  37. data/spec/integration/sinatra_spec.rb +2 -2
  38. data/spec/spec_helper.rb +7 -8
  39. data/spec/support/gethostname_shared.rb +7 -0
  40. data/spec/support/helpers.rb +0 -4
  41. data/spec/unit/loga/configuration_spec.rb +4 -4
  42. data/spec/unit/loga/formatters/gelf_formatter_spec.rb +1 -1
  43. data/spec/unit/loga/formatters/simple_formatter_spec.rb +2 -2
  44. data/spec/unit/loga/log_subscribers/action_mailer_spec.rb +69 -0
  45. data/spec/unit/loga/rack/logger_spec.rb +1 -1
  46. data/spec/unit/loga_spec.rb +1 -1
  47. metadata +71 -225
  48. data/circle.yml +0 -23
  49. data/spec/fixtures/rails32/Rakefile +0 -7
  50. data/spec/fixtures/rails32/app/controllers/application_controller.rb +0 -28
  51. data/spec/fixtures/rails32/app/helpers/application_helper.rb +0 -2
  52. data/spec/fixtures/rails32/app/views/layouts/application.html.erb +0 -14
  53. data/spec/fixtures/rails32/app/views/user.html.erb +0 -1
  54. data/spec/fixtures/rails32/config.ru +0 -4
  55. data/spec/fixtures/rails32/config/application.rb +0 -71
  56. data/spec/fixtures/rails32/config/boot.rb +0 -6
  57. data/spec/fixtures/rails32/config/environment.rb +0 -5
  58. data/spec/fixtures/rails32/config/environments/development.rb +0 -26
  59. data/spec/fixtures/rails32/config/environments/production.rb +0 -50
  60. data/spec/fixtures/rails32/config/environments/test.rb +0 -35
  61. data/spec/fixtures/rails32/config/initializers/backtrace_silencers.rb +0 -7
  62. data/spec/fixtures/rails32/config/initializers/inflections.rb +0 -15
  63. data/spec/fixtures/rails32/config/initializers/mime_types.rb +0 -5
  64. data/spec/fixtures/rails32/config/initializers/secret_token.rb +0 -7
  65. data/spec/fixtures/rails32/config/initializers/session_store.rb +0 -8
  66. data/spec/fixtures/rails32/config/initializers/wrap_parameters.rb +0 -10
  67. data/spec/fixtures/rails32/config/locales/en.yml +0 -5
  68. data/spec/fixtures/rails32/config/routes.rb +0 -64
  69. data/spec/fixtures/rails32/public/404.html +0 -26
  70. data/spec/fixtures/rails32/public/422.html +0 -26
  71. data/spec/fixtures/rails32/public/500.html +0 -25
  72. data/spec/fixtures/rails32/public/favicon.ico +0 -0
  73. data/spec/fixtures/rails32/public/index.html +0 -241
  74. data/spec/fixtures/rails32/public/robots.txt +0 -5
  75. data/spec/fixtures/rails32/script/rails +0 -6
  76. data/spec/fixtures/rails40/Rakefile +0 -6
  77. data/spec/fixtures/rails40/app/controllers/application_controller.rb +0 -30
  78. data/spec/fixtures/rails40/app/helpers/application_helper.rb +0 -2
  79. data/spec/fixtures/rails40/app/views/layouts/application.html.erb +0 -14
  80. data/spec/fixtures/rails40/app/views/user.html.erb +0 -1
  81. data/spec/fixtures/rails40/bin/bundle +0 -3
  82. data/spec/fixtures/rails40/bin/rails +0 -4
  83. data/spec/fixtures/rails40/bin/rake +0 -4
  84. data/spec/fixtures/rails40/config.ru +0 -4
  85. data/spec/fixtures/rails40/config/application.rb +0 -37
  86. data/spec/fixtures/rails40/config/boot.rb +0 -4
  87. data/spec/fixtures/rails40/config/environment.rb +0 -5
  88. data/spec/fixtures/rails40/config/environments/development.rb +0 -24
  89. data/spec/fixtures/rails40/config/environments/production.rb +0 -65
  90. data/spec/fixtures/rails40/config/environments/test.rb +0 -39
  91. data/spec/fixtures/rails40/config/initializers/backtrace_silencers.rb +0 -7
  92. data/spec/fixtures/rails40/config/initializers/filter_parameter_logging.rb +0 -4
  93. data/spec/fixtures/rails40/config/initializers/inflections.rb +0 -16
  94. data/spec/fixtures/rails40/config/initializers/mime_types.rb +0 -5
  95. data/spec/fixtures/rails40/config/initializers/secret_token.rb +0 -12
  96. data/spec/fixtures/rails40/config/initializers/session_store.rb +0 -3
  97. data/spec/fixtures/rails40/config/initializers/wrap_parameters.rb +0 -9
  98. data/spec/fixtures/rails40/config/locales/en.yml +0 -23
  99. data/spec/fixtures/rails40/config/routes.rb +0 -62
  100. data/spec/fixtures/rails40/public/404.html +0 -58
  101. data/spec/fixtures/rails40/public/422.html +0 -58
  102. data/spec/fixtures/rails40/public/500.html +0 -57
  103. data/spec/fixtures/rails40/public/favicon.ico +0 -0
  104. data/spec/fixtures/rails40/public/robots.txt +0 -5
  105. data/spec/fixtures/rails50/Rakefile +0 -6
  106. data/spec/fixtures/rails50/app/controllers/application_controller.rb +0 -28
  107. data/spec/fixtures/rails50/app/helpers/application_helper.rb +0 -2
  108. data/spec/fixtures/rails50/app/views/layouts/application.html.erb +0 -13
  109. data/spec/fixtures/rails50/app/views/user.html.erb +0 -1
  110. data/spec/fixtures/rails50/bin/bundle +0 -3
  111. data/spec/fixtures/rails50/bin/rails +0 -4
  112. data/spec/fixtures/rails50/bin/rake +0 -4
  113. data/spec/fixtures/rails50/bin/setup +0 -34
  114. data/spec/fixtures/rails50/bin/update +0 -29
  115. data/spec/fixtures/rails50/config.ru +0 -5
  116. data/spec/fixtures/rails50/config/application.rb +0 -34
  117. data/spec/fixtures/rails50/config/boot.rb +0 -3
  118. data/spec/fixtures/rails50/config/cable.yml +0 -9
  119. data/spec/fixtures/rails50/config/environment.rb +0 -5
  120. data/spec/fixtures/rails50/config/environments/development.rb +0 -44
  121. data/spec/fixtures/rails50/config/environments/production.rb +0 -75
  122. data/spec/fixtures/rails50/config/environments/test.rb +0 -42
  123. data/spec/fixtures/rails50/config/initializers/application_controller_renderer.rb +0 -6
  124. data/spec/fixtures/rails50/config/initializers/backtrace_silencers.rb +0 -7
  125. data/spec/fixtures/rails50/config/initializers/cookies_serializer.rb +0 -5
  126. data/spec/fixtures/rails50/config/initializers/filter_parameter_logging.rb +0 -4
  127. data/spec/fixtures/rails50/config/initializers/inflections.rb +0 -16
  128. data/spec/fixtures/rails50/config/initializers/mime_types.rb +0 -4
  129. data/spec/fixtures/rails50/config/initializers/new_framework_defaults.rb +0 -21
  130. data/spec/fixtures/rails50/config/initializers/session_store.rb +0 -3
  131. data/spec/fixtures/rails50/config/initializers/wrap_parameters.rb +0 -9
  132. data/spec/fixtures/rails50/config/locales/en.yml +0 -23
  133. data/spec/fixtures/rails50/config/puma.rb +0 -47
  134. data/spec/fixtures/rails50/config/routes.rb +0 -9
  135. data/spec/fixtures/rails50/config/secrets.yml +0 -23
  136. data/spec/fixtures/rails50/public/404.html +0 -67
  137. data/spec/fixtures/rails50/public/422.html +0 -67
  138. data/spec/fixtures/rails50/public/500.html +0 -66
  139. data/spec/fixtures/rails50/public/apple-touch-icon-precomposed.png +0 -0
  140. data/spec/fixtures/rails50/public/apple-touch-icon.png +0 -0
  141. data/spec/fixtures/rails50/public/favicon.ico +0 -0
  142. data/spec/fixtures/rails50/public/robots.txt +0 -5
@@ -11,7 +11,7 @@ describe Loga::Rack::Logger do
11
11
  let(:configuration) do
12
12
  instance_double(
13
13
  Loga::Configuration,
14
- filter_exceptions: %w(ActionController::RoutingError),
14
+ filter_exceptions: %w[ActionController::RoutingError],
15
15
  filter_parameters: [],
16
16
  logger: logger,
17
17
  tags: tags,
@@ -72,7 +72,7 @@ describe Loga do
72
72
  expect do
73
73
  subject.reset
74
74
  subject.configure(options)
75
- end.to change { subject.configuration.object_id }
75
+ end.to(change { subject.configuration.object_id })
76
76
  end
77
77
  end
78
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loga
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Funding Circle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-08 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.2
47
+ version: 2.2.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.2
54
+ version: 2.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
69
  - !ruby/object:Gem::Dependency
70
- name: pry
70
+ name: byebug
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,63 +81,63 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rack-test
84
+ name: guard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '2.13'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '2.13'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rake
98
+ name: guard-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 4.7.3
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 4.7.3
111
111
  - !ruby/object:Gem::Dependency
112
- name: rspec
112
+ name: guard-rubocop
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 3.5.0
117
+ version: '1.2'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 3.5.0
124
+ version: '1.2'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rubocop
126
+ name: pry
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 0.40.0
131
+ version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 0.40.0
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: timecop
140
+ name: rack-test
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
@@ -151,47 +151,61 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: guard
154
+ name: rake
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '2.13'
159
+ version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '2.13'
166
+ version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: guard-rubocop
168
+ name: rspec
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '1.2'
173
+ version: 3.6.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '1.2'
180
+ version: 3.6.0
181
181
  - !ruby/object:Gem::Dependency
182
- name: guard-rspec
182
+ name: rubocop
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 4.7.3
187
+ version: 0.50.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 4.7.3
194
+ version: 0.50.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: timecop
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
195
209
  description: Log aggregation through unified logging middleware, while respecting
196
210
  the original log format.
197
211
  email:
@@ -200,6 +214,8 @@ executables: []
200
214
  extensions: []
201
215
  extra_rdoc_files: []
202
216
  files:
217
+ - ".circleci/config.yml"
218
+ - ".codeclimate.yml"
203
219
  - ".gitignore"
204
220
  - ".rspec"
205
221
  - ".rubocop.yml"
@@ -210,10 +226,11 @@ files:
210
226
  - LICENSE.txt
211
227
  - README.md
212
228
  - Rakefile
213
- - circle.yml
214
229
  - gemfiles/rails32.gemfile
215
230
  - gemfiles/rails40.gemfile
231
+ - gemfiles/rails42.gemfile
216
232
  - gemfiles/rails50.gemfile
233
+ - gemfiles/rails52.gemfile
217
234
  - gemfiles/sinatra14.gemfile
218
235
  - gemfiles/unit.gemfile
219
236
  - lib/loga.rb
@@ -225,6 +242,7 @@ files:
225
242
  - lib/loga/ext/rails/rack/logger3.rb
226
243
  - lib/loga/formatters/gelf_formatter.rb
227
244
  - lib/loga/formatters/simple_formatter.rb
245
+ - lib/loga/log_subscribers/action_mailer.rb
228
246
  - lib/loga/parameter_filter.rb
229
247
  - lib/loga/rack/logger.rb
230
248
  - lib/loga/rack/request.rb
@@ -236,105 +254,18 @@ files:
236
254
  - lib/loga/version.rb
237
255
  - loga.gemspec
238
256
  - spec/fixtures/README.md
239
- - spec/fixtures/rails32/Rakefile
240
- - spec/fixtures/rails32/app/controllers/application_controller.rb
241
- - spec/fixtures/rails32/app/helpers/application_helper.rb
242
- - spec/fixtures/rails32/app/views/layouts/application.html.erb
243
- - spec/fixtures/rails32/app/views/user.html.erb
244
- - spec/fixtures/rails32/config.ru
245
- - spec/fixtures/rails32/config/application.rb
246
- - spec/fixtures/rails32/config/boot.rb
247
- - spec/fixtures/rails32/config/environment.rb
248
- - spec/fixtures/rails32/config/environments/development.rb
249
- - spec/fixtures/rails32/config/environments/production.rb
250
- - spec/fixtures/rails32/config/environments/test.rb
251
- - spec/fixtures/rails32/config/initializers/backtrace_silencers.rb
252
- - spec/fixtures/rails32/config/initializers/inflections.rb
253
- - spec/fixtures/rails32/config/initializers/mime_types.rb
254
- - spec/fixtures/rails32/config/initializers/secret_token.rb
255
- - spec/fixtures/rails32/config/initializers/session_store.rb
256
- - spec/fixtures/rails32/config/initializers/wrap_parameters.rb
257
- - spec/fixtures/rails32/config/locales/en.yml
258
- - spec/fixtures/rails32/config/routes.rb
259
- - spec/fixtures/rails32/public/404.html
260
- - spec/fixtures/rails32/public/422.html
261
- - spec/fixtures/rails32/public/500.html
262
- - spec/fixtures/rails32/public/favicon.ico
263
- - spec/fixtures/rails32/public/index.html
264
- - spec/fixtures/rails32/public/robots.txt
265
- - spec/fixtures/rails32/script/rails
266
- - spec/fixtures/rails40/Rakefile
267
- - spec/fixtures/rails40/app/controllers/application_controller.rb
268
- - spec/fixtures/rails40/app/helpers/application_helper.rb
269
- - spec/fixtures/rails40/app/views/layouts/application.html.erb
270
- - spec/fixtures/rails40/app/views/user.html.erb
271
- - spec/fixtures/rails40/bin/bundle
272
- - spec/fixtures/rails40/bin/rails
273
- - spec/fixtures/rails40/bin/rake
274
- - spec/fixtures/rails40/config.ru
275
- - spec/fixtures/rails40/config/application.rb
276
- - spec/fixtures/rails40/config/boot.rb
277
- - spec/fixtures/rails40/config/environment.rb
278
- - spec/fixtures/rails40/config/environments/development.rb
279
- - spec/fixtures/rails40/config/environments/production.rb
280
- - spec/fixtures/rails40/config/environments/test.rb
281
- - spec/fixtures/rails40/config/initializers/backtrace_silencers.rb
282
- - spec/fixtures/rails40/config/initializers/filter_parameter_logging.rb
283
- - spec/fixtures/rails40/config/initializers/inflections.rb
284
- - spec/fixtures/rails40/config/initializers/mime_types.rb
285
- - spec/fixtures/rails40/config/initializers/secret_token.rb
286
- - spec/fixtures/rails40/config/initializers/session_store.rb
287
- - spec/fixtures/rails40/config/initializers/wrap_parameters.rb
288
- - spec/fixtures/rails40/config/locales/en.yml
289
- - spec/fixtures/rails40/config/routes.rb
290
- - spec/fixtures/rails40/public/404.html
291
- - spec/fixtures/rails40/public/422.html
292
- - spec/fixtures/rails40/public/500.html
293
- - spec/fixtures/rails40/public/favicon.ico
294
- - spec/fixtures/rails40/public/robots.txt
295
- - spec/fixtures/rails50/Rakefile
296
- - spec/fixtures/rails50/app/controllers/application_controller.rb
297
- - spec/fixtures/rails50/app/helpers/application_helper.rb
298
- - spec/fixtures/rails50/app/views/layouts/application.html.erb
299
- - spec/fixtures/rails50/app/views/user.html.erb
300
- - spec/fixtures/rails50/bin/bundle
301
- - spec/fixtures/rails50/bin/rails
302
- - spec/fixtures/rails50/bin/rake
303
- - spec/fixtures/rails50/bin/setup
304
- - spec/fixtures/rails50/bin/update
305
- - spec/fixtures/rails50/config.ru
306
- - spec/fixtures/rails50/config/application.rb
307
- - spec/fixtures/rails50/config/boot.rb
308
- - spec/fixtures/rails50/config/cable.yml
309
- - spec/fixtures/rails50/config/environment.rb
310
- - spec/fixtures/rails50/config/environments/development.rb
311
- - spec/fixtures/rails50/config/environments/production.rb
312
- - spec/fixtures/rails50/config/environments/test.rb
313
- - spec/fixtures/rails50/config/initializers/application_controller_renderer.rb
314
- - spec/fixtures/rails50/config/initializers/backtrace_silencers.rb
315
- - spec/fixtures/rails50/config/initializers/cookies_serializer.rb
316
- - spec/fixtures/rails50/config/initializers/filter_parameter_logging.rb
317
- - spec/fixtures/rails50/config/initializers/inflections.rb
318
- - spec/fixtures/rails50/config/initializers/mime_types.rb
319
- - spec/fixtures/rails50/config/initializers/new_framework_defaults.rb
320
- - spec/fixtures/rails50/config/initializers/session_store.rb
321
- - spec/fixtures/rails50/config/initializers/wrap_parameters.rb
322
- - spec/fixtures/rails50/config/locales/en.yml
323
- - spec/fixtures/rails50/config/puma.rb
324
- - spec/fixtures/rails50/config/routes.rb
325
- - spec/fixtures/rails50/config/secrets.yml
326
- - spec/fixtures/rails50/public/404.html
327
- - spec/fixtures/rails50/public/422.html
328
- - spec/fixtures/rails50/public/500.html
329
- - spec/fixtures/rails50/public/apple-touch-icon-precomposed.png
330
- - spec/fixtures/rails50/public/apple-touch-icon.png
331
- - spec/fixtures/rails50/public/favicon.ico
332
- - spec/fixtures/rails50/public/robots.txt
257
+ - spec/fixtures/rails32.rb
258
+ - spec/fixtures/rails40.rb
259
+ - spec/fixtures/rails42.rb
260
+ - spec/fixtures/rails50.rb
261
+ - spec/fixtures/rails52.rb
333
262
  - spec/fixtures/random_bin
263
+ - spec/integration/rails/action_mailer_spec.rb
334
264
  - spec/integration/rails/railtie_spec.rb
335
265
  - spec/integration/rails/request_spec.rb
336
266
  - spec/integration/sinatra_spec.rb
337
267
  - spec/spec_helper.rb
268
+ - spec/support/gethostname_shared.rb
338
269
  - spec/support/helpers.rb
339
270
  - spec/support/request_spec.rb
340
271
  - spec/support/timecop_shared.rb
@@ -342,6 +273,7 @@ files:
342
273
  - spec/unit/loga/event_spec.rb
343
274
  - spec/unit/loga/formatters/gelf_formatter_spec.rb
344
275
  - spec/unit/loga/formatters/simple_formatter_spec.rb
276
+ - spec/unit/loga/log_subscribers/action_mailer_spec.rb
345
277
  - spec/unit/loga/parameter_filter_spec.rb
346
278
  - spec/unit/loga/rack/logger_spec.rb
347
279
  - spec/unit/loga/rack/request_spec.rb
@@ -368,111 +300,24 @@ required_rubygems_version: !ruby/object:Gem::Requirement
368
300
  version: '0'
369
301
  requirements: []
370
302
  rubyforge_project:
371
- rubygems_version: 2.4.5.1
303
+ rubygems_version: 2.7.6
372
304
  signing_key:
373
305
  specification_version: 4
374
306
  summary: Facilitate log aggregation via unified logging
375
307
  test_files:
376
308
  - spec/fixtures/README.md
377
- - spec/fixtures/rails32/Rakefile
378
- - spec/fixtures/rails32/app/controllers/application_controller.rb
379
- - spec/fixtures/rails32/app/helpers/application_helper.rb
380
- - spec/fixtures/rails32/app/views/layouts/application.html.erb
381
- - spec/fixtures/rails32/app/views/user.html.erb
382
- - spec/fixtures/rails32/config.ru
383
- - spec/fixtures/rails32/config/application.rb
384
- - spec/fixtures/rails32/config/boot.rb
385
- - spec/fixtures/rails32/config/environment.rb
386
- - spec/fixtures/rails32/config/environments/development.rb
387
- - spec/fixtures/rails32/config/environments/production.rb
388
- - spec/fixtures/rails32/config/environments/test.rb
389
- - spec/fixtures/rails32/config/initializers/backtrace_silencers.rb
390
- - spec/fixtures/rails32/config/initializers/inflections.rb
391
- - spec/fixtures/rails32/config/initializers/mime_types.rb
392
- - spec/fixtures/rails32/config/initializers/secret_token.rb
393
- - spec/fixtures/rails32/config/initializers/session_store.rb
394
- - spec/fixtures/rails32/config/initializers/wrap_parameters.rb
395
- - spec/fixtures/rails32/config/locales/en.yml
396
- - spec/fixtures/rails32/config/routes.rb
397
- - spec/fixtures/rails32/public/404.html
398
- - spec/fixtures/rails32/public/422.html
399
- - spec/fixtures/rails32/public/500.html
400
- - spec/fixtures/rails32/public/favicon.ico
401
- - spec/fixtures/rails32/public/index.html
402
- - spec/fixtures/rails32/public/robots.txt
403
- - spec/fixtures/rails32/script/rails
404
- - spec/fixtures/rails40/Rakefile
405
- - spec/fixtures/rails40/app/controllers/application_controller.rb
406
- - spec/fixtures/rails40/app/helpers/application_helper.rb
407
- - spec/fixtures/rails40/app/views/layouts/application.html.erb
408
- - spec/fixtures/rails40/app/views/user.html.erb
409
- - spec/fixtures/rails40/bin/bundle
410
- - spec/fixtures/rails40/bin/rails
411
- - spec/fixtures/rails40/bin/rake
412
- - spec/fixtures/rails40/config.ru
413
- - spec/fixtures/rails40/config/application.rb
414
- - spec/fixtures/rails40/config/boot.rb
415
- - spec/fixtures/rails40/config/environment.rb
416
- - spec/fixtures/rails40/config/environments/development.rb
417
- - spec/fixtures/rails40/config/environments/production.rb
418
- - spec/fixtures/rails40/config/environments/test.rb
419
- - spec/fixtures/rails40/config/initializers/backtrace_silencers.rb
420
- - spec/fixtures/rails40/config/initializers/filter_parameter_logging.rb
421
- - spec/fixtures/rails40/config/initializers/inflections.rb
422
- - spec/fixtures/rails40/config/initializers/mime_types.rb
423
- - spec/fixtures/rails40/config/initializers/secret_token.rb
424
- - spec/fixtures/rails40/config/initializers/session_store.rb
425
- - spec/fixtures/rails40/config/initializers/wrap_parameters.rb
426
- - spec/fixtures/rails40/config/locales/en.yml
427
- - spec/fixtures/rails40/config/routes.rb
428
- - spec/fixtures/rails40/public/404.html
429
- - spec/fixtures/rails40/public/422.html
430
- - spec/fixtures/rails40/public/500.html
431
- - spec/fixtures/rails40/public/favicon.ico
432
- - spec/fixtures/rails40/public/robots.txt
433
- - spec/fixtures/rails50/Rakefile
434
- - spec/fixtures/rails50/app/controllers/application_controller.rb
435
- - spec/fixtures/rails50/app/helpers/application_helper.rb
436
- - spec/fixtures/rails50/app/views/layouts/application.html.erb
437
- - spec/fixtures/rails50/app/views/user.html.erb
438
- - spec/fixtures/rails50/bin/bundle
439
- - spec/fixtures/rails50/bin/rails
440
- - spec/fixtures/rails50/bin/rake
441
- - spec/fixtures/rails50/bin/setup
442
- - spec/fixtures/rails50/bin/update
443
- - spec/fixtures/rails50/config.ru
444
- - spec/fixtures/rails50/config/application.rb
445
- - spec/fixtures/rails50/config/boot.rb
446
- - spec/fixtures/rails50/config/cable.yml
447
- - spec/fixtures/rails50/config/environment.rb
448
- - spec/fixtures/rails50/config/environments/development.rb
449
- - spec/fixtures/rails50/config/environments/production.rb
450
- - spec/fixtures/rails50/config/environments/test.rb
451
- - spec/fixtures/rails50/config/initializers/application_controller_renderer.rb
452
- - spec/fixtures/rails50/config/initializers/backtrace_silencers.rb
453
- - spec/fixtures/rails50/config/initializers/cookies_serializer.rb
454
- - spec/fixtures/rails50/config/initializers/filter_parameter_logging.rb
455
- - spec/fixtures/rails50/config/initializers/inflections.rb
456
- - spec/fixtures/rails50/config/initializers/mime_types.rb
457
- - spec/fixtures/rails50/config/initializers/new_framework_defaults.rb
458
- - spec/fixtures/rails50/config/initializers/session_store.rb
459
- - spec/fixtures/rails50/config/initializers/wrap_parameters.rb
460
- - spec/fixtures/rails50/config/locales/en.yml
461
- - spec/fixtures/rails50/config/puma.rb
462
- - spec/fixtures/rails50/config/routes.rb
463
- - spec/fixtures/rails50/config/secrets.yml
464
- - spec/fixtures/rails50/public/404.html
465
- - spec/fixtures/rails50/public/422.html
466
- - spec/fixtures/rails50/public/500.html
467
- - spec/fixtures/rails50/public/apple-touch-icon-precomposed.png
468
- - spec/fixtures/rails50/public/apple-touch-icon.png
469
- - spec/fixtures/rails50/public/favicon.ico
470
- - spec/fixtures/rails50/public/robots.txt
309
+ - spec/fixtures/rails32.rb
310
+ - spec/fixtures/rails40.rb
311
+ - spec/fixtures/rails42.rb
312
+ - spec/fixtures/rails50.rb
313
+ - spec/fixtures/rails52.rb
471
314
  - spec/fixtures/random_bin
315
+ - spec/integration/rails/action_mailer_spec.rb
472
316
  - spec/integration/rails/railtie_spec.rb
473
317
  - spec/integration/rails/request_spec.rb
474
318
  - spec/integration/sinatra_spec.rb
475
319
  - spec/spec_helper.rb
320
+ - spec/support/gethostname_shared.rb
476
321
  - spec/support/helpers.rb
477
322
  - spec/support/request_spec.rb
478
323
  - spec/support/timecop_shared.rb
@@ -480,6 +325,7 @@ test_files:
480
325
  - spec/unit/loga/event_spec.rb
481
326
  - spec/unit/loga/formatters/gelf_formatter_spec.rb
482
327
  - spec/unit/loga/formatters/simple_formatter_spec.rb
328
+ - spec/unit/loga/log_subscribers/action_mailer_spec.rb
483
329
  - spec/unit/loga/parameter_filter_spec.rb
484
330
  - spec/unit/loga/rack/logger_spec.rb
485
331
  - spec/unit/loga/rack/request_spec.rb