minitest-reporters 0.14.20 → 0.14.21

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -21,3 +21,4 @@ doc/
21
21
 
22
22
  # Gem-specific
23
23
  Gemfile.lock
24
+ .idea/
@@ -1,5 +1,6 @@
1
1
  script: 'rake test'
2
2
  rvm:
3
+ - 2.0.0
3
4
  - 1.9.3
4
5
  - rbx-19mode
5
6
  - jruby-19mode
@@ -51,6 +51,7 @@ module MiniTest
51
51
  # @note This logic is based off of MiniTest's #filter_backtrace.
52
52
  def filter(backtrace)
53
53
  result = []
54
+ return result unless backtrace
54
55
 
55
56
  backtrace.each do |line|
56
57
  break if filters?(line)
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Reporters
3
- VERSION = '0.14.20'
3
+ VERSION = '0.14.21'
4
4
  end
5
5
  end
@@ -34,5 +34,9 @@ module MiniTestReportersTest
34
34
  assert @default_filter.filters?("lib/minitest/reporters")
35
35
  refute @default_filter.filters?("lib/my_gem")
36
36
  end
37
+
38
+ def test_nil_backtrace
39
+ assert_equal [], @filter.filter(nil)
40
+ end
37
41
  end
38
42
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.20
4
+ version: 0.14.21
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Alexander Kern
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-05-25 00:00:00.000000000 Z
12
+ date: 2013-09-10 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: minitest
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -23,6 +25,7 @@ dependencies:
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
26
29
  requirements:
27
30
  - - ! '>='
28
31
  - !ruby/object:Gem::Version
@@ -33,6 +36,7 @@ dependencies:
33
36
  - !ruby/object:Gem::Dependency
34
37
  name: ansi
35
38
  requirement: !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
41
  - - ! '>='
38
42
  - !ruby/object:Gem::Version
@@ -40,6 +44,7 @@ dependencies:
40
44
  type: :runtime
41
45
  prerelease: false
42
46
  version_requirements: !ruby/object:Gem::Requirement
47
+ none: false
43
48
  requirements:
44
49
  - - ! '>='
45
50
  - !ruby/object:Gem::Version
@@ -47,6 +52,7 @@ dependencies:
47
52
  - !ruby/object:Gem::Dependency
48
53
  name: powerbar
49
54
  requirement: !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
57
  - - ! '>='
52
58
  - !ruby/object:Gem::Version
@@ -54,6 +60,7 @@ dependencies:
54
60
  type: :runtime
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
57
64
  requirements:
58
65
  - - ! '>='
59
66
  - !ruby/object:Gem::Version
@@ -61,6 +68,7 @@ dependencies:
61
68
  - !ruby/object:Gem::Dependency
62
69
  name: builder
63
70
  requirement: !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
73
  - - ! '>='
66
74
  - !ruby/object:Gem::Version
@@ -68,6 +76,7 @@ dependencies:
68
76
  type: :runtime
69
77
  prerelease: false
70
78
  version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
71
80
  requirements:
72
81
  - - ! '>='
73
82
  - !ruby/object:Gem::Version
@@ -75,6 +84,7 @@ dependencies:
75
84
  - !ruby/object:Gem::Dependency
76
85
  name: maruku
77
86
  requirement: !ruby/object:Gem::Requirement
87
+ none: false
78
88
  requirements:
79
89
  - - ! '>='
80
90
  - !ruby/object:Gem::Version
@@ -82,6 +92,7 @@ dependencies:
82
92
  type: :development
83
93
  prerelease: false
84
94
  version_requirements: !ruby/object:Gem::Requirement
95
+ none: false
85
96
  requirements:
86
97
  - - ! '>='
87
98
  - !ruby/object:Gem::Version
@@ -89,6 +100,7 @@ dependencies:
89
100
  - !ruby/object:Gem::Dependency
90
101
  name: rake
91
102
  requirement: !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
105
  - - ! '>='
94
106
  - !ruby/object:Gem::Version
@@ -96,6 +108,7 @@ dependencies:
96
108
  type: :development
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
99
112
  requirements:
100
113
  - - ! '>='
101
114
  - !ruby/object:Gem::Version
@@ -142,25 +155,26 @@ files:
142
155
  - test/unit/minitest/reporters_test.rb
143
156
  homepage: https://github.com/CapnKernul/minitest-reporters
144
157
  licenses: []
145
- metadata: {}
146
158
  post_install_message:
147
159
  rdoc_options: []
148
160
  require_paths:
149
161
  - lib
150
162
  required_ruby_version: !ruby/object:Gem::Requirement
163
+ none: false
151
164
  requirements:
152
165
  - - ! '>='
153
166
  - !ruby/object:Gem::Version
154
167
  version: '0'
155
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
+ none: false
156
170
  requirements:
157
171
  - - ! '>='
158
172
  - !ruby/object:Gem::Version
159
173
  version: '0'
160
174
  requirements: []
161
175
  rubyforge_project: minitest-reporters
162
- rubygems_version: 2.0.3
176
+ rubygems_version: 1.8.25
163
177
  signing_key:
164
- specification_version: 4
178
+ specification_version: 3
165
179
  summary: Create customizable MiniTest output formats
166
180
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjczY2M5MTQ0N2QxMTE4MTAyZWVkOGY4YTgxMDNjN2YyMTk0MTU0Yw==
5
- data.tar.gz: !binary |-
6
- ZWIyYTZjNmY1ODRjYjQ1MTQ4NjY2OWU0ZjIwZmEzZmM1NzM0YzUyYQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- OTRlYjVlY2Q2NmVlOTZmNTBiNjE3ZWVmYjIxMmYyZDQ0ZWIxMTA0N2NlYzY1
10
- ZDAxMGI2MmUwYjFjNjY3Y2Y0ZTVhZTY5NDNjYWI2ODgzMTIwYTU2YjliY2Jm
11
- NDI4NjBlZGQ0MGZlZDVjYjFhZGFhYjc5NDllZDdlOGJlZmU5YTc=
12
- data.tar.gz: !binary |-
13
- OTgyOWMxNGFiZmZiYWI0NzVlNzc0ODM4ZDYwMTllMDRkNGZlNmQzYzNiNDky
14
- NmNiZjc0MjliOTA1OTYwZjc2ZDY1ZDI1NDJjMzhmN2E2NTg2OTc4NmZhNjUx
15
- M2E3YzE5ZjQ2NjIzN2RiZDA0Mjg1ODRkYTE4ZjgwNGFiYmU1ZjU=