rspec-tick-formatter 0.1.2 → 0.1.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
- SHA1:
3
- metadata.gz: 4539748811fcb82b922caead8c14de2acd8adfc7
4
- data.tar.gz: 5379cea17cf697ce1a10cf2f90ce6e8ef7c9154a
2
+ SHA256:
3
+ metadata.gz: '0012197d56598fcbcd88fa3115b4db2bdd86f2480fdf66e1277cfb5dee893229'
4
+ data.tar.gz: d33b8de1b5f5bc9142a0d1a54483887464da29c5a6b81d318344560a980d2e2f
5
5
  SHA512:
6
- metadata.gz: f16fe269d13fb56fb30e864a67157c2522d7235292b7e72c70cbe9fdcda1e9fab80589b3bbe87be0781e151610a8360669dea7fd20e384e9db83f56e9523ccdc
7
- data.tar.gz: 9c7e4de03375fda092845c973a7b96e31b0decfb4beb63c277ce47b1200a2aa893fb21e10b86350ecdff91285a2ebc842132757d66ee2be76f13d2ef295f8ca8
6
+ metadata.gz: 0a89592c4e24c04b5f56c97571d21c6ea9531bacb83fcb24ca584e36b3c104a527fbb370a37611347161d016322a6cea7975d4fdc76d4ae330e5c8c0f941b786
7
+ data.tar.gz: d767f87c1f6a95166faa729c9e596c7fabb321ca9f8063023465c6f2485d8f009faf27fac2b08ad4c4fcdc5812ab9d3fa1b5eb893358db3c7476063ec48a2cc0
data/Rakefile CHANGED
@@ -4,6 +4,7 @@ require 'rspec/core/rake_task'
4
4
 
5
5
  RSpec::Core::RakeTask.new(:spec) do |t|
6
6
  t.pattern = 'spec/*_spec.rb'
7
+ t.rspec_opts = "--color"
7
8
  t.rspec_opts = "--require ./lib/rspec-tick-formatter.rb --format RspecTickFormatter --color"
8
9
  t.fail_on_error = false
9
10
  end
@@ -11,19 +11,19 @@ class RspecTickFormatter < RSpec::Core::Formatters::BaseTextFormatter
11
11
  :example_failed, :example_group_finished
12
12
 
13
13
  def example_passed(proxy)
14
- puts color("#{pad} \u2713 #{proxy.example.description}", :green)
14
+ output.puts color("#{pad} \u2713 #{proxy.example.description}", :green)
15
15
  end
16
16
 
17
17
  def example_pending(proxy)
18
- puts color("#{pad} \u2729 #{proxy.example.description}", :yellow)
18
+ output.puts color("#{pad} \u2729 #{proxy.example.description}", :yellow)
19
19
  end
20
20
 
21
21
  def example_failed(proxy)
22
- puts color("#{pad} \u2717 #{proxy.example.description}: #{proxy.example.exception}", :red)
22
+ output.puts color("#{pad} \u2717 #{proxy.example.description}: #{proxy.example.exception}", :red)
23
23
  end
24
24
 
25
25
  def example_group_started(example_group)
26
- puts "#{pad} #{example_group.group.description.strip}:"
26
+ output.puts "#{pad} #{example_group.group.description}:"
27
27
  @level += 1
28
28
  end
29
29
 
@@ -1,7 +1,7 @@
1
1
  module Rspec
2
2
  module Tick
3
3
  module Formatter
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-tick-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rene Lengwinat
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-25 00:00:00.000000000 Z
12
+ date: 2018-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.6.14.1
81
+ rubygems_version: 2.7.6
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Unicode chars + colors to keep developers happy