systemd-journal 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +10 -27
- data/Dockerfile.bionic +19 -0
- data/Dockerfile.centos +11 -0
- data/Dockerfile.xenial +19 -0
- data/Rakefile +9 -6
- data/lib/systemd/journal.rb +1 -0
- data/lib/systemd/journal/version.rb +1 -1
- data/systemd-journal.gemspec +1 -1
- metadata +6 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 329005606eb7ca163feb075284fb0bdf0e87bbb4bcd409ffe14ccb75687c4479
|
4
|
+
data.tar.gz: 3e940c1acda1c885e5bd8849e96c25d9c263aefbea94754aca1c0c011dab85d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b770d5a1c395222351396e53bdda4818e9edf1fb0e0d4b77ba182ad8b9d7c189691f8cb2e1cef4749d08ef5a61eaee706eece7edec1f8c9d906af2900a656c0f
|
7
|
+
data.tar.gz: 98022df94dc7e0419bc94eb3e126a8299d6a3c3bdb531bbf863fef780f78d9cf7f9a39ab8f1d836d7fec4f8436454a5b20d7a8b3cb644b8424a456dfbdcf0955
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
CHANGED
@@ -1,27 +1,10 @@
|
|
1
|
-
language:
|
2
|
-
|
3
|
-
|
4
|
-
-
|
5
|
-
|
6
|
-
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
- git clone git://github.com/systemd/systemd.git /tmp/systemd
|
12
|
-
- >
|
13
|
-
cd /tmp/systemd/ &&
|
14
|
-
git checkout v209 &&
|
15
|
-
sh autogen.sh &&
|
16
|
-
./configure --disable-apparmor --disable-audit --disable-selinux
|
17
|
-
--disable-machined --disable-logind --disable-timedated
|
18
|
-
--disable-timesyncd --disable-localed --disable-resolved
|
19
|
-
--disable-networkd --disable-tests --disable-coredump --disable-hostnamed
|
20
|
-
--disable-manpages --disable-libcryptsetup --disable-python-devel
|
21
|
-
--sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib
|
22
|
-
--with-rootprefix= --with-rootlibdir=/lib
|
23
|
-
- cd /tmp/systemd/ && make && sudo make install
|
24
|
-
- echo "done building in $(pwd), switching back to $PREV_DIR, library path is $LD_LIBRARY_PATH"
|
25
|
-
- cd $PREV_DIR
|
26
|
-
- >
|
27
|
-
[ -f /etc/machine-id ] || cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32 | awk '{ print $1 }' | sudo tee /etc/machine-id
|
1
|
+
language: generic
|
2
|
+
sudo: required
|
3
|
+
env:
|
4
|
+
- DIST=xenial
|
5
|
+
- DIST=bionic
|
6
|
+
- DIST=centos
|
7
|
+
matrix:
|
8
|
+
allow_failures:
|
9
|
+
- env: DIST=bionic
|
10
|
+
script: docker build -f Dockerfile.$DIST .
|
data/Dockerfile.bionic
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
FROM ubuntu:18.04
|
2
|
+
|
3
|
+
RUN apt-get update -q && apt-get install -qy --no-install-recommends \
|
4
|
+
build-essential \
|
5
|
+
ruby \
|
6
|
+
ruby-bundler \
|
7
|
+
ruby-dev \
|
8
|
+
libsystemd0 \
|
9
|
+
git \
|
10
|
+
&& apt-get clean \
|
11
|
+
&& rm -rf /var/lib/apt/lists/* \
|
12
|
+
&& truncate -s 0 /var/log/*log
|
13
|
+
|
14
|
+
WORKDIR /usr/src
|
15
|
+
|
16
|
+
COPY . .
|
17
|
+
RUN bundle install
|
18
|
+
RUN cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32 | awk '{ print $1 }' | tee /etc/machine-id
|
19
|
+
RUN bundle exec rake
|
data/Dockerfile.centos
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
FROM centos:7
|
2
|
+
|
3
|
+
RUN yum install -y make gcc-c++ systemd ruby ruby-devel rubygem-bundler git
|
4
|
+
|
5
|
+
WORKDIR /usr/src
|
6
|
+
ENV RUBOCOP=false
|
7
|
+
|
8
|
+
COPY . .
|
9
|
+
RUN bundle install
|
10
|
+
RUN cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32 | awk '{ print $1 }' | tee /etc/machine-id
|
11
|
+
RUN bundle exec rake
|
data/Dockerfile.xenial
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
FROM ubuntu:16.04
|
2
|
+
|
3
|
+
RUN apt-get update -q && apt-get install -qy --no-install-recommends \
|
4
|
+
build-essential \
|
5
|
+
ruby \
|
6
|
+
ruby-bundler \
|
7
|
+
ruby-dev \
|
8
|
+
libsystemd0 \
|
9
|
+
git \
|
10
|
+
&& apt-get clean \
|
11
|
+
&& rm -rf /var/lib/apt/lists/* \
|
12
|
+
&& truncate -s 0 /var/log/*log
|
13
|
+
|
14
|
+
WORKDIR /usr/src
|
15
|
+
|
16
|
+
COPY . .
|
17
|
+
RUN bundle install
|
18
|
+
RUN cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32 | awk '{ print $1 }' | tee /etc/machine-id
|
19
|
+
RUN bundle exec rake
|
data/Rakefile
CHANGED
@@ -1,18 +1,21 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'yard'
|
3
3
|
require 'rspec/core/rake_task'
|
4
|
-
|
4
|
+
|
5
|
+
unless ENV['RUBOCOP'] == 'false'
|
6
|
+
require 'rubocop/rake_task'
|
7
|
+
|
8
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
9
|
+
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
|
10
|
+
task.fail_on_error = false
|
11
|
+
end
|
12
|
+
end
|
5
13
|
|
6
14
|
desc 'open a console with systemd/journal required'
|
7
15
|
task :console do
|
8
16
|
exec 'pry -I./lib -r systemd/journal'
|
9
17
|
end
|
10
18
|
|
11
|
-
RuboCop::RakeTask.new(:rubocop) do |task|
|
12
|
-
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
|
13
|
-
task.fail_on_error = false
|
14
|
-
end
|
15
|
-
|
16
19
|
YARD::Rake::YardocTask.new do |t|
|
17
20
|
t.files = ['lib/**/*.rb']
|
18
21
|
t.options = ['--no-private', '--markup=markdown']
|
data/lib/systemd/journal.rb
CHANGED
data/systemd-journal.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |gem|
|
|
31
31
|
|
32
32
|
gem.add_development_dependency 'rspec', '~> 3.4'
|
33
33
|
gem.add_development_dependency 'simplecov', '~> 0.9'
|
34
|
-
gem.add_development_dependency 'rubocop', '~> 0.26'
|
34
|
+
gem.add_development_dependency 'rubocop', '~> 0.26' unless ENV['RUBOCOP'] == 'false'
|
35
35
|
gem.add_development_dependency 'rake', '~> 10.3'
|
36
36
|
gem.add_development_dependency 'yard', '~> 0.8'
|
37
37
|
gem.add_development_dependency 'pry', '~> 0.10'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: systemd-journal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Ledbetter
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
LnHNrDPklxqI1pnkXyKU9OrcCVuFnKY6te48kWZ8ZN/WhegL1fbNtLuvgoS2WuUJ
|
32
32
|
5MDu0m5ogQUz8Ijw
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: ffi
|
@@ -142,6 +142,9 @@ files:
|
|
142
142
|
- ".gitignore"
|
143
143
|
- ".rubocop.yml"
|
144
144
|
- ".travis.yml"
|
145
|
+
- Dockerfile.bionic
|
146
|
+
- Dockerfile.centos
|
147
|
+
- Dockerfile.xenial
|
145
148
|
- Gemfile
|
146
149
|
- LICENSE.txt
|
147
150
|
- README.md
|
@@ -192,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
195
|
version: '0'
|
193
196
|
requirements: []
|
194
197
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.7.7
|
196
199
|
signing_key:
|
197
200
|
specification_version: 4
|
198
201
|
summary: Ruby bindings to libsystemd-journal
|
metadata.gz.sig
CHANGED
Binary file
|