-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjson_rails_logger.gemspec
33 lines (28 loc) · 1.16 KB
/
json_rails_logger.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
# frozen_string_literal: true
require './lib/json_rails_logger/version'
Gem::Specification.new do |spec|
spec.name = 'json_rails_logger'
spec.version = JsonRailsLogger::VERSION
spec.summary = 'JSON Rails Logger'
spec.description = 'A custom rails logger that outputs JSON instead of raw text'
spec.authors = ['Epimorphics Ltd', 'Bogdan-Adrian Marc']
spec.email = '[email protected]'
spec.homepage = 'https://github.com/epimorphics/json-rails-logger'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.0.0'
spec.metadata = {
'github_repo' => '[email protected]:epimorphics/json-rails-logger.git',
'rubygems_mfa_required' => 'true'
}
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(.github/|.gitignore|features/|Makefile|spec/|test/)})
end
end
spec.require_paths = ['lib']
spec.add_dependency 'json'
spec.add_dependency 'lograge'
spec.add_dependency 'railties'
end