fuubar 2.3.0.beta2 → 2.3.0.beta3

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: fc816918e3d3f7b76cf2a1e85d28aab6323aca67
4
- data.tar.gz: d965e900fb624f34268c026dd556337a19041d73
3
+ metadata.gz: 0baf1ba7e3029b10349c640d06c192adacece5b5
4
+ data.tar.gz: e447b027dd7af44b9b32f14a00fa4720a9960220
5
5
  SHA512:
6
- metadata.gz: 1f94732d2e9a463d169387e6a841fe82e34b01f4c98b08a36ad1b1a461a6682ce4b9e4de199b9ef72c11a4646c58ecc50d83c3e5965ac0c06e65b166f2106591
7
- data.tar.gz: 9ee8ab06e9c27fdba7e3f78d8cc5915c75969fb22540d8687aadbaf49fa65180cf8b4c7a5e8a1356ca369ad490a7e19811b4367373c530c0659fb85a67d0a497
6
+ metadata.gz: 20eafb96fb52849f99bf72b9659b454c5ce3facee6287c7394afe5516c1258fc11ded0f740073f173f6473cd9b3bb284c491bac7c44031ae034dc58777c4983d
7
+ data.tar.gz: 66c81e8873452f031980ced6f9fd4cbd8014a4527f07b9df1db8007ee893253d5bb8619408ee69e4dcbac520f0eb6c7e6331e7be8b03b803ed84b200d3187d24
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -11,14 +11,13 @@ class Fuubar < RSpec::Core::Formatters::BaseTextFormatter
11
11
  DEFAULT_PROGRESS_BAR_OPTIONS = { :format => ' %c/%C |%w>%i| %e ' }.freeze
12
12
 
13
13
  RSpec::Core::Formatters.register self,
14
- :start,
15
- :message,
14
+ :close,
15
+ :dump_failures,
16
+ :example_failed,
16
17
  :example_passed,
17
18
  :example_pending,
18
- :example_failed,
19
- :example_started,
20
- :example_finished,
21
- :dump_failures
19
+ :message,
20
+ :start
22
21
 
23
22
  attr_accessor :example_tick_thread,
24
23
  :example_tick_lock,
@@ -48,21 +47,18 @@ class Fuubar < RSpec::Core::Formatters::BaseTextFormatter
48
47
  :output => output,
49
48
  :autostart => false)
50
49
 
51
- self.progress = ProgressBar.create(progress_bar_options)
52
- self.passed_count = 0
53
- self.pending_count = 0
54
- self.failed_count = 0
50
+ self.progress = ProgressBar.create(progress_bar_options)
51
+ self.passed_count = 0
52
+ self.pending_count = 0
53
+ self.failed_count = 0
54
+ self.example_tick_thread = start_tick_thread(notification)
55
55
 
56
56
  super
57
57
 
58
58
  with_current_color { progress.start }
59
59
  end
60
60
 
61
- def example_started(notification)
62
- self.example_tick_thread = start_tick_thread(notification)
63
- end
64
-
65
- def example_finished(_notification)
61
+ def close(_notification)
66
62
  example_tick_thread.kill
67
63
  end
68
64
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuubar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0.beta2
4
+ version: 2.3.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Evans
@@ -33,7 +33,7 @@ cert_chain:
33
33
  etYUO0DlNY/qYfSfExrgt0W5dZeT09V++WPlYauHw/EZtAB0AsJwVdtIscq0HSvX
34
34
  yH9AFp3KIe0v70EXzao/94n+XoDULrHEhqGMo34iS+37ZA==
35
35
  -----END CERTIFICATE-----
36
- date: 2017-12-31 00:00:00.000000000 Z
36
+ date: 2018-01-02 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rspec-core
metadata.gz.sig CHANGED
Binary file