dots_formatter 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -1
- data/Gemfile.lock +0 -3
- data/README.md +0 -1
- data/dots_formatter.gemspec +2 -2
- data/lib/dots_formatter/dots.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c95f073c9242c58f01c2c910edfdb293433d0dcc
|
4
|
+
data.tar.gz: dcb15ffb7afa3111f3ad051e2eeb8e286257cb82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9733675cd110a3b3eed40c9238b5a3046b558fce5847ece29208c4dd9e0c0eab1dcf5511a85f4f14f87ba0fc81f4b0102430d8f0a351bbc7e0e61fdc984c91d
|
7
|
+
data.tar.gz: ffbfb005719eeefa4deae460beac821a95e5a840009982b864467498497a2b2b4675a6feb691afea35dcccbfbb42bf22b29272903291fc204710e51daa4a0a2b
|
data/.rspec
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/dots_formatter.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'dots_formatter'
|
3
|
-
s.version = '0.0.
|
4
|
-
s.date = '2015-
|
3
|
+
s.version = '0.0.3'
|
4
|
+
s.date = '2015-09-09'
|
5
5
|
s.summary = "A simple, informative RSpec formatter"
|
6
6
|
s.description = "Get instance feedback on number of passed:failed:pending / total with quick failure status"
|
7
7
|
s.authors = ["Paul Brennan"]
|
data/lib/dots_formatter/dots.rb
CHANGED
@@ -88,8 +88,8 @@ module RSpec
|
|
88
88
|
tim2 = ConsoleCodes.wrap(Helpers.format_duration(prev_dur), :red)
|
89
89
|
output.puts " #{dot}#{suc}:#{fls}:#{png}/#{tot}#{dot} #{run}#{tim2}" if finish
|
90
90
|
else
|
91
|
-
run = ConsoleCodes.wrap(" Now running: #{example.example.description}", :cyan) unless finish
|
92
|
-
all = "\r #{dot}#{suc}:#{fls}:#{png} / #{tot}#{dot} #{tim} #{run}".ljust(@screen_width)+"\r"
|
91
|
+
run = ConsoleCodes.wrap(" Now running: #{example.example.description}"[0..@screen_width - 130], :cyan) unless finish
|
92
|
+
all = "\r #{dot}#{suc}:#{fls}:#{png} / #{tot}#{dot} #{tim} #{run if @screen_width > 180}".ljust(@screen_width)+"\r"
|
93
93
|
output.print all
|
94
94
|
end
|
95
95
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dots_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Brennan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Get instance feedback on number of passed:failed:pending / total with
|
14
14
|
quick failure status
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
51
|
rubyforge_project:
|
52
|
-
rubygems_version: 2.4.
|
52
|
+
rubygems_version: 2.4.6
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: A simple, informative RSpec formatter
|