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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f9f52ecaaf2fa112dac9bc3e859a766d3b4a31c4018684082f4d30883754dfb
4
- data.tar.gz: f1765170206a6fad7e94de5980c8d533c67315dd66eb04319bf6ef67869e6d17
3
+ metadata.gz: bb461f5d8dcfbc4edd8f9fd9dc8abe25db6d52ef2e9aaa1095de93bb9df8b655
4
+ data.tar.gz: 29ca4b7bfe2735c7600ca045cde39589cec33a40c5c49bdc0340977d7104e21a
5
5
  SHA512:
6
- metadata.gz: fe8a7b39940e3af1fbaa5f02e568e420eb1199f93fc74c88cc255e9480933c69cbc18e4dc0e6214c020d91cfa0bf5c90539c6b00dfa9b1a36bc950fb89f31fe8
7
- data.tar.gz: ee434b2a0b72e6a4cb6809b53d7d1868b23b2b74a540be99be85e8ee790e3fe432cbb6234a656abc0e55a7629f182ae60780ee38288433767fd13f9897495c02
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.1)
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 (10.5.0)
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 (~> 10.0)
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(config = {})
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
 
@@ -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.1'
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
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
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', '~> 10.0'
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.1
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-24 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
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