loog 0.5.1 → 0.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1ff618d0107b8ec12ffd303cee8926274b2a8a37593ba60eeece9a1c071a7b3
4
- data.tar.gz: 44cee88f20b6da00bbd425d9faf718295613bd9e786d0344228c054e4d819373
3
+ metadata.gz: ebcf49ea46676a82c2a2c7c7e3594388b6061e16abf6e04930272f54cd283734
4
+ data.tar.gz: 986657c7af1b899508956c92354a2bc70106c0f95256a2aa85ef114131753894
5
5
  SHA512:
6
- metadata.gz: 3d5d4f85a2281ed8348bd4cb871d4903fc49eed43d3221592f8d5ed9f89a16fa49d5c493e1e691ffabc182fd4ba33ba911ef903411faf8f0d8d2c5cdfab431d9
7
- data.tar.gz: 7e6a683fa912743f79d479fef4ae75d7248015158a947aeff80d8705de100499239841185daaf6e4d296eff7a78644bc8bda677a4dc2ddff9cb3e9c608c18d3a
6
+ metadata.gz: 258a06ad6fd0905ccab372bb0333fbafe67383f336407da5140b184adfdcc96db187533d6bdd4bbb954c737057ab62a24615b2a757fe17caf99777501648193c
7
+ data.tar.gz: ce25286f572ba1be51863fd9503ea8f56cc7bb801c6e9033f6e0a6b741e9dd8a595f4538fd4b342819338b103d1aaa0f6f750184e503594bcef62998cf18b4b4
data/.0pdd.yml CHANGED
@@ -1,3 +1,23 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
20
+ ---
1
21
  errors:
2
22
  - yegor256@gmail.com
3
23
  # alerts:
@@ -1,3 +1,22 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
1
20
  ---
2
21
  name: codecov
3
22
  on:
@@ -6,15 +25,15 @@ on:
6
25
  - master
7
26
  jobs:
8
27
  codecov:
9
- runs-on: ubuntu-20.04
28
+ runs-on: ubuntu-22.04
10
29
  steps:
11
- - uses: actions/checkout@v3
30
+ - uses: actions/checkout@v4
12
31
  - uses: actions/setup-ruby@v1
13
32
  with:
14
33
  ruby-version: 2.7
15
34
  - run: bundle update
16
35
  - run: bundle exec rake
17
- - uses: codecov/codecov-action@v3
36
+ - uses: codecov/codecov-action@v4.0.0-beta.3
18
37
  with:
19
38
  file: coverage/.resultset.json
20
39
  fail_ci_if_error: true
@@ -1,6 +1,25 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
1
20
  ---
2
21
  name: pdd
3
- "on":
22
+ on:
4
23
  push:
5
24
  branches:
6
25
  - master
@@ -9,7 +28,7 @@ name: pdd
9
28
  - master
10
29
  jobs:
11
30
  pdd:
12
- runs-on: ubuntu-20.04
31
+ runs-on: ubuntu-22.04
13
32
  steps:
14
- - uses: actions/checkout@v3
15
- - uses: g4s8/pdd-action@master
33
+ - uses: actions/checkout@v4
34
+ - uses: volodya-lombrozo/pdd-action@master
@@ -1,3 +1,22 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
1
20
  ---
2
21
  name: rake
3
22
  on:
@@ -16,7 +35,7 @@ jobs:
16
35
  ruby: [2.7, 3.0]
17
36
  runs-on: ${{ matrix.os }}
18
37
  steps:
19
- - uses: actions/checkout@v3
38
+ - uses: actions/checkout@v4
20
39
  - uses: ruby/setup-ruby@v1
21
40
  with:
22
41
  ruby-version: ${{ matrix.ruby }}
@@ -1,3 +1,22 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
1
20
  ---
2
21
  name: xcop
3
22
  "on":
@@ -9,9 +28,9 @@ name: xcop
9
28
  - master
10
29
  jobs:
11
30
  xcop:
12
- runs-on: ubuntu-20.04
31
+ runs-on: ubuntu-22.04
13
32
  steps:
14
- - uses: actions/checkout@v3
33
+ - uses: actions/checkout@v4
15
34
  - uses: g4s8/xcop-action@master
16
35
  with:
17
36
  files: '**/*.xml'
data/.rubocop.yml CHANGED
@@ -1,3 +1,23 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
20
+ ---
1
21
  AllCops:
2
22
  DisplayCopNames: true
3
23
  TargetRubyVersion: 2.3.3
