minitest-reporters 1.1.13 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12f8882505ab333331859c00e5ef3059a1d0358f
4
- data.tar.gz: 5246cf46f696ce179034b8157a44dccb49dff042
3
+ metadata.gz: 350b616f3441faa63d76eed3ce3bf0a853f04c4e
4
+ data.tar.gz: 66cfb12d8fe29424bbd8a383de6785cb0068f623
5
5
  SHA512:
6
- metadata.gz: 2ae9cf8bda9d2848fc958f6b1f1dda9412d7bde4277dae19971be715a2e9d55e389b1bbf197b98601124cf38f438775db4e0f6310c2130901c53b85c434b9d91
7
- data.tar.gz: 260464a46e6a06a5afa88bfe741ea8f8d6d7828789f8361033a0da1670f94e5bf57bbaed79b9af62e04cb1f13aa6e25447fb3223c3c8b4a73e280a8ecf7fc54b
6
+ metadata.gz: 9ae4241dfea5d89635e20503904ad1831d1d6f1b46be904f413e86cdc139cb540f2f655db9c13b1e6d3f82898ea06f0f26a3c1b9c8d1d4cb9eff0bd7bd571f38
7
+ data.tar.gz: 47e6df3dec4bebfdaa29a036964795f7cd8631981917673f43c5b8fc1925da0e24a5f1a81200cc38d5fb47317a01b61f3c3b472c12ee4fdd7a56e0f6047e00cf
@@ -73,6 +73,10 @@ module Minitest
73
73
  reports_dir = settings[:reports_dir]
74
74
 
75
75
  @reports_path = File.absolute_path(reports_dir)
76
+ end
77
+
78
+ def start
79
+ super
76
80
 
77
81
  puts "Emptying #{@reports_path}"
78
82
  FileUtils.mkdir_p(@reports_path)
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Reporters
3
- VERSION = '1.1.13'
3
+ VERSION = '1.1.14'
4
4
  end
5
5
  end
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.homepage = 'https://github.com/CapnKernul/minitest-reporters'
12
12
  s.summary = %q{Create customizable Minitest output formats}
13
13
  s.description = %q{Death to haphazard monkey-patching! Extend Minitest through simple hooks.}
14
+ s.license = 'MIT'
14
15
 
15
16
  s.required_ruby_version = '>= 1.9.3'
16
17
  s.rubyforge_project = 'minitest-reporters'
@@ -28,7 +28,7 @@ module MinitestReportersTest
28
28
  def test_chooses_no_reporters_when_running_under_vim
29
29
  reporters = Minitest::Reporters.choose_reporters(
30
30
  [Minitest::Reporters::DefaultReporter.new], { "VIM" => "/usr/share/vim" })
31
- assert_equal nil, reporters
31
+ assert_nil reporters
32
32
  end
33
33
 
34
34
  def test_uses_minitest_clock_time_when_minitest_version_greater_than_561
@@ -10,7 +10,7 @@ module MinitestReportersTest
10
10
 
11
11
  def test_removes_underscore_in_name_if_shoulda
12
12
  @test.name = "test_: Should foo"
13
- assert_output /test:/ do
13
+ assert_output(/test:/) do
14
14
  @reporter.io = $stdout
15
15
  @reporter.record(@test)
16
16
  end
@@ -18,7 +18,7 @@ module MinitestReportersTest
18
18
 
19
19
  def test_wont_modify_name_if_not_shoulda
20
20
  @test.name = "test_foo"
21
- assert_output /test_foo/ do
21
+ assert_output(/test_foo/) do
22
22
  @reporter.io = $stdout
23
23
  @reporter.record(@test)
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.13
4
+ version: 1.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2017-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -148,7 +148,8 @@ files:
148
148
  - test/unit/minitest/reporters_test.rb
149
149
  - test/unit/minitest/spec_reporter_test.rb
150
150
  homepage: https://github.com/CapnKernul/minitest-reporters
151
- licenses: []
151
+ licenses:
152
+ - MIT
152
153
  metadata: {}
153
154
  post_install_message:
154
155
  rdoc_options: []