Update URL in gemspec and travis

pull/8/head
Lukas Zapletal 4 years ago committed by Lukáš Zapletal
parent 2236349f5e
commit a349eb3222
  1. 20
      .travis.yml
  2. 7
      README.md
  3. 5
      ext/journald_native/extconf.rb
  4. 10
      journald-native.gemspec

@ -1,13 +1,17 @@
# test with minimum and current and previous version of ruby; try default version of rbx
# test compilation and then run tests with dummy mode turned on
language: ruby
os:
- xenial # we cannot actually test until xenial is added to Travis
before_install:
- sudo apt-get install -y libsystemd-journal-dev
install: "bundle install"
rvm:
- '1.9.2'
- '2.2.4'
- '2.3.0'
- rbx
- 1.9.2
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- 2.4.0
script:
- bundle exec rake compile
- bundle exec rake clean
- bundle exec rake compile -- --with-dummy
- bundle exec rspec

@ -1,7 +1,6 @@
# journald-native
[![Gem](https://img.shields.io/gem/v/journald-native.svg)](https://rubygems.org/gems/journald-native)
[![License](https://img.shields.io/github/license/sandfoxme/journald-native.svg)](https://www.gnu.org/licenses/lgpl-2.1.txt)
[![Build Status](https://travis-ci.org/theforeman/journald-native.svg?branch=master)](https://travis-ci.org/theforeman/journald-native)
A systemd-journal native logging lib wrapper.
[See sd-journal help for more info](http://www.freedesktop.org/software/systemd/man/sd_journal_print.html)
@ -80,6 +79,10 @@ They will probably throw a deprecation warning in 1.1 and be removed in 2.0 shou
**Please note that `send` method is overridden.
This is a bad practice and a reason why longer names were introduced later**
### Authors
This library was written by Anton Smirnov and currently maintained by https://www.theforeman.org developers.
### License
Copyright (c) 2014 Anton Smirnov

@ -47,5 +47,10 @@ unless have_funcs
have_funcs
end
if with_config("dummy")
$defs.push "-DJOURNALD_NATIVE_COMPILE_DUMMY"
$defs.push "-DJOURNALD_NATIVE_SD_JOURNAL_DUMMY"
end
create_header
create_makefile('journald_native')

@ -9,16 +9,10 @@ Gem::Specification.new do |spec|
spec.authors = ['Anton Smirnov']
spec.email = ['sandfox@sandfox.me']
spec.summary = 'systemd-journal logging native lib wrapper'
spec.homepage = 'https://github.com/sandfoxme/journald-native'
spec.homepage = 'https://github.com/theforeman/journald-native'
spec.license = 'LGPL-2.1+'
spec.files =
# Get all files from git
# Do not include full text of the license (there is a link),
# dot files, tests
`git ls-files -z`
.split("\x0")
.reject{ |file| %r{^(COPYING|\.|spec/)}.match? file }
spec.files = `git ls-files -- {lib,ext}/* *.md`.split("\n")
spec.require_paths = ['lib']
spec.extensions << 'ext/journald_native/extconf.rb'

Loading…
Cancel
Save