fluent-plugin-systemd 1.0.5 → 1.1.1

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
  SHA256:
3
- metadata.gz: 4cb4c7536e7d15ebea8d31cab4e9bd1902cfcdf3fcb9adba98b7c957d16a78f0
4
- data.tar.gz: 1d18922ec4c903834251e2a325e911c9d4746c164b69d2947aadb0b3c768ab3e
3
+ metadata.gz: afd6dfa882a391ee1baee61851e2f7d277439e43389857c88278541fbac339cf
4
+ data.tar.gz: 757d8056bf7e918c18f806bab6437eb9c432ce753a12398c01e7db19c3508d13
5
5
  SHA512:
6
- metadata.gz: 601f2f07b040378c78a53f8cdce16a53a3d691a9634b4a8e7d85c4c6bf1ec5c2d84f52271ff0a6040d70437f97f975825ff228809e7524921b02bdcd0715c154
7
- data.tar.gz: 0f42d023c28dbd644391693c7973ccb34542fc71fcf5e0b2ac97178522549fc7e2dd43b6472622d313a9008073c9712d8b15eb809bc676ca1121e5ec5cd669a9
6
+ metadata.gz: 18e6f3a84a0e44008a37f54e1b245c8af565099640746108d8aa22b17bda6205d7d54ae90b49f00f0ef26664bd947ced40e930ac19327f927f778c1610e88fe2
7
+ data.tar.gz: e3e5d91220e70391ea08f5ae7a115bbe8e617c3ac1c21ec1660bf4f435c57de679fb23b7b01d4035ed0e47f5ad129543fec2d880e811cbaeb6ba4d43f4c7d6e9
data/README.md CHANGED
@@ -18,6 +18,10 @@ Join the #plugin-systemd channel on the [Fluentd Slack](http://slack.fluentd.org
18
18
  | > 0.1.0 | >= 0.14.11, < 2 | 3 | >= 2.1 |
19
19
  | 0.0.x | ~> 0.12.0 | 2 | >= 1.9 |
20
20
 
21
+ |fluent-plugin-systemd|fluentd|fluent-package|ruby|
22
+ |----|----|----|----|
23
+ | >= 1.1.0 | >= 0.14.11, < 2 | 5 | >= 3.0 |
24
+
21
25
  * The 1.x.x series is developed from this branch (master)
22
26
  * The 0.0.x series (compatible with fluentd v0.12, and td-agent 2) is maintained on the [0.0.x branch](https://github.com/reevoo/fluent-plugin-systemd/tree/0.0.x)
23
27
 
@@ -212,13 +216,13 @@ On Debian or Ubuntu you might need to install the libsystemd0 package:
212
216
  apt-get install libsystemd0
213
217
  ```
214
218
 
215
- On CentOS or RHEL you might need to install the systemd package:
219
+ On AlmaLinux or RHEL you might need to install the systemd package:
216
220
 
217
221
  ```
218
222
  yum install -y systemd
219
223
  ```
220
224
 
221
- If you want to do this in a CentOS docker image you might first need to remove the `fakesystemd` package.
225
+ If you want to do this in a AlmaLinux docker image you might first need to remove the `fakesystemd` package.
222
226
 
223
227
  ```
224
228
  yum remove -y fakesystemd
@@ -263,3 +267,4 @@ Many thanks to our fantastic contributors
263
267
  * [Richard Megginson](https://github.com/richm)
264
268
  * [Sadayuki Furuhashi](https://github.com/frsyuki)
265
269
  * [Seiichi Nishikata](https://github.com/neko-neko)
270
+ * [Kentaro Hayashi](https://github.com/kenhys)
@@ -75,7 +75,7 @@ module Fluent
75
75
  def init_journal
76
76
  # TODO: ruby 2.3
77
77
  @journal.close if @journal # rubocop:disable Style/SafeNavigation
78
- @journal = Systemd::Journal.new(path: @path)
78
+ @journal = Systemd::Journal.new(path: @path, auto_reopen: true)
79
79
  @journal.filter(*(@matches || @filters))
80
80
  seek
81
81
  true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-systemd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-28 00:00:00.000000000 Z
11
+ date: 2025-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 1.4.2
95
+ version: 2.1.0
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 1.4.2
102
+ version: 2.1.0
103
103
  description: This is a fluentd input plugin. It reads logs from the systemd journal.
104
104
  email:
105
105
  - edward-robinson@cookpad.com
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.2.15
134
+ rubygems_version: 3.5.22
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Input plugin to read from systemd journal.