rspactor 0.7.0.beta.4 → 0.7.0.beta.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -7,7 +7,7 @@ Version 0.7.x is a complete rewrite, RubyCocoa is no more needed, FSEvents & Ino
7
7
 
8
8
  - FSEvent support on Mac OS X (without RubyCocoa!)
9
9
  - Inotify support on Linux
10
- - RSpec 1.x & 2.x (from beta.14) support
10
+ - RSpec 1.x & 2.x (from beta.18) support
11
11
  - Bundler support
12
12
  - Super fast change detection
13
13
  - Automatic _spec.rb files detection (even new file created, unlike watchr)
@@ -5,22 +5,12 @@ require "#{File.dirname(__FILE__)}/../rspactor/notifier"
5
5
  class RSpecTwoFormatter < RSpec::Core::Formatters::ProgressFormatter
6
6
  include RSpecFormatter
7
7
 
8
- def dump_summary
9
- super
10
- message = rspactor_message(@example_count, failure_count, pending_count, format_seconds(duration))
11
- image_path = rspactor_image_path(failure_count, pending_count)
8
+ def dump_summary(duration, total, failures, pending)
9
+ super # needed to keep progress formatter
10
+ message = rspactor_message(total, failures, pending, duration)
11
+ image_path = rspactor_image_path(failures, pending)
12
12
 
13
13
  RSpactor::Notifier.notify(message, rspactor_title, image_path)
14
14
  end
15
15
 
16
- private
17
-
18
- def failure_count
19
- failed_examples.size
20
- end
21
-
22
- def pending_count
23
- pending_examples.size
24
- end
25
-
26
16
  end
@@ -1,3 +1,3 @@
1
1
  module RSpactor
2
- VERSION = "0.7.0.beta.4"
2
+ VERSION = "0.7.0.beta.5"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspactor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196443
4
+ hash: 62196441
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
9
  - 0
10
10
  - beta
11
- - 4
12
- version: 0.7.0.beta.4
11
+ - 5
12
+ version: 0.7.0.beta.5
13
13
  platform: ruby
14
14
  authors:
15
15
  - Thibaud Guillaume-Gentil
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-07-14 00:00:00 +02:00
20
+ date: 2010-07-22 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency