specjour 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.markdown +7 -0
- data/lib/specjour.rb +1 -1
- data/lib/specjour/configuration.rb +12 -1
- data/lib/specjour/dispatcher.rb +1 -1
- data/lib/specjour/loader.rb +1 -1
- data/lib/specjour/manager.rb +1 -1
- data/lib/specjour/rspec/distributed_formatter.rb +1 -1
- data/lib/specjour/rsync_daemon.rb +1 -1
- metadata +3 -3
data/History.markdown
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
History
|
2
2
|
=======
|
3
3
|
|
4
|
+
0.6.4 / 2012-09-17
|
5
|
+
---------------------------
|
6
|
+
* [added] RSpec formatter configurable via `Specjour::Configuration.rspec\_formatter`
|
7
|
+
* [changed] Always send KILL signal when terminating processes
|
8
|
+
|
9
|
+
[Full Changelog](https://github.com/sandro/specjour/compare/v0.6.3...v0.6.4)
|
10
|
+
|
4
11
|
0.6.3 / 2012-09-12
|
5
12
|
---------------------------
|
6
13
|
* [fixed] Observe filtered examples set in the RSpec configuration object
|
data/lib/specjour.rb
CHANGED
@@ -29,7 +29,7 @@ module Specjour
|
|
29
29
|
autoload :Cucumber, 'specjour/cucumber'
|
30
30
|
autoload :RSpec, 'specjour/rspec'
|
31
31
|
|
32
|
-
VERSION ||= "0.6.
|
32
|
+
VERSION ||= "0.6.4"
|
33
33
|
HOOKS_PATH ||= "./.specjour/hooks.rb"
|
34
34
|
PROGRAM_NAME ||= $PROGRAM_NAME # keep a reference of the original program name
|
35
35
|
|
@@ -2,7 +2,7 @@ module Specjour
|
|
2
2
|
module Configuration
|
3
3
|
extend self
|
4
4
|
|
5
|
-
attr_writer :before_fork, :after_fork, :after_load, :prepare, :rsync_options
|
5
|
+
attr_writer :before_fork, :after_fork, :after_load, :prepare, :rspec_formatter, :rsync_options
|
6
6
|
|
7
7
|
# This block is run by each worker before they begin running tests.
|
8
8
|
# The default action is to migrate the database, and clear it of any old
|
@@ -38,6 +38,11 @@ module Specjour
|
|
38
38
|
@after_load = nil
|
39
39
|
@prepare = nil
|
40
40
|
@rsync_options = nil
|
41
|
+
@rspec_formatter = nil
|
42
|
+
end
|
43
|
+
|
44
|
+
def rspec_formatter
|
45
|
+
@rspec_formatter ||= default_rspec_formatter
|
41
46
|
end
|
42
47
|
|
43
48
|
def rsync_options
|
@@ -77,6 +82,12 @@ module Specjour
|
|
77
82
|
end
|
78
83
|
end
|
79
84
|
|
85
|
+
def default_rspec_formatter
|
86
|
+
lambda do
|
87
|
+
::RSpec::Core::Formatters::ProgressFormatter
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
80
91
|
def default_rsync_options
|
81
92
|
"-aL --delete --ignore-errors"
|
82
93
|
end
|
data/lib/specjour/dispatcher.rb
CHANGED
data/lib/specjour/loader.rb
CHANGED
data/lib/specjour/manager.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specjour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dnssd
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: -4156345957160810080
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|