europeana-logging 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c0865344890b90b0c9f1724e9752b76799c023b
4
- data.tar.gz: 6bfd5ea9e87b1e5fa7bf1cc949f8df49f6e003d0
3
+ metadata.gz: 398c9a157b8fd05812bf5a864c9ccbb15f5d4c7c
4
+ data.tar.gz: 5a1ddbbf232ffa4f94747e3213b56089000a7437
5
5
  SHA512:
6
- metadata.gz: e3dd01d0bb801b0df2a525e97c207e72eeb4efe271a6c0885ae985a0d1e7b6f3f95413ce330eb03d196dd4daff38015cb668fe2c04f24e53573fbbecb9d42575
7
- data.tar.gz: bbb00955f83db995743c1daa3c5eaa903c669157c0598112890c2203b16806e5ca2fe2991c4fddf06e69d25733f24657eac8da617662e0ceec0bfd4adaa17b6f
6
+ metadata.gz: 8630d0a53adbd7032eb3780bedf0d9046cf85c922d2a8e64dea4550d05dec8220620ddf3f93c5142aa34e0b2674d0b4872deb42d408adb0fddb1f057d0f256eb
7
+ data.tar.gz: 8ea43a0ab07f40e6512ed29663d1e3406fd8dadbe04f0a949df370f06a5d6f614a49656e4dab8c9b3b770d73f1ab2ab0a8d9d43a427821ac5b6f51cecfa1f791
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Europeana::Logging
2
2
 
3
+ [![Build Status](https://travis-ci.org/europeana/europeana-logging-ruby.svg?branch=develop)](https://travis-ci.org/europeana/europeana-logging-ruby) [![Security](https://hakiri.io/github/europeana/europeana-logging-ruby/develop.svg)](https://hakiri.io/github/europeana/europeana-logging-ruby/develop) [![Maintainability](https://api.codeclimate.com/v1/badges/d96137b6a5ccb853209d/maintainability)](https://codeclimate.com/github/europeana/europeana-logging-ruby/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/d96137b6a5ccb853209d/test_coverage)](https://codeclimate.com/github/europeana/europeana-logging-ruby/test_coverage)
4
+
3
5
  Ruby gem providing common logging configuration for Europeana Rails
4
6
  applications.
5
7
 
@@ -42,8 +42,8 @@ module Europeana
42
42
 
43
43
  Rails.logger = LogStashLogger.new(type: :stdout)
44
44
 
45
- ActionController::Base.logger = LogStashLogger.new(type: :stdout)
46
- ActionController::Base.logger.extend(Europeana::Logging::SessionLogging)
45
+ ApplicationController.superclass.logger = LogStashLogger.new(type: :stdout)
46
+ ApplicationController.superclass.logger.extend(Europeana::Logging::SessionLogging)
47
47
  end
48
48
 
49
49
  # Controller concern for session ID logging
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Europeana
3
3
  module Logging
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  end
6
6
  end
@@ -1,6 +0,0 @@
1
- ----------------------------------
2
- Europeana::LoggingTest: test_truth
3
- ----------------------------------
4
- ----------------------------------
5
- Europeana::LoggingTest: test_truth
6
- ----------------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: europeana-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Doe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-13 00:00:00.000000000 Z
11
+ date: 2018-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -144,45 +144,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.6.11
147
+ rubygems_version: 2.6.12
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Europeana logging
151
151
  test_files:
152
152
  - test/integration/navigation_test.rb
153
- - test/test_helper.rb
154
- - test/europeana/logging_test.rb
155
- - test/dummy/README.rdoc
156
- - test/dummy/config.ru
157
- - test/dummy/public/favicon.ico
158
153
  - test/dummy/public/404.html
159
- - test/dummy/public/422.html
160
154
  - test/dummy/public/500.html
161
- - test/dummy/bin/rake
162
- - test/dummy/bin/rails
163
- - test/dummy/bin/bundle
164
- - test/dummy/bin/setup
165
- - test/dummy/log/test.log
166
- - test/dummy/app/controllers/application_controller.rb
167
- - test/dummy/app/assets/stylesheets/application.css
168
- - test/dummy/app/assets/javascripts/application.js
169
- - test/dummy/app/views/layouts/application.html.erb
170
- - test/dummy/app/helpers/application_helper.rb
171
- - test/dummy/config/routes.rb
155
+ - test/dummy/public/favicon.ico
156
+ - test/dummy/public/422.html
157
+ - test/dummy/config/locales/en.yml
172
158
  - test/dummy/config/application.rb
159
+ - test/dummy/config/routes.rb
160
+ - test/dummy/config/environments/development.rb
161
+ - test/dummy/config/environments/production.rb
162
+ - test/dummy/config/environments/test.rb
163
+ - test/dummy/config/secrets.yml
164
+ - test/dummy/config/boot.rb
165
+ - test/dummy/config/environment.rb
166
+ - test/dummy/config/initializers/mime_types.rb
173
167
  - test/dummy/config/initializers/wrap_parameters.rb
168
+ - test/dummy/config/initializers/backtrace_silencers.rb
169
+ - test/dummy/config/initializers/filter_parameter_logging.rb
174
170
  - test/dummy/config/initializers/session_store.rb
175
171
  - test/dummy/config/initializers/assets.rb
176
172
  - test/dummy/config/initializers/cookies_serializer.rb
177
- - test/dummy/config/initializers/mime_types.rb
178
- - test/dummy/config/initializers/filter_parameter_logging.rb
179
- - test/dummy/config/initializers/backtrace_silencers.rb
180
173
  - test/dummy/config/initializers/inflections.rb
181
- - test/dummy/config/environment.rb
182
- - test/dummy/config/secrets.yml
183
- - test/dummy/config/environments/test.rb
184
- - test/dummy/config/environments/development.rb
185
- - test/dummy/config/environments/production.rb
186
- - test/dummy/config/locales/en.yml
187
- - test/dummy/config/boot.rb
174
+ - test/dummy/app/controllers/application_controller.rb
175
+ - test/dummy/app/assets/stylesheets/application.css
176
+ - test/dummy/app/assets/javascripts/application.js
177
+ - test/dummy/app/helpers/application_helper.rb
178
+ - test/dummy/app/views/layouts/application.html.erb
179
+ - test/dummy/config.ru
188
180
  - test/dummy/Rakefile
181
+ - test/dummy/bin/rake
182
+ - test/dummy/bin/bundle
183
+ - test/dummy/bin/setup
184
+ - test/dummy/bin/rails
185
+ - test/dummy/README.rdoc
186
+ - test/dummy/log/test.log
187
+ - test/europeana/logging_test.rb
188
+ - test/test_helper.rb