journald-native 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/ext/journald_native/extconf.rb +1 -1
- data/lib/journald/native.rb +1 -1
- data/lib/journald/native/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a01ba326cf9a1301dabb30adca26fc9f26c6cc1
|
4
|
+
data.tar.gz: 1deb14ebe5df156d231ddc52efc56ff5af17aac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c40c252abe5146efb24e7ee94541c65d7c49a0314db8827a364999ba3765bc453754b784f85d3b07f3b37674bf8b7eea9019c45c488f8ee72f2bc3865651892
|
7
|
+
data.tar.gz: 9d0a9f0439099825f8b379ed314ad08eb1f4d917cb0051bb83aa8eea78cec6c3b121ac4bd11710454f779dacbf274ff12963039331862f893400f825c2fb54c8
|
data/README.md
CHANGED
@@ -6,6 +6,26 @@
|
|
6
6
|
A systemd-journal native logging lib wrapper.
|
7
7
|
[See sd-journal help for more info](http://www.freedesktop.org/software/systemd/man/sd_journal_print.html)
|
8
8
|
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Run
|
12
|
+
|
13
|
+
```sh
|
14
|
+
gem install journald-native
|
15
|
+
```
|
16
|
+
|
17
|
+
or add
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
gem 'journald-native', '~> 1.0'
|
21
|
+
```
|
22
|
+
|
23
|
+
to your Gemfile.
|
24
|
+
|
25
|
+
Please note that you need a systemd development package installed in your system like `systemd-devel` in Fedora, `libsystemd-dev` in Debian, also may be a separate package for journal in older systems like `libsystemd-journal-dev`.
|
26
|
+
|
27
|
+
**NB:** The gem can be installed on non-linux system but it will do nothing there. (Functions will return success without any actual effect)
|
28
|
+
|
9
29
|
## Usage
|
10
30
|
|
11
31
|
```ruby
|
data/lib/journald/native.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: journald-native
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Smirnov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.6.14.1
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: systemd-journal logging native lib wrapper
|