data/.rultor.yml CHANGED
@@ -1,5 +1,25 @@
1
+ # Copyright (c) 2018-2024 Yegor Bugayenko
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the 'Software'), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
20
+ ---
1
21
  docker:
2
- image: yegor256/rultor-image:1.21.0
22
+ image: yegor256/rultor-image:1.23.1
3
23
  assets:
4
24
  rubygems.yml: yegor256/home#assets/rubygems.yml
5
25
  install: |
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2023 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
@@ -23,9 +23,9 @@
23
23
  source 'https://rubygems.org'
24
24
  gemspec
25
25
 
26
- gem 'minitest', '5.19.0', require: false
27
- gem 'rake', '13.0.6', require: false
28
- gem 'rdoc', '6.5.0', require: false
29
- gem 'rubocop', '1.54.2', require: false
30
- gem 'rubocop-rspec', '2.22.0', require: false
26
+ gem 'minitest', '5.24.0', require: false
27
+ gem 'rake', '13.2.1', require: false
28
+ gem 'rdoc', '6.7.0', require: false
29
+ gem 'rubocop', '1.64.1', require: false
30
+ gem 'rubocop-rspec', '3.0.1', require: false
31
31
  gem 'simplecov', '0.22.0', require: false
data/README.md CHANGED
@@ -31,7 +31,7 @@ The gem is basically a provider of a few pre-configured loggers, which
31
31
  you can use for production (`Loog::REGULAR`) or for testing (`Loog::VERBOSE`).
32
32
  You can also shut it up with `Loog::NULL`.
33
33
 
34
- There is also `Logger::Buffer` class that you can use for testing.
34
+ There is also `Loog::Buffer` class that you can use for testing.
35
35
  It accumulates all log calls and then returns the entire output
36
36
  through the `to_s()` method.
37
37
 
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2018-2023 Yegor Bugayenko
3
+ # Copyright (c) 2018-2024 Yegor Bugayenko
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the 'Software'), to deal
data/lib/loog/tee.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # (The MIT License)
4
4
  #
5
- # Copyright (c) 2018-2023 Yegor Bugayenko
5
+ # Copyright (c) 2018-2024 Yegor Bugayenko
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the 'Software'), to deal
@@ -33,7 +33,7 @@ require_relative '../loog'
33
33
  # This way you can log to console and to the file at the same time.
34
34
  #
35
35
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
36
- # Copyright:: Copyright (c) 2018-2023 Yegor Bugayenko
36
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
37
37
  # License:: MIT
38
38
  class Loog::Tee
39
39
  # Makes an instance.
@@ -57,6 +57,14 @@ class Loog::Tee
57
57
  @logs.any? { |g| g.info?(msg) }
58
58
  end
59
59
 
60
+ def warn(msg)
61
+ @logs.each { |g| g.warn(msg) }
62
+ end
63
+
64
+ def warn?
65
+ @logs.any? { |g| g.warn?(msg) }
66
+ end
67
+
60
68
  def error(msg)
61
69
  @logs.each { |g| g.error(msg) }
62
70
  end
data/lib/loog.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # (The MIT License)
4
4
  #
5
- # Copyright (c) 2018-2023 Yegor Bugayenko
5
+ # Copyright (c) 2018-2024 Yegor Bugayenko
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the 'Software'), to deal
@@ -34,7 +34,7 @@ require 'logger'
34
34
  # {README}[https://github.com/yegor256/loog/blob/master/README.md] file.
35
35
  #
36
36
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
37
- # Copyright:: Copyright (c) 2018-2023 Yegor Bugayenko
37
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
38
38
  # License:: MIT
39
39
  module Loog
40
40
  # Compact formatter
data/loog.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # (The MIT License)
4
4
  #
5
- # Copyright (c) 2018-2023 Yegor Bugayenko
5
+ # Copyright (c) 2018-2024 Yegor Bugayenko
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
28
28
  s.required_ruby_version = '>=2.3'
29
29
  s.name = 'loog'
30
- s.version = '0.5.1'
30
+ s.version = '0.5.2'
31
31
  s.license = 'MIT'
32
32
  s.summary = 'Object-oriented logging wrapper'
33
33
  s.description = 'Object-oriented wrapper for Ruby default logging facility'
data/test/test_loog.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # (The MIT License)
4
4
  #
