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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2f31e11d5777f97a69cae351bd6f65c90fdd2cd6
4
- data.tar.gz: 14cccb03b8856fea50433a58648267947113797d
2
+ SHA256:
3
+ metadata.gz: 329005606eb7ca163feb075284fb0bdf0e87bbb4bcd409ffe14ccb75687c4479
4
+ data.tar.gz: 3e940c1acda1c885e5bd8849e96c25d9c263aefbea94754aca1c0c011dab85d5
5
5
  SHA512:
6
- metadata.gz: 2c51128c4f6c947e6c0d84142ea73af1013bb66211b6ef0dbc3ab4b7c211897fc504afef3b8021f2294d85c5d75f2c539253e8f8cecc5e389bae19a18bfa7daf
7
- data.tar.gz: 6fa32204f49f3e4df4c82ae06a1ee5a20afda7744f087ee289c48ae92b8dfd72989dbc25db870734715ba1889feaef3b2bcb29fe453a96834890b5444097aad2
6
+ metadata.gz: b770d5a1c395222351396e53bdda4818e9edf1fb0e0d4b77ba182ad8b9d7c189691f8cb2e1cef4749d08ef5a61eaee706eece7edec1f8c9d906af2900a656c0f
7
+ data.tar.gz: 98022df94dc7e0419bc94eb3e126a8299d6a3c3bdb531bbf863fef780f78d9cf7f9a39ab8f1d836d7fec4f8436454a5b20d7a8b3cb644b8424a456dfbdcf0955
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,27 +1,10 @@
1
- language: ruby
2
- rvm:
3
- - 2.4.0
4
- - 2.3.0
5
- before_install:
6
- - gem install bundler
7
- before_script:
8
- - export PREV_DIR=$(pwd)
9
- - sudo apt-get update -qq
10
- - sudo apt-get install autotools-dev automake autoconf libtool libdbus-1-dev libcap-dev libblkid-dev libpam-dev libcryptsetup-dev libaudit-dev libacl1-dev libattr1-dev libselinux-dev liblzma-dev libgcrypt-dev libqrencode-dev libmicrohttpd-dev gtk-doc-tools gperf python2.7-dev
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 .
@@ -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
@@ -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
@@ -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
- require 'rubocop/rake_task'
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']
@@ -52,6 +52,7 @@ module Systemd
52
52
  raise JournalError, rc if rc < 0
53
53
 
54
54
  @ptr = ptr.read_pointer
55
+ file_descriptor
55
56
  ObjectSpace.define_finalizer(self, self.class.finalize(@ptr))
56
57
  end
57
58
 
@@ -1,6 +1,6 @@
1
1
  module Systemd
2
2
  class Journal
3
3
  # The version of the systemd-journal gem.
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.2'
5
5
  end
6
6
  end
@@ -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.1
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: 2017-10-06 00:00:00.000000000 Z
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.6.11
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