manageiq-loggers 0.8.0 → 1.0.0

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
  SHA256:
3
- metadata.gz: 4fde8d7f48465068c802390222f9f37f00b644b8932637ec6818c0ecec91acbe
4
- data.tar.gz: 6ad670852b8d6ce6e0803076ce730a288a0c5fd96f1c49c412b8f4dc1c075736
3
+ metadata.gz: a3eb7ea1a06988309ad93d51e5be24deb9f9252621e35816d3a746a2aaaa2147
4
+ data.tar.gz: 725ba6fe5040b59543e69b5005257a0b2caa336cb882f7db7baa581c9e6a1e95
5
5
  SHA512:
6
- metadata.gz: fa8bf70516aa9db5bc934289dc0512e7aa19203cf9794e7692f5c749e33fd3c2b974c9919f89c318cbb931cb1fd4c37639c19d1df7e119473e2227acf513dc4e
7
- data.tar.gz: 03bd1d9088c70a6344f5803abef6f262994518c9d9c3bfaa8e91e87a66f9fc4828b2d9dc925b0c067e7d1462a0e36b7648edec84fd7d0858bdbefda40835dda7
6
+ metadata.gz: 978b7049328f4e775e7d622de15a42737a5e6141c00565282767ea9f637cab8d0ce234feb45adbc184db86b3e4f20a683be1aca895bfd394d8ccc76f9b0d07b6
7
+ data.tar.gz: 2ba937fb168cecc740263eab132ff60469261deadddf4b6006ae3f6871d8d2bbc0b91a0adff503bdeb403def7363917fe5a9349e73d4e166433d030d112e8d77
data/.travis.yml CHANGED
@@ -3,8 +3,6 @@ language: ruby
3
3
  dist: bionic
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.4.10
7
- - 2.5.9
8
6
  - 2.6.8
9
7
  - 2.7.4
10
8
  - 3.0.2
data/CHANGELOG.md CHANGED
@@ -5,11 +5,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
- ## [0.8.0] - 2021-11-15
8
+ ## [1.0.0] - 2021-11-16
9
+ ### Removed
10
+ - **BREAKING** Remove support for Ruby 2.4 and 2.5 [(#40)](https://github.com/ManageIQ/manageiq-loggers/pull/40)
11
+
12
+ ### Fixed
13
+ - Fixed Ruby 3 support with kwargs [(#40)](https://github.com/ManageIQ/manageiq-loggers/pull/40)
9
14
 
15
+ ## [0.8.0] - 2021-11-15
10
16
  ### Changed
11
- - Add Ruby 2.6, 2.7, and 3.0 to the test matrix
12
- - Add ability to set class-level and instance-level filters for log_hashes
17
+ - Add Ruby 2.6, 2.7, and 3.0 support [(#38)](https://github.com/ManageIQ/manageiq-loggers/pull/38)
18
+ - Add ability to set class-level and instance-level filters for log_hashes [(#38)](https://github.com/ManageIQ/manageiq-loggers/pull/38)
13
19
 
14
20
  ## [0.7.0] - 2021-09-21
15
21
  ### Changed
@@ -64,7 +70,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
64
70
 
65
71
  ## [0.1.0] - 2019-01-08
66
72
 
67
- [Unreleased]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.8.0...master
73
+ [Unreleased]: https://github.com/ManageIQ/manageiq-loggers/compare/v1.0.0...master
74
+ [0.8.0]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.8.0...v1.0.0
68
75
  [0.8.0]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.7.0...v0.8.0
69
76
  [0.7.0]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.6.0...v0.7.0
70
77
  [0.6.0]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.5.0...v0.6.0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ManageIQ::Loggers
2
2
 
3
- [![Build Status](https://travis-ci.org/ManageIQ/manageiq-loggers.svg)](https://travis-ci.org/ManageIQ/manageiq-loggers)
3
+ [![Build Status](https://app.travis-ci.com/ManageIQ/manageiq-loggers.svg?branch=master)](https://app.travis-ci.com/ManageIQ/manageiq-loggers)
4
4
  [![Maintainability](https://api.codeclimate.com/v1/badges/8d3c9bf77c45a024166b/maintainability)](https://codeclimate.com/github/ManageIQ/manageiq-loggers/maintainability)
5
5
  [![Test Coverage](https://api.codeclimate.com/v1/badges/8d3c9bf77c45a024166b/test_coverage)](https://codeclimate.com/github/ManageIQ/manageiq-loggers/test_coverage)
6
6
  [![Security](https://hakiri.io/github/ManageIQ/manageiq-loggers/master.svg)](https://hakiri.io/github/ManageIQ/manageiq-loggers/master)
@@ -9,7 +9,7 @@ module ManageIQ
9
9
  class Base < Logger
10
10
  MAX_LOG_LINE_LENGTH = 8.kilobytes
11
11
 
12
- def initialize(*args)
12
+ def initialize(*_, **_)
13
13
  super
14
14
  self.level = INFO
15
15
 
@@ -1,20 +1,15 @@
1
1
  module ManageIQ
2
2
  module Loggers
3
3
  class Journald < Base
4
- require "active_support/core_ext/module/aliasing"
5
-
6
- # Alias syslog_identifier for backwards compatibility
7
- alias_attribute :syslog_identifier, :progname
8
-
9
4
  # Create and return a new ManageIQ::Loggers::Journald instance. The
10
5
  # arguments to the initializer can be ignored unless you're multicasting.
11
6
  #
12
7
  # Internally we set our own formatter, and automatically set the
13
8
  # progname option to 'manageiq' if not specified.
14
9
  #
15
- def initialize(logdev = nil, *args)
10
+ def initialize(_logdev = nil, *_, **_)
16
11
  require "systemd-journal"
17
- super(logdev, *args)
12
+ super
18
13
  @formatter = Formatter.new
19
14
  @progname ||= 'manageiq'
20
15
  end
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module Loggers
3
- VERSION = "0.8.0".freeze
3
+ VERSION = "1.0.0".freeze
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require "manageiq/loggers/base"
2
2
  require "manageiq/loggers/cloud_watch"
3
3
  require "manageiq/loggers/container"
4
+ require "manageiq/loggers/journald"
4
5
  require "manageiq/loggers/version"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-loggers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Authors
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  - !ruby/object:Gem::Version
170
170
  version: '0'
171
171
  requirements: []
172
- rubygems_version: 3.1.6
172
+ rubygems_version: 3.2.22
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: Loggers for ManageIQ projects