-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlazy_rotator.gemspec
34 lines (28 loc) · 1.42 KB
/
lazy_rotator.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 'lazy_rotator/version'
Gem::Specification.new do |spec|
spec.name = 'lazy_rotator'
spec.version = LazyRotator::VERSION
spec.authors = ['Jeremy Weathers']
spec.email = ['[email protected]']
spec.summary = 'Lazily rotate log files'
spec.description = "Tie log (or other file) rotation to the (un-scheduled?) execution of code. The raison d'étre for this gem is that I'm too lazy to clear out test and development logs manually and am too anal-retentive to be happy with large log files accumulating in my various project directories."
spec.homepage = 'https://github.com/jlw/lazy_rotator'
spec.license = 'Unlicense'
spec.metadata = { 'rubygems_mfa_required' => 'true' }
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.6.0'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'fuubar'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'simplecov'
end