5
- # Copyright (c) 2018-2023 Yegor Bugayenko
5
+ # Copyright (c) 2018-2024 Yegor Bugayenko
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the 'Software'), to deal
@@ -27,7 +27,7 @@ require_relative '../lib/loog'
27
27
 
28
28
  # Loog test.
29
29
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
30
- # Copyright:: Copyright (c) 2018-2023 Yegor Bugayenko
30
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
31
31
  # License:: MIT
32
32
  class LoogTest < Minitest::Test
33
33
  def test_simple_logging
@@ -41,6 +41,9 @@ class LoogTest < Minitest::Test
41
41
  def test_buffering
42
42
  b = Loog::Buffer.new(formatter: Loog::FULL)
43
43
  b.debug('Hello, world!')
44
+ b.info('Hello, world!')
45
+ b.warn('Hello, world!')
46
+ b.error('Hello, world!')
44
47
  stdout = b.to_s
45
48
  assert(stdout.include?('Hello'))
46
49
  assert(stdout.include?('DEBUG'))
@@ -49,8 +52,8 @@ class LoogTest < Minitest::Test
49
52
  def test_quiet_buffering
50
53
  b = Loog::Buffer.new
51
54
  b.info('Hey, друг!')
52
- b.info('Bye!')
53
- b.info('+')
55
+ b.warn('Bye!')
56
+ b.error('+')
54
57
  assert_equal("Hey, друг!\nBye!\n+\n", b.to_s)
55
58
  end
56
59
  end
data/test/test_tee.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # (The MIT License)
4
4
  #
5
- # Copyright (c) 2018-2023 Yegor Bugayenko
5
+ # Copyright (c) 2018-2024 Yegor Bugayenko
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the 'Software'), to deal
@@ -28,10 +28,14 @@ require_relative '../lib/loog/tee'
28
28
 
29
29
  # Loog::Tee test.
30
30
  # Author:: Yegor Bugayenko (yegor256@gmail.com)
31
- # Copyright:: Copyright (c) 2018-2023 Yegor Bugayenko
31
+ # Copyright:: Copyright (c) 2018-2024 Yegor Bugayenko
32
32
  # License:: MIT
33
33
  class TeeTest < Minitest::Test
34
34
  def test_simple_logging
35
- Loog::Tee.new(Loog::VERBOSE, Loog::REGULAR).info('Works?')
35
+ tee = Loog::Tee.new(Loog::VERBOSE, Loog::REGULAR)
36
+ tee.info('Works?')
37
+ tee.debug('Works?')
38
+ tee.warn('Works?')
39
+ tee.error('Works?')
36
40
  end
37
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-28 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Object-oriented wrapper for Ruby default logging facility
14
14
  email: yegor256@gmail.com
@@ -28,12 +28,10 @@ files:
28
28
  - ".rubocop.yml"
29
29
  - ".rultor.yml"
30
30
  - ".simplecov"
31
- - ".travis.yml"
32
31
  - Gemfile
33
32
  - LICENSE.txt
34
33
  - README.md
35
34
  - Rakefile
36
- - appveyor.yml
37
35
  - lib/loog.rb
38
36
  - lib/loog/tee.rb
39
37
  - logo.svg
@@ -63,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
61
  - !ruby/object:Gem::Version
64
62
  version: '0'
65
63
  requirements: []
66
- rubygems_version: 3.2.15
64
+ rubygems_version: 3.4.10
67
65
  signing_key:
68
66
  specification_version: 4
69
67
  summary: Object-oriented logging wrapper
data/.travis.yml DELETED
@@ -1,13 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.6.0
4
- cache: bundler
5
- branches:
6
- only:
7
- - master
8
- install:
9
- - travis_retry bundle update
10
- script:
11
- - rake
12
- after_success:
13
- - "bash <(curl -s https://codecov.io/bash)"
data/appveyor.yml DELETED
@@ -1,21 +0,0 @@
1
- version: '{build}'
2
- skip_tags: true
3
- clone_depth: 10
4
- branches:
5
- only:
6
- - master
7
- except:
8
- - gh-pages
9
- os: Windows Server 2012
10
- install:
11
- - cmd: SET PATH=C:\Ruby23-x64\bin;%PATH%
12
- - cmd: ruby --version
13
- - cmd: git --version
14
- build_script:
15
- - bundle update
16
- - bundle install
17
- test_script:
18
- - bundle exec rake
19
- cache:
20
- - C:\Ruby200\bin -> loog.gemspec
21
- - C:\Ruby200\lib\ruby\gems\2.0.0 -> loog.gemspec