lenjador 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lenjador.gemspec +1 -1
- data/lib/lenjador.rb +1 -2
- data/spec/lenjador_spec.rb +8 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e373ec00cf24731fc0611b585db6def15102d206f0072e33a1329c89f550730
|
4
|
+
data.tar.gz: c0d90890e56e77fac9f3b6314384b23b06ad4f126bd4261d5bcd6278ce69f2f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 950c7b8956bb45752d81c6f7ca6e33b5f17cfef3f9cd0446844095f554ad5063a660919fb69370187612c0b6dc27dfa0d93c92cf303141eb49b86c8a1bcfa238
|
7
|
+
data.tar.gz: c55e96e52bfe7b9b3034067c487aaa7d3db191d8aa876c3eed69410f3091dcfa733e5b87e130a8f2ba03df2f2a4f41937d92d0964a720db8ff2dd021aaafbdf0
|
data/Gemfile.lock
CHANGED
data/lenjador.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = 'lenjador'
|
8
|
-
gem.version = '2.3.
|
8
|
+
gem.version = '2.3.1'
|
9
9
|
gem.authors = ['Salemove']
|
10
10
|
gem.email = ['support@salemove.com']
|
11
11
|
gem.description = "It's lenjadoric"
|
data/lib/lenjador.rb
CHANGED
data/spec/lenjador_spec.rb
CHANGED
@@ -42,12 +42,14 @@ describe Lenjador do
|
|
42
42
|
let(:lenjador) { described_class.new(adapter, Lenjador::Severity::INFO, []) }
|
43
43
|
|
44
44
|
it 'logs with severity' do
|
45
|
-
expect(adapter).to receive(:log).with(
|
46
|
-
expect(adapter).to receive(:log).with(
|
47
|
-
|
48
|
-
|
49
|
-
lenjador.add(
|
50
|
-
lenjador.add(
|
45
|
+
expect(adapter).to receive(:log).with(Logger::INFO, message: 'info-msg').ordered
|
46
|
+
expect(adapter).to receive(:log).with(Logger::WARN, message: 'warn-msg').ordered
|
47
|
+
expect(adapter).to receive(:log).with(Logger::UNKNOWN, message: 'unknown-msg').ordered
|
48
|
+
|
49
|
+
lenjador.add(Logger::DEBUG, 'debug-msg')
|
50
|
+
lenjador.add(Logger::INFO, 'info-msg')
|
51
|
+
lenjador.add(Logger::WARN, 'warn-msg')
|
52
|
+
lenjador.add(Logger::UNKNOWN, 'unknown-msg')
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lenjador
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salemove
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lru_redux
|