null-logger 0.1.0 → 0.1.1
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/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/Gemfile.lock +60 -56
- data/README.md +11 -0
- data/lib/version.rb +5 -2
- data/null-logger.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d667c1b77825d97bb42eaba45497a88187814aec
|
|
4
|
+
data.tar.gz: 39662e6b07fadb40b8b59319274f501f4b24768d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69a47ec56ad94d6900fe92711edb796c9996000b86fb8acc9053e3a7456e8ea8214ff27a7c1c64114eb8318351aad4957f6ec39e98f0ca122fe23ea2774360b7
|
|
7
|
+
data.tar.gz: 0cc387eea0b8874989d811231795a763cd7de9ab35e03650bedccd240360eaa36fd1b123111de8d3862fd596f0d4a2e2ac6ffad25b174699747b96aa560a6e5f
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.3.0
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
null-logger (0.1.
|
|
4
|
+
null-logger (0.1.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
9
|
abstract_type (0.0.7)
|
|
10
|
-
activemodel (4.2.
|
|
11
|
-
activesupport (= 4.2.
|
|
10
|
+
activemodel (4.2.5)
|
|
11
|
+
activesupport (= 4.2.5)
|
|
12
12
|
builder (~> 3.1)
|
|
13
|
-
activesupport (4.2.
|
|
13
|
+
activesupport (4.2.5)
|
|
14
14
|
i18n (~> 0.7)
|
|
15
15
|
json (~> 1.7, >= 1.7.7)
|
|
16
16
|
minitest (~> 5.1)
|
|
@@ -19,46 +19,48 @@ GEM
|
|
|
19
19
|
adamantium (0.2.0)
|
|
20
20
|
ice_nine (~> 0.11.0)
|
|
21
21
|
memoizable (~> 0.4.0)
|
|
22
|
-
ast (2.
|
|
22
|
+
ast (2.2.0)
|
|
23
23
|
astrolabe (1.3.1)
|
|
24
24
|
parser (~> 2.2)
|
|
25
25
|
axiom-types (0.1.1)
|
|
26
26
|
descendants_tracker (~> 0.0.4)
|
|
27
27
|
ice_nine (~> 0.11.0)
|
|
28
28
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
29
|
-
brakeman (3.1.
|
|
29
|
+
brakeman (3.1.4)
|
|
30
30
|
erubis (~> 2.6)
|
|
31
31
|
fastercsv (~> 1.5)
|
|
32
32
|
haml (>= 3.0, < 5.0)
|
|
33
|
-
highline (
|
|
33
|
+
highline (>= 1.6.20, < 2.0)
|
|
34
34
|
multi_json (~> 1.2)
|
|
35
35
|
ruby2ruby (>= 2.1.1, < 2.3.0)
|
|
36
36
|
ruby_parser (~> 3.7.0)
|
|
37
|
+
safe_yaml (>= 1.0)
|
|
37
38
|
sass (~> 3.0)
|
|
38
39
|
slim (>= 1.3.6, < 4.0)
|
|
39
|
-
terminal-table (~> 1.4
|
|
40
|
-
bson (
|
|
40
|
+
terminal-table (~> 1.4)
|
|
41
|
+
bson (4.0.0)
|
|
41
42
|
builder (3.2.2)
|
|
43
|
+
codeclimate-engine-rb (0.1.0)
|
|
44
|
+
virtus (~> 1.0)
|
|
42
45
|
coderay (1.1.0)
|
|
43
46
|
coercible (1.0.0)
|
|
44
47
|
descendants_tracker (~> 0.0.1)
|
|
45
48
|
concord (0.1.5)
|
|
46
49
|
adamantium (~> 0.2.0)
|
|
47
50
|
equalizer (~> 0.0.9)
|
|
48
|
-
connection_pool (2.2.0)
|
|
49
51
|
descendants_tracker (0.0.4)
|
|
50
52
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
51
53
|
diff-lcs (1.2.5)
|
|
52
54
|
docile (1.1.5)
|
|
53
55
|
equalizer (0.0.11)
|
|
54
56
|
erubis (2.7.0)
|
|
55
|
-
faker (1.
|
|
57
|
+
faker (1.6.1)
|
|
56
58
|
i18n (~> 0.5)
|
|
57
59
|
fastercsv (1.5.5)
|
|
58
|
-
flay (2.
|
|
60
|
+
flay (2.6.1)
|
|
59
61
|
ruby_parser (~> 3.0)
|
|
60
62
|
sexp_processor (~> 4.0)
|
|
61
|
-
flog (4.2
|
|
63
|
+
flog (4.3.2)
|
|
62
64
|
ruby_parser (~> 3.1, > 3.1.0)
|
|
63
65
|
sexp_processor (~> 4.4)
|
|
64
66
|
haml (4.0.7)
|
|
@@ -67,33 +69,30 @@ GEM
|
|
|
67
69
|
haml (~> 4.0)
|
|
68
70
|
rubocop (>= 0.25.0)
|
|
69
71
|
sysexits (~> 1.1)
|
|
70
|
-
highline (1.7.
|
|
72
|
+
highline (1.7.8)
|
|
71
73
|
i18n (0.7.0)
|
|
72
74
|
ice_nine (0.11.1)
|
|
73
75
|
json (1.8.3)
|
|
74
76
|
memoizable (0.4.2)
|
|
75
77
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
76
78
|
method_source (0.8.2)
|
|
77
|
-
minitest (5.8.
|
|
78
|
-
|
|
79
|
+
minitest (5.8.3)
|
|
80
|
+
mongo (2.2.1)
|
|
81
|
+
bson (~> 4.0)
|
|
82
|
+
mongoid (5.0.2)
|
|
79
83
|
activemodel (~> 4.0)
|
|
80
|
-
|
|
84
|
+
mongo (~> 2.1)
|
|
81
85
|
origin (~> 2.1)
|
|
82
86
|
tzinfo (>= 0.3.37)
|
|
83
|
-
mongoid-rspec (
|
|
84
|
-
mongoid (~>
|
|
87
|
+
mongoid-rspec (3.0.0)
|
|
88
|
+
mongoid (~> 5.0)
|
|
85
89
|
rake
|
|
86
|
-
rspec (~> 3.
|
|
87
|
-
moped (2.0.7)
|
|
88
|
-
bson (~> 3.0)
|
|
89
|
-
connection_pool (~> 2.0)
|
|
90
|
-
optionable (~> 0.2.0)
|
|
90
|
+
rspec (~> 3.3)
|
|
91
91
|
multi_json (1.11.2)
|
|
92
|
-
optionable (0.2.0)
|
|
93
92
|
origin (2.1.1)
|
|
94
|
-
parser (2.2.
|
|
93
|
+
parser (2.2.3.0)
|
|
95
94
|
ast (>= 1.1, < 3.0)
|
|
96
|
-
polishgeeks-dev-tools (1.1
|
|
95
|
+
polishgeeks-dev-tools (1.2.1)
|
|
97
96
|
brakeman
|
|
98
97
|
faker
|
|
99
98
|
haml-lint
|
|
@@ -101,56 +100,60 @@ GEM
|
|
|
101
100
|
pry
|
|
102
101
|
rspec
|
|
103
102
|
rubocop
|
|
104
|
-
rubycritic
|
|
103
|
+
rubycritic
|
|
105
104
|
shoulda
|
|
106
105
|
simplecov
|
|
107
106
|
timecop
|
|
108
107
|
yard
|
|
109
108
|
powerpack (0.1.1)
|
|
109
|
+
private_attr (1.1.0)
|
|
110
110
|
procto (0.0.2)
|
|
111
|
-
pry (0.10.
|
|
111
|
+
pry (0.10.3)
|
|
112
112
|
coderay (~> 1.1.0)
|
|
113
113
|
method_source (~> 0.8.1)
|
|
114
114
|
slop (~> 3.4)
|
|
115
115
|
rainbow (2.0.0)
|
|
116
116
|
rake (10.4.2)
|
|
117
|
-
reek (
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
reek (3.7.1)
|
|
118
|
+
codeclimate-engine-rb (~> 0.1.0)
|
|
119
|
+
parser (~> 2.2, >= 2.2.2.5)
|
|
120
|
+
private_attr (~> 1.1)
|
|
121
|
+
rainbow (~> 2.0)
|
|
120
122
|
unparser (~> 0.2.2)
|
|
121
|
-
rspec (3.
|
|
122
|
-
rspec-core (~> 3.
|
|
123
|
-
rspec-expectations (~> 3.
|
|
124
|
-
rspec-mocks (~> 3.
|
|
125
|
-
rspec-core (3.
|
|
126
|
-
rspec-support (~> 3.
|
|
127
|
-
rspec-expectations (3.
|
|
123
|
+
rspec (3.4.0)
|
|
124
|
+
rspec-core (~> 3.4.0)
|
|
125
|
+
rspec-expectations (~> 3.4.0)
|
|
126
|
+
rspec-mocks (~> 3.4.0)
|
|
127
|
+
rspec-core (3.4.1)
|
|
128
|
+
rspec-support (~> 3.4.0)
|
|
129
|
+
rspec-expectations (3.4.0)
|
|
128
130
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
129
|
-
rspec-support (~> 3.
|
|
130
|
-
rspec-mocks (3.
|
|
131
|
+
rspec-support (~> 3.4.0)
|
|
132
|
+
rspec-mocks (3.4.0)
|
|
131
133
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
132
|
-
rspec-support (~> 3.
|
|
133
|
-
rspec-support (3.
|
|
134
|
-
rubocop (0.
|
|
134
|
+
rspec-support (~> 3.4.0)
|
|
135
|
+
rspec-support (3.4.1)
|
|
136
|
+
rubocop (0.35.1)
|
|
135
137
|
astrolabe (~> 1.3)
|
|
136
|
-
parser (>= 2.2.
|
|
138
|
+
parser (>= 2.2.3.0, < 3.0)
|
|
137
139
|
powerpack (~> 0.1)
|
|
138
140
|
rainbow (>= 1.99.1, < 3.0)
|
|
139
|
-
ruby-progressbar (~> 1.
|
|
141
|
+
ruby-progressbar (~> 1.7)
|
|
142
|
+
tins (<= 1.6.0)
|
|
140
143
|
ruby-progressbar (1.7.5)
|
|
141
144
|
ruby2ruby (2.2.0)
|
|
142
145
|
ruby_parser (~> 3.1)
|
|
143
146
|
sexp_processor (~> 4.0)
|
|
144
|
-
ruby_parser (3.7.
|
|
147
|
+
ruby_parser (3.7.2)
|
|
145
148
|
sexp_processor (~> 4.1)
|
|
146
|
-
rubycritic (
|
|
147
|
-
flay (= 2.
|
|
148
|
-
flog (= 4.2
|
|
149
|
+
rubycritic (2.4.0)
|
|
150
|
+
flay (= 2.6.1)
|
|
151
|
+
flog (= 4.3.2)
|
|
149
152
|
parser (>= 2.2.0, < 3.0)
|
|
150
|
-
reek (=
|
|
151
|
-
ruby2ruby (>= 2.1.1, < 3.0)
|
|
153
|
+
reek (= 3.7.1)
|
|
152
154
|
virtus (~> 1.0)
|
|
153
|
-
|
|
155
|
+
safe_yaml (1.0.4)
|
|
156
|
+
sass (3.4.20)
|
|
154
157
|
sexp_processor (4.6.0)
|
|
155
158
|
shoulda (3.5.0)
|
|
156
159
|
shoulda-context (~> 1.0, >= 1.0.1)
|
|
@@ -158,7 +161,7 @@ GEM
|
|
|
158
161
|
shoulda-context (1.2.1)
|
|
159
162
|
shoulda-matchers (2.8.0)
|
|
160
163
|
activesupport (>= 3.0.0)
|
|
161
|
-
simplecov (0.
|
|
164
|
+
simplecov (0.11.1)
|
|
162
165
|
docile (~> 1.1.0)
|
|
163
166
|
json (~> 1.8)
|
|
164
167
|
simplecov-html (~> 0.10.0)
|
|
@@ -169,10 +172,11 @@ GEM
|
|
|
169
172
|
slop (3.6.0)
|
|
170
173
|
sysexits (1.2.0)
|
|
171
174
|
temple (0.7.6)
|
|
172
|
-
terminal-table (1.
|
|
175
|
+
terminal-table (1.5.2)
|
|
173
176
|
thread_safe (0.3.5)
|
|
174
177
|
tilt (2.0.1)
|
|
175
178
|
timecop (0.8.0)
|
|
179
|
+
tins (1.6.0)
|
|
176
180
|
tzinfo (1.2.2)
|
|
177
181
|
thread_safe (~> 0.1)
|
|
178
182
|
unparser (0.2.4)
|
|
@@ -198,4 +202,4 @@ DEPENDENCIES
|
|
|
198
202
|
polishgeeks-dev-tools
|
|
199
203
|
|
|
200
204
|
BUNDLED WITH
|
|
201
|
-
1.
|
|
205
|
+
1.11.2
|
data/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/karafka/null-logger)
|
|
4
4
|
[](https://codeclimate.com/github/karafka/null-logger)
|
|
5
|
+
[](http://badge.fury.io/rb/null-logger)
|
|
5
6
|
|
|
6
7
|
A simple logger that does not log anything. It can be used for defining an interface for other loggers.
|
|
7
8
|
|
|
@@ -42,6 +43,16 @@ NullLogger define interface for real logger instance, ex:
|
|
|
42
43
|
end
|
|
43
44
|
```
|
|
44
45
|
|
|
46
|
+
|
|
47
|
+
## References
|
|
48
|
+
|
|
49
|
+
* [Karafka framework](https://github.com/karafka/karafka)
|
|
50
|
+
* [Waterdrop](https://github.com/karafka/waterdrop)
|
|
51
|
+
* [Worker Glass](https://github.com/karafka/worker-glass)
|
|
52
|
+
* [Envlogic](https://github.com/karafka/envlogic)
|
|
53
|
+
* [Null Logger Travis CI](https://travis-ci.org/karafka/null-logger)
|
|
54
|
+
* [Null Logger Code Climate](https://codeclimate.com/github/karafka/null-logger)
|
|
55
|
+
|
|
45
56
|
## Note on Patches/Pull Requests
|
|
46
57
|
|
|
47
58
|
Fork the project.
|
data/lib/version.rb
CHANGED
data/null-logger.gemspec
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
lib = File.expand_path('../lib', __FILE__)
|
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
require 'version'
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "null-logger"
|
|
8
|
-
spec.version = VERSION
|
|
8
|
+
spec.version = NullLogger::VERSION
|
|
9
9
|
spec.authors = ['Maciej Mensfeld', 'Adam Gwozdowski']
|
|
10
10
|
spec.email = %w( maciej@mensfeld.pl adam99g@gmail.com )
|
|
11
11
|
|
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.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maciej Mensfeld
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: It can be used for defining an interface for other loggers
|
|
15
15
|
email:
|
|
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
52
52
|
version: '0'
|
|
53
53
|
requirements: []
|
|
54
54
|
rubyforge_project:
|
|
55
|
-
rubygems_version: 2.
|
|
55
|
+
rubygems_version: 2.5.1
|
|
56
56
|
signing_key:
|
|
57
57
|
specification_version: 4
|
|
58
58
|
summary: A simple logger that does not log anything.
|