tty-logger-raven 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/tty/logger/handlers/raven.rb +5 -2
- data/tty-logger-raven.gemspec +3 -3
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb461f5d8dcfbc4edd8f9fd9dc8abe25db6d52ef2e9aaa1095de93bb9df8b655
|
4
|
+
data.tar.gz: 29ca4b7bfe2735c7600ca045cde39589cec33a40c5c49bdc0340977d7104e21a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c77c4683b25b15ab13cb78fe9e85fcd03875260cc0175356acf7199ffc27dabbb6fcc29032a9b907d2bbe087f8772e2eae3dfa26fcb910916adda4e3e21763f
|
7
|
+
data.tar.gz: c21268887cdfc8ef1dc3ec59a2c55f2f7dc591fc1c0fbb0198bc4f7549a072f55d0d778931ed02e26616694712084305a7280f29cc1783f44aa5df03999226fd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tty-logger-raven (0.3.
|
4
|
+
tty-logger-raven (0.3.2)
|
5
5
|
sentry-raven (~> 3.0)
|
6
6
|
tty-logger (~> 0.3)
|
7
7
|
|
@@ -22,7 +22,7 @@ GEM
|
|
22
22
|
pry (0.13.0)
|
23
23
|
coderay (~> 1.1)
|
24
24
|
method_source (~> 1.0)
|
25
|
-
rake (
|
25
|
+
rake (12.3.3)
|
26
26
|
rspec (3.9.0)
|
27
27
|
rspec-core (~> 3.9.0)
|
28
28
|
rspec-expectations (~> 3.9.0)
|
@@ -49,7 +49,7 @@ DEPENDENCIES
|
|
49
49
|
bundler (~> 1.17)
|
50
50
|
prettier
|
51
51
|
pry
|
52
|
-
rake (~>
|
52
|
+
rake (~> 12.3)
|
53
53
|
rspec (~> 3.0)
|
54
54
|
tty-logger-raven!
|
55
55
|
|
@@ -8,10 +8,13 @@ module TTY
|
|
8
8
|
class Raven
|
9
9
|
include Base
|
10
10
|
|
11
|
-
attr_reader :config
|
11
|
+
attr_reader :config, :level
|
12
12
|
|
13
|
-
def initialize(
|
13
|
+
def initialize(
|
14
|
+
output: $stderr, formatter: nil, config: nil, level: nil, styles: {}
|
15
|
+
)
|
14
16
|
@config = config
|
17
|
+
@level = level || @config.level
|
15
18
|
@mutex = Mutex.new
|
16
19
|
end
|
17
20
|
|
data/tty-logger-raven.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'tty-logger-raven'
|
8
|
-
spec.version = '0.3.
|
8
|
+
spec.version = '0.3.2'
|
9
9
|
spec.authors = ['Ian Ker-Seymer']
|
10
10
|
spec.email = %w[ian.kerseymer@tryadhawk.com]
|
11
11
|
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
18
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
21
|
|
22
22
|
spec.metadata['homepage_uri'] = spec.homepage
|
23
23
|
spec.metadata['source_code_uri'] =
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_development_dependency 'bundler', '~> 1.17'
|
45
45
|
spec.add_development_dependency 'prettier'
|
46
46
|
spec.add_development_dependency 'pry'
|
47
|
-
spec.add_development_dependency 'rake', '~>
|
47
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
48
48
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
49
49
|
|
50
50
|
spec.add_dependency 'sentry-raven', '~> 3.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty-logger-raven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ker-Seymer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '12.3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '12.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,6 +137,7 @@ homepage: https://github.com/ianks/tty-logger-raven
|
|
137
137
|
licenses:
|
138
138
|
- MIT
|
139
139
|
metadata:
|
140
|
+
allowed_push_host: https://rubygems.org
|
140
141
|
homepage_uri: https://github.com/ianks/tty-logger-raven
|
141
142
|
source_code_uri: https://github.com/ianks/tty-logger-raven
|
142
143
|
changelog_uri: https://github.com/ianks/tty-logger-raven/blob/master/changelog.md
|