turn-again-reporter 1.0.0 → 1.0.1

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: 968225fdfcb2e87c69f9b310bc938426610398b4
4
- data.tar.gz: 4ad55c5b840f8ef438439255dc66aec7aea0f872
3
+ metadata.gz: 89e66ba1383289ca4a09134f2f4737d7796c2cb2
4
+ data.tar.gz: 4a68013f0dc01ade97ba88e1ba27d9675f4fd365
5
5
  SHA512:
6
- metadata.gz: 7d68946da7fe2038a2a4385856fec784cece4e802a3894272fbf101d2011cae7f64dd6f2b290e4aae911d0208d01d2067ffee878ec72e2604d602e49683a89ed
7
- data.tar.gz: 0cc1564a0aff0f1a55f11af77b0fe7e8d0f9eb75575e2c126598869e29851992454a2c179bb512061840554f0488b49f0fa6d3b63c52a20e58eabfb5ee5bad0e
6
+ metadata.gz: 521b108905f19251ad376fee65ba289da0e051d0871be02789c72cfef6c3ef50d688eb3ad7b47f87d7cf9fc326335897d973970a89fafc67af852b9f5b340c04
7
+ data.tar.gz: 086482878cecd8cbf1c8bba1222c63e6f6c98a53e096c9e09d096b8afc631f3ecb6034b1555f566a1230e5c83394cfcd9db9818ec7fdbe522cecb8902ec84004
data/README.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # A Turn-like Minitest Reporter (Again)
2
2
 
3
- One of my favorite aspects of the now-abandoned [turn gem](https://github.com/turn-project/turn)'s was how the status banners for each test (i.e. PASS, FAIL, ERROR, SKIP) lined up nicely on the right side, providing a comfy, at-a-glance view.
3
+ One of my favorite aspects of the now-abandoned [turn gem](https://github.com/turn-project/turn) was how the status banners for each test (i.e. PASS, FAIL, ERROR, SKIP) lined up nicely on the right side, providing a comfy, at-a-glance view.
4
4
 
5
- These days I'm using the [minitest-reporters](https://github.com/kern/minitest-reporters) gem everywhere, but I've felt a little picky about the SpecReporter's claims to be "Turn-like". Also, placing the status banners on the right side, after each test, has the undesirable effect of limiting the length of my test names.
5
+ These days I'm using the [minitest-reporters](https://github.com/kern/minitest-reporters) gem everywhere, but I've felt a little picky about the SpecReporter's claims to be "Turn-like". In addition to the right-aligned status banners being a little unfamiliar, since they come after the test name, it has the undesirable effect of limiting the length of my test names.
6
6
 
7
7
  **Q: Do I really need tests with 60-character names?**
8
+
8
9
  *A: Yes, sometimes. And it's none of your business!*
9
10
 
10
11
  This might be better off included in the minitest-reporters gem itself, but it varies so minimally/cosmetically from its parent that I can't bring myself to bother the wonderful [Alex Kern](https://github.com/kern) about it with a pull request. It's really just an easy way for me to spread this code across all my projects without copy-pasting it. If someone else out there enjoys this formatting, I'm glad to hear it.
@@ -1,5 +1,10 @@
1
+ require 'minitest'
2
+ require 'minitest/reporters'
3
+
1
4
  module Minitest
2
5
  module Reporters
6
+ require 'minitest/reporters/turn_again_reporter/version'
7
+
3
8
  # Reporter whose output more closely mimics the format of the turn gem.
4
9
  # Specifically:
5
10
  # 1. The status banner and time on the left, which removes the need to
@@ -0,0 +1,7 @@
1
+ module Minitest
2
+ module Reporters
3
+ class TurnAgainReporter < BaseReporter
4
+ VERSION = "1.0.1"
5
+ end
6
+ end
7
+ end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'version'
4
+ require 'minitest/reporters/turn_again_reporter'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "turn-again-reporter"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turn-again-reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Kwiatkowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ files:
75
75
  - README.md
76
76
  - Rakefile
77
77
  - lib/minitest/reporters/turn_again_reporter.rb
78
- - lib/version.rb
78
+ - lib/minitest/reporters/turn_again_reporter/version.rb
79
79
  - turn-again-reporter.gemspec
80
80
  homepage: https://github.com/swifthand/turn-again-reporter
81
81
  licenses:
data/lib/version.rb DELETED
@@ -1,10 +0,0 @@
1
- require "minitest/reporters"
2
- require "minitest/reporters/turn_again_reporter"
3
-
4
- module Minitest
5
- module Reporters
6
- class TurnAgainReporter
7
- VERSION = "1.0.0"
8
- end
9
- end
10
- end