minitest_rollbar 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: 43e3d57fdf20bb35de28a5b50e0d84ca93a85ec0
4
- data.tar.gz: 37796aefddaf154f091fa07662167ed5787a7016
3
+ metadata.gz: 863acd62a126ee9ec7d223e9d11af8c0bad2e6c8
4
+ data.tar.gz: cf8e3b4a1489c81b85640a353a1c56e2e110456e
5
5
  SHA512:
6
- metadata.gz: e2c96013fc8d7201bc0fc51fe74a4aafa247c3f4a3ac3d888c040fc8f8e7f64e44a66f77070d74556e1c23217d95ec9f129cd44d8273252287cc9314d2ae4372
7
- data.tar.gz: d64d19ce2d1d4ba3d7ee7750b6b29cf79cc760fbc4a25e55f15e21c3c46dfa4a810a0960d6481d016c3f7e9190bedc2914a903efef39212edb9740c811c581d7
6
+ metadata.gz: 60aa6d91ef41b078f6833cca411f461012c0f2d82c2e8ee57778e93f115ac5fcc1029d5622325f0b115fa2021cd12a0e28ebee929ffd4e7b825ac5ebdbdbbf0c
7
+ data.tar.gz: f5b9642d3d1992af73d9c4c1e7e71f1aca192a561027908bd6317dbafdb53b37bee5795ac632036e989c2e31385a80de55a36ff92bdc6350dfb55f42e5daa0ff
@@ -1,13 +1,13 @@
1
- require 'minitest'
2
1
  require 'rollbar'
2
+ require 'minitest/reporters'
3
3
 
4
4
  module MinitestRollbar
5
5
  class << self
6
6
  attr_accessor :access_token
7
7
  end
8
8
 
9
- class RollbarReporter < Minitest::StatisticsReporter
10
- def initialize(io = $stdout, options = {})
9
+ class RollbarReporter < Minitest::Reporters::BaseReporter
10
+ def initialize(options = {})
11
11
  super
12
12
  @sequential_exception_count = 0
13
13
  # Inspect will return ExceptionType + Message.
@@ -1,3 +1,3 @@
1
1
  module MinitestRollbar
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest_rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuesong Wang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-01 00:00:00.000000000 Z
11
+ date: 2016-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,19 +53,19 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: minitest
56
+ name: minitest-reporters
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.0'
61
+ version: '1.1'
62
62
  type: :runtime
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: '5.0'
68
+ version: '1.1'
69
69
  description:
70
70
  email:
71
71
  - wangyuesong0@qq.com
@@ -75,7 +75,6 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - LICENSE.txt
77
77
  - README.md
78
- - lib/minitest/rollbar_reporter_plugin.rb
79
78
  - lib/minitest_rollbar.rb
80
79
  - lib/minitest_rollbar/reporters.rb
81
80
  - lib/minitest_rollbar/version.rb
@@ -99,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
98
  version: '0'
100
99
  requirements: []
101
100
  rubyforge_project:
102
- rubygems_version: 2.5.1
101
+ rubygems_version: 2.6.6
103
102
  signing_key:
104
103
  specification_version: 4
105
104
  summary: A minitest reporter that logs testexceptions to Rollbar.
@@ -1,8 +0,0 @@
1
- require 'rollbar'
2
- require 'minitest_rollbar'
3
-
4
- module Minitest
5
- def self.plugin_rollbar_reporter_init(options)
6
- reporter << MinitestRollbar.ollbarReporter.new(options[:io], options)
7
- end
8
- end