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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 177baa5ac05cd0edbcdeac6a34aa9675230341a8
4
- data.tar.gz: 96fb7a42e60b36fe253ed134549299a6ba1a5251
3
+ metadata.gz: c95f073c9242c58f01c2c910edfdb293433d0dcc
4
+ data.tar.gz: dcb15ffb7afa3111f3ad051e2eeb8e286257cb82
5
5
  SHA512:
6
- metadata.gz: 77074a5278ba71c24ffb096375cdeb1470725626d9c084be981e76f32c6c183ba07df5d90e47e4aa6be6eecec0b018aec5112431ad71d10913b6371ad1b95d9b
7
- data.tar.gz: 680816919dce56e65cf5d75f9b3963cf396788e1c76194b20d1b9908ad83ec3239e3e502a5574cfac04cb05071c32cb521c0fdfc18919b0fe7fe2b03b1e42db2
6
+ metadata.gz: b9733675cd110a3b3eed40c9238b5a3046b558fce5847ece29208c4dd9e0c0eab1dcf5511a85f4f14f87ba0fc81f4b0102430d8f0a351bbc7e0e61fdc984c91d
7
+ data.tar.gz: ffbfb005719eeefa4deae460beac821a95e5a840009982b864467498497a2b2b4675a6feb691afea35dcccbfbb42bf22b29272903291fc204710e51daa4a0a2b
data/.rspec CHANGED
@@ -1,4 +1,5 @@
1
1
  --color
2
2
  --require spec_helper
3
- --require dots_formatter/dots
3
+ --require rubygems
4
+ --require dots_formatter
4
5
  --format DotsFormatter
data/Gemfile.lock CHANGED
@@ -21,6 +21,3 @@ PLATFORMS
21
21
 
22
22
  DEPENDENCIES
23
23
  rspec
24
-
25
- BUNDLED WITH
26
- 1.10.5
data/README.md CHANGED
@@ -33,7 +33,6 @@ in your home .rspec file, or directly on the command line:
33
33
 
34
34
  ## TODO
35
35
 
36
- * Port RSpec 3 to RSpec 2
37
36
  * Better Readme
38
37
  * Debug as command line option
39
38
  * Tests
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'dots_formatter'
3
- s.version = '0.0.2'
4
- s.date = '2015-07-07'
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"]
@@ -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.2
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-07-07 00:00:00.000000000 Z
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.8
52
+ rubygems_version: 2.4.6
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: A simple, informative RSpec formatter