dev-ruby/lograge - 0.14.0 (graaff)

Search

Install

Install this version:

emerge -a =dev-ruby/lograge-0.14.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ruby/lograge-0.14.0

Or alternatively:

emerge --autounmask-write -a =dev-ruby/lograge-0.14.0

Package Information

Description:
Tame Rails' multi-line logging into a single line per request
Homepage:
https://github.com/roidrage/lograge
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.14.0 8 ~amd64 $(ver_cut 1)
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby32 ruby33"

RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRADOC="README.md"

RUBY_FAKEGEM_GEMSPEC="lograge.gemspec"

inherit ruby-fakegem

DESCRIPTION="Tame Rails' multi-line logging into a single line per request"
HOMEPAGE="https://github.com/roidrage/lograge"
SRC_URI="https://github.com/roidrage/lograge/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"

SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"

ruby_add_rdepend "
	>=dev-ruby/actionpack-4
	>=dev-ruby/activesupport-4
	>=dev-ruby/railties-4
	dev-ruby/request_store:0
"

all_ruby_prepare() {
	sed -e 's/git ls-files/find/' \
		-i ${RUBY_FAKEGEM_GEMSPEC} || die

	sed -e '/simplecov/I s:^:#:' \
		-i spec/spec_helper.rb || die

	# Avoid specs for unpackaged gems
	rm -f spec/formatters/{lines,logstash}_spec.rb || die
}

Inherited Eclasses

Manifest for 0.14.0

Type File Size Source URLs
DIST lograge-0.14.0.tar.gz 24051 bytes https://github.com/roidrage/lograge/archive/v0.14.0.tar.gz