yell 2.0.7 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +4 -1
- data/.ruby-version +1 -0
- data/.travis.yml +18 -6
- data/Gemfile +5 -10
- data/Gemfile.lte-1.9.3 +17 -0
- data/Gemfile.lte-2.2.2 +17 -0
- data/README.md +5 -2
- data/lib/yell.rb +0 -2
- data/lib/yell/adapters.rb +0 -1
- data/lib/yell/adapters/base.rb +0 -2
- data/lib/yell/adapters/datefile.rb +0 -2
- data/lib/yell/adapters/file.rb +0 -2
- data/lib/yell/adapters/io.rb +0 -2
- data/lib/yell/adapters/streams.rb +0 -2
- data/lib/yell/configuration.rb +0 -2
- data/lib/yell/event.rb +0 -2
- data/lib/yell/formatter.rb +1 -2
- data/lib/yell/helpers/adapter.rb +0 -1
- data/lib/yell/helpers/base.rb +0 -1
- data/lib/yell/helpers/formatter.rb +0 -1
- data/lib/yell/helpers/level.rb +0 -1
- data/lib/yell/helpers/silencer.rb +0 -1
- data/lib/yell/helpers/tracer.rb +0 -1
- data/lib/yell/level.rb +0 -2
- data/lib/yell/loggable.rb +0 -2
- data/lib/yell/logger.rb +0 -1
- data/lib/yell/repository.rb +0 -2
- data/lib/yell/silencer.rb +0 -1
- data/lib/yell/version.rb +1 -3
- data/spec/spec_helper.rb +6 -1
- data/spec/yell/formatter_spec.rb +2 -0
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d40afe567ba6017ff9066bfa7c1f0d6bf360210
|
|
4
|
+
data.tar.gz: eccc69b5430f2e7ed6bc9f3755fb0f512d509330
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90134937f6118f9a1cd76ad62f133d1abfd7e3dce88a21fbe0d1564c22da753c8ccdb5d578fd8256af5008dea4ff68be5eed88c1b4397256437fc9c0e91130be
|
|
7
|
+
data.tar.gz: cdc15512a859b592eadf30ac9ef935eedb0a716e499c52d6e5c2bfa00b8897cb49fb3dd5f9a00392f5c48c76515b35df3be6b6a02bb3c76ee66952b34af03554
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.1
|
data/.travis.yml
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
sudo: false
|
|
2
1
|
language: ruby
|
|
2
|
+
before_install: gem install bundler
|
|
3
|
+
script: "bundle exec rspec"
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
matrix:
|
|
6
|
+
include:
|
|
7
|
+
- rvm: ruby-head
|
|
8
|
+
- rvm: 2.3.1
|
|
9
|
+
- rvm: 2.2.5
|
|
5
10
|
|
|
6
|
-
rvm:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
- rvm: 2.2.2
|
|
12
|
+
gemfile: Gemfile.lte-2.2.2
|
|
13
|
+
- rvm: 2.1.0
|
|
14
|
+
gemfile: Gemfile.lte-2.2.2
|
|
15
|
+
- rvm: 2.0.0
|
|
16
|
+
gemfile: Gemfile.lte-2.2.2
|
|
17
|
+
|
|
18
|
+
- rvm: jruby-head
|
|
19
|
+
- rvm: jruby-9.1.12.0
|
|
20
|
+
- rvm: jruby-9.0.0.0
|
|
21
|
+
gemfile: Gemfile.lte-2.2.2
|
|
10
22
|
|
|
11
23
|
notifications:
|
|
12
24
|
on_success: change
|
data/Gemfile
CHANGED
|
@@ -11,17 +11,12 @@ group :development, :test do
|
|
|
11
11
|
gem 'rspec-mocks'
|
|
12
12
|
gem 'rspec-its'
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
gem 'activesupport', '~> 3'
|
|
17
|
-
else
|
|
18
|
-
gem 'timecop'
|
|
19
|
-
gem 'activesupport'
|
|
14
|
+
gem 'timecop'
|
|
15
|
+
gem 'byebug', platform: :mri
|
|
20
16
|
|
|
21
|
-
|
|
22
|
-
end
|
|
17
|
+
gem 'activesupport', '~> 5'
|
|
23
18
|
|
|
24
|
-
gem 'simplecov', :
|
|
25
|
-
gem 'coveralls', :
|
|
19
|
+
gem 'simplecov', require: false
|
|
20
|
+
gem 'coveralls', require: false
|
|
26
21
|
end
|
|
27
22
|
|
data/Gemfile.lte-1.9.3
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
source "http://rubygems.org"
|
|
2
|
+
|
|
3
|
+
# Specify your gem's dependencies in yell.gemspec
|
|
4
|
+
gemspec
|
|
5
|
+
|
|
6
|
+
group :development, :test do
|
|
7
|
+
gem 'rake'
|
|
8
|
+
|
|
9
|
+
gem 'rspec-core', '~> 3'
|
|
10
|
+
gem 'rspec-expectations'
|
|
11
|
+
gem 'rspec-mocks'
|
|
12
|
+
gem 'rspec-its'
|
|
13
|
+
|
|
14
|
+
gem 'timecop', '~> 0.8'
|
|
15
|
+
|
|
16
|
+
gem 'activesupport', '~> 3'
|
|
17
|
+
end
|
data/Gemfile.lte-2.2.2
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
source "http://rubygems.org"
|
|
2
|
+
|
|
3
|
+
# Specify your gem's dependencies in yell.gemspec
|
|
4
|
+
gemspec
|
|
5
|
+
|
|
6
|
+
group :development, :test do
|
|
7
|
+
gem "rake"
|
|
8
|
+
|
|
9
|
+
gem 'rspec-core', '~> 3'
|
|
10
|
+
gem 'rspec-expectations'
|
|
11
|
+
gem 'rspec-mocks'
|
|
12
|
+
gem 'rspec-its'
|
|
13
|
+
|
|
14
|
+
gem 'timecop', '~> 0.8'
|
|
15
|
+
|
|
16
|
+
gem 'activesupport', '~> 4'
|
|
17
|
+
end
|
data/README.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
# Yell [](http://badge.fury.io/rb/yell) [](https://travis-ci.org/rudionrails/yell) [](https://codeclimate.com/github/rudionrails/yell) [](https://coveralls.io/r/rudionrails/yell)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
**Yell - Your Extensible Logging Library** is a comprehensive logging replacement for Ruby.
|
|
5
5
|
|
|
6
|
-
Yell works and
|
|
6
|
+
Yell works and its test suite currently runs on:
|
|
7
|
+
|
|
8
|
+
- ruby-head, 2.3.1, 2.2.5, 2.2.2, 2.1.0, 2.0.0
|
|
9
|
+
- jruby-head, jruby-9.1.0.0, jruby-9.0.0.0
|
|
7
10
|
|
|
8
11
|
If you want to conveniently use Yell with Rails, then head over to [yell-rails](https://github.com/rudionrails/yell-rails). You'll find all the documentation in this repository, though.
|
|
9
12
|
|
data/lib/yell.rb
CHANGED
data/lib/yell/adapters.rb
CHANGED
data/lib/yell/adapters/base.rb
CHANGED
data/lib/yell/adapters/file.rb
CHANGED
data/lib/yell/adapters/io.rb
CHANGED
data/lib/yell/configuration.rb
CHANGED
data/lib/yell/event.rb
CHANGED
data/lib/yell/formatter.rb
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
1
|
require 'time'
|
|
3
2
|
|
|
4
3
|
# TODO: Register custom formats
|
|
@@ -164,7 +163,7 @@ module Yell #:nodoc:
|
|
|
164
163
|
when false then Yell::NoFormat
|
|
165
164
|
when nil then Yell::DefaultFormat
|
|
166
165
|
else pattern
|
|
167
|
-
end
|
|
166
|
+
end.dup
|
|
168
167
|
|
|
169
168
|
@pattern << "\n" unless @pattern[-1] == ?\n # add newline if not present
|
|
170
169
|
@date_pattern = date_pattern || :iso8601
|
data/lib/yell/helpers/adapter.rb
CHANGED
data/lib/yell/helpers/base.rb
CHANGED
data/lib/yell/helpers/level.rb
CHANGED
data/lib/yell/helpers/tracer.rb
CHANGED
data/lib/yell/level.rb
CHANGED
data/lib/yell/loggable.rb
CHANGED
data/lib/yell/logger.rb
CHANGED
data/lib/yell/repository.rb
CHANGED
data/lib/yell/silencer.rb
CHANGED
data/lib/yell/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/yell/formatter_spec.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rudolf Schmidt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Yell - Your Extensible Logging Library. Define multiple adapters, various
|
|
14
14
|
log level combinations or message formatting options like you've never done before
|
|
@@ -18,8 +18,11 @@ extensions: []
|
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
20
|
- ".gitignore"
|
|
21
|
+
- ".ruby-version"
|
|
21
22
|
- ".travis.yml"
|
|
22
23
|
- Gemfile
|
|
24
|
+
- Gemfile.lte-1.9.3
|
|
25
|
+
- Gemfile.lte-2.2.2
|
|
23
26
|
- LICENSE.txt
|
|
24
27
|
- README.md
|
|
25
28
|
- Rakefile
|
|
@@ -101,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
104
|
version: '0'
|
|
102
105
|
requirements: []
|
|
103
106
|
rubyforge_project: yell
|
|
104
|
-
rubygems_version: 2.
|
|
107
|
+
rubygems_version: 2.6.11
|
|
105
108
|
signing_key:
|
|
106
109
|
specification_version: 4
|
|
107
110
|
summary: Yell - Your Extensible Logging Library
|