-
Notifications
You must be signed in to change notification settings - Fork 15
/
steno.gemspec
40 lines (32 loc) · 1.39 KB
/
steno.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
35
36
37
38
39
40
require File.expand_path('lib/steno/version', __dir__)
Gem::Specification.new do |gem|
gem.authors = ['mpage']
gem.email = ['mpage@rbcon.com']
gem.description = 'A thread-safe logging library designed to support' \
+ ' multiple log destinations.'
gem.summary = 'A logging library.'
gem.homepage = 'http://www.cloudfoundry.org'
gitignore = File.readlines('.gitignore').grep(/^[^#]/).map { |s| s.chomp }
# Ignore Gemfile, this is a library
gitignore << 'Gemfile*'
glob = Dir['**/*']
.reject { |f| File.directory?(f) }
.reject { |f| gitignore.any? { |i| File.fnmatch(i, f) } }
gem.files = glob
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.name = 'steno'
gem.require_paths = ['lib']
gem.version = Steno::VERSION
gem.add_dependency('fluent-logger')
gem.add_dependency('yajl-ruby', '~> 1.0')
gem.add_development_dependency('rack-test')
gem.add_development_dependency('rake')
gem.add_development_dependency('rspec', '~>3.13.0')
gem.add_development_dependency('rubocop', '~> 1.62.0')
gem.add_development_dependency('rubocop-rake', '~> 0.6.0')
gem.add_development_dependency('rubocop-rspec', '~> 2.27.0')
if RUBY_PLATFORM =~ /mswin|mingw|cygwin/
gem.platform = Gem::Platform::CURRENT
gem.add_dependency('win32-eventlog', '~> 0.6.0')
end
end