Skip to content

Commit

Permalink
chore: minor gem maintenance (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh authored Jul 25, 2023
1 parent 3f1e6ba commit 758a94a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 99 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
ruby_version:
- 2.6
- 2.7
- '3.0'
- "3.0"
- 3.1
- 3.2
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gemfile.lock
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
AllCops:
TargetRubyVersion: 2.6
NewCops: enable

Metrics/BlockLength:
Expand Down
96 changes: 0 additions & 96 deletions Gemfile.lock

This file was deleted.

3 changes: 2 additions & 1 deletion klogger-logger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.6'
s.homepage = 'https://github.com/krystal/klogger'
s.version = Klogger::VERSION
s.files = Dir.glob('{lib}/**/*')
s.files = Dir.glob(File.join('{lib}', '**', '*')) +
Dir['{README.*,*LICENSE*,VERSION}']
s.require_paths = ['lib']
s.authors = ['Adam Cooke']
s.email = ['adam@krystal.uk']
Expand Down
5 changes: 4 additions & 1 deletion lib/klogger/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

require 'logger'
require 'securerandom'

require 'concurrent/atomic/thread_local_var'

require 'klogger/formatters/json'
require 'klogger/formatters/simple'
require 'klogger/formatters/go'
require 'concurrent/atomic/thread_local_var'
require 'klogger/group_set'
require 'klogger/version'

module Klogger
class Logger < ::Logger
Expand Down

0 comments on commit 758a94a

Please sign in to comment.