null-logger 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50e506de3f5e7c4f7a17394e1f63df5713f450d9fbea8e55718dc1baa0e4ad26
4
- data.tar.gz: 5c2c51cc6c6c3cda1f5932d1dc4aa9cae4cf081818bb88f9043bcb3bf5474eb6
3
+ metadata.gz: 2729adc809fa7f3deee7ffac3a8279f728dfb8a06e408c159cb6923a1379e364
4
+ data.tar.gz: d3d881b9392988c238afe3c3e5454da66c2f5c8882ee41e031133160d1f144b5
5
5
  SHA512:
6
- metadata.gz: 45ebf3958c153ad5f76577d678411bc21a7264d995315e750e4a2db4011b633681c740f9a43865ff2078143e96a1e18555f02e70abb693abf6fdd784e0428bc8
7
- data.tar.gz: e9c1bba42bb75f9067d2acc824031f2b599e74872aa7d135e7b75d66b2f6bbd9e28b5b9ab8c10a009bf0b16236c6792c8d9c52d49c88c0fa0f919cf3867dbbb2
6
+ metadata.gz: bdfe4b64cd6a07069590d06dc82daa0b1c92e8e57a7cb30f320cf94e9f313cc3bce49d08e27c140757a0ec5c56960952ea0e2252fd580e4c8ad0cd1571b54c36
7
+ data.tar.gz: 8872211878907ff1b0e6b3d2433d1561daae8349aec68714372109ea8b925ffd3f6b083f834d779a3713f9fb997eb8da138f5f1e7868114b4f8d039724b8719a
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -2,8 +2,6 @@ name: ci
2
2
 
3
3
  on:
4
4
  push:
5
- paths:
6
- - '**'
7
5
  schedule:
8
6
  - cron: '0 1 * * *'
9
7
 
@@ -14,11 +12,16 @@ jobs:
14
12
  fail-fast: false
15
13
  matrix:
16
14
  ruby:
17
- - "2.7"
18
- - "2.6"
19
- - "2.5"
15
+ - '2.7'
16
+ - '2.6'
17
+ - '2.5'
18
+ - 'jruby'
19
+ - 'truffleruby'
20
+ include:
21
+ - ruby: '2.7'
22
+ coverage: 'true'
20
23
  steps:
21
- - uses: actions/checkout@v1
24
+ - uses: actions/checkout@v2
22
25
  - name: Install package dependencies
23
26
  run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
24
27
  - name: Set up Ruby
@@ -32,12 +35,16 @@ jobs:
32
35
  - name: Bundle install
33
36
  run: bundle install --jobs 4 --retry 3
34
37
  - name: Run all tests
38
+ env:
39
+ GITHUB_COVERAGE: ${{matrix.coverage}}
35
40
  run: bundle exec rspec
36
41
  coditsu:
37
42
  runs-on: ubuntu-latest
38
43
  strategy:
39
44
  fail-fast: false
40
45
  steps:
41
- - uses: actions/checkout@v1
46
+ - uses: actions/checkout@v2
47
+ with:
48
+ fetch-depth: 0
42
49
  - name: Run Coditsu
43
50
  run: \curl -sSL https://api.coditsu.io/run/ci | bash
@@ -1,5 +1,10 @@
1
1
  # Null-Logger changelog
2
2
 
3
+ ## 0.1.7 (2020-04-24)
4
+ - restore JRuby support
5
+ - add TruffleRuby support
6
+ - Change license to LGPL-3.0
7
+
3
8
  ## 0.1.6 (2020-04-22)
4
9
  - drop jruby support
5
10
  - drop ruby 2.2 support
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- null-logger (0.1.6)
4
+ null-logger (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/LICENSE ADDED
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Null Logger
2
2
 
3
- [![Build Status](https://travis-ci.org/karafka/null-logger.svg?branch=master)](https://travis-ci.org/karafka/null-logger)
3
+ [![Build Status](https://github.com/karafka/null-logger/workflows/ci/badge.svg)](https://github.com/karafka/null-logger/actions?query=workflow%3Aci)
4
4
  [![Join the chat at https://gitter.im/karafka/karafka](https://badges.gitter.im/karafka/karafka.svg)](https://gitter.im/karafka/karafka?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5
5
 
6
6
  A simple logger that does not log anything. It can be used for defining an interface for other loggers.
@@ -46,7 +46,7 @@ NullLogger defines an interface for real logger instance, ex:
46
46
  ## References
47
47
 
48
48
  * [Karafka framework](https://github.com/karafka/karafka)
49
- * [Null Logger Travis CI](https://travis-ci.org/karafka/null-logger)
49
+ * [Null Logger Actions CI](https://github.com/karafka/null-logger/actions?query=workflow%3Aci)
50
50
  * [Null Logger Coditsu](https://app.coditsu.io/karafka/repositories/null-logger)
51
51
 
52
52
  ## Note on contributions
@@ -2,5 +2,5 @@
2
2
 
3
3
  class NullLogger
4
4
  # null-logger gem Version
5
- VERSION = '0.1.6'
5
+ VERSION = '0.1.7'
6
6
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.summary = 'A simple logger that does not log anything.'
14
14
  spec.description = 'It can be used for defining an interface for other loggers'
15
15
  spec.homepage = 'https://github.com/karafka/null-logger'
16
- spec.license = 'MIT'
16
+ spec.license = 'LGPL-3.0'
17
17
 
18
18
  spec.required_ruby_version = '>= 2.5.0'
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: null-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
36
36
  nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
37
37
  -----END CERTIFICATE-----
38
- date: 2020-04-22 00:00:00.000000000 Z
38
+ date: 2020-04-24 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: It can be used for defining an interface for other loggers
41
41
  email:
@@ -55,7 +55,7 @@ files:
55
55
  - CHANGELOG.md
56
56
  - Gemfile
57
57
  - Gemfile.lock
58
- - MIT-LICENCE
58
+ - LICENSE
59
59
  - README.md
60
60
  - certs/mensfeld.pem
61
61
  - lib/null_logger.rb
@@ -63,7 +63,7 @@ files:
63
63
  - null-logger.gemspec
64
64
  homepage: https://github.com/karafka/null-logger
65
65
  licenses:
66
- - MIT
66
+ - LGPL-3.0
67
67
  metadata: {}
68
68
  post_install_message:
69
69
  rdoc_options: []
metadata.gz.sig CHANGED
Binary file
@@ -1,18 +0,0 @@
1
- Permission is hereby granted, free of charge, to any person obtaining
2
- a copy of this software and associated documentation files (the
3
- "Software"), to deal in the Software without restriction, including
4
- without limitation the rights to use, copy, modify, merge, publish,
5
- distribute, sublicense, and/or sell copies of the Software, and to
6
- permit persons to whom the Software is furnished to do so, subject to
7
- the following conditions:
8
-
9
- The above copyright notice and this permission notice shall be
10
- included in all copies or substantial portions of the Software.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.