-
Notifications
You must be signed in to change notification settings - Fork 10
/
log4jruby.gemspec
34 lines (29 loc) · 1.4 KB
/
log4jruby.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'log4jruby/version'
Gem::Specification.new do |gem|
gem.name = 'log4jruby'
gem.version = Log4jruby::VERSION
gem.authors = ['Lenny Marks']
gem.email = ['[email protected]']
gem.description = 'Ruby Logger using Log4j, geared toward those who use JRuby to write ' \
'Ruby code using/extending Java code. Ruby and Java are configured ' \
'together using traditional Log4j methods.'
gem.summary = <<-END_SUMMARY
Log4jruby is a thin wrapper around the Log4j Logger. It is geared more toward#{' '}
those who are using JRuby to integrate with and build on top of Java code that#{' '}
uses Log4j. The Log4jruby::Logger provides an interface much like the standard#{' '}
ruby Logger. Your ruby loggers are given a .jruby prefix and can be configured#{' '}
along with the loggers for your Java code.
END_SUMMARY
gem.homepage = 'https://github.com/lenny/log4jruby'
gem.files = Dir.glob('{lib, spec}/**/*') + %w[README.md CHANGELOG.md]
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.require_paths = ['lib']
gem.platform = 'java'
gem.license = 'MIT'
# jruby >= 9.1.x
gem.required_ruby_version = '>= 2.3.3'
gem.metadata['rubygems_mfa_required'] = 'true'
end