maxitest 1.5.2 → 1.5.3

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: 19e3ba630a84cfde0df9f09b92c924e0f6536622
4
- data.tar.gz: 39402b17d1e278c1bd0e35b136b0c9fe2d24d381
3
+ metadata.gz: 762f7f18cf39bd8543ca82c2285fbbddc581413d
4
+ data.tar.gz: 16220c358d60e86e53c69042c3b2688ae1a2c0e0
5
5
  SHA512:
6
- metadata.gz: c398cf6140339cd7fe494651df2052c4197dda9cd250806f3a6933ed726464f26408da894a494245af459fd8799503f4335e71c924a2a5ec694e69775f17e91a
7
- data.tar.gz: 6560ae6fbed1ad30691e6b06d5f308b3f110ac4eadcd54cd30e87290106c0a48a3b1a96e942e3766f0e3b09715a110024794b8c1bb5c03f31077735f913ee0f2
6
+ metadata.gz: e739f73c1e4c97fa9161d43f43475a63b1bd467358fe7f5b3a96cf901da2f1ad9bc3f46c3757271c3f6f34356f00bc9dcdb4b66e99f0eef803323004b14d3dab
7
+ data.tar.gz: c93a3b274ac3c0ae61f291699cff90b4aa4cf2ec48e1ef4b38608cd01d66d5ba79a805d2a2b0c8ba61cf6addff4f7860dc5cafbda61632d8f26d569885eef2ae
@@ -29,7 +29,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
29
  # https://raw.githubusercontent.com/splattael/minitest-around/master/lib/minitest/around/version.rb
30
30
  # BEGIN generated by rake update, do not modify
31
31
  module MinitestAround
32
- VERSION = '0.3.1'
32
+ VERSION = '0.3.2'
33
33
  end
34
34
  #END generated by rake update, do not modify
35
35
 
@@ -29,6 +29,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
29
  module MiniTest
30
30
 
31
31
  def self.plugin_rg_options opts, options # :nodoc:
32
+ opts.on "--rg", "Add red/green to test output." do
33
+ RG.rg!
34
+ end
32
35
  end
33
36
 
34
37
  def self.plugin_rg_init options # :nodoc:
@@ -36,13 +39,13 @@ module MiniTest
36
39
  io = RG.new options[:io]
37
40
 
38
41
  self.reporter.reporters.grep(Minitest::Reporter).each do |rep|
39
- rep.io = io
42
+ rep.io = io if rep.io.tty?
40
43
  end
41
44
  end
42
45
  end
43
46
 
44
47
  class RG
45
- VERSION = "5.1.0"
48
+ VERSION = "5.2.0"
46
49
 
47
50
  COLORS = {
48
51
  '.' => "\e[32m.\e[0m",
@@ -1,3 +1,3 @@
1
1
  module Maxitest
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-07 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest