specjour 2.0.0.rc3 → 2.0.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specjour.rb +1 -1
- data/lib/specjour/listener.rb +2 -2
- data/lib/specjour/loader.rb +1 -2
- data/lib/specjour/plugin/rspec.rb +1 -1
- data/lib/specjour/plugin/rspec_v2.rb +17 -0
- data/lib/specjour/worker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61c4d8827570f18da229414cdb4f14866631b8de
|
4
|
+
data.tar.gz: f94548d40d81380a2cf4c5f205943e4a8278a791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d672ab4cf9dbfdba270ace3d54161449206cbea694266864f451b7661c2dd547f721f4f2699bb0aeff8386de9cc820c14c960dba4a3518ceda42a2eb160d1157
|
7
|
+
data.tar.gz: 3bdcdac401e7d96d550bd3b3109431fc48c81792b6dcb6fbf32f0439c45aee71942791faf5666931b98c6da86450a5f0ccbd24b7e737582a8a62f9540cac77d3
|
data/lib/specjour.rb
CHANGED
data/lib/specjour/listener.rb
CHANGED
@@ -135,7 +135,7 @@ module Specjour
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def program_name
|
138
|
-
name = "specjour listen"
|
138
|
+
name = "specjour listen -w #{Specjour.configuration.worker_size}"
|
139
139
|
if Specjour.configuration.project_aliases.any?
|
140
140
|
name += " -a #{Specjour.configuration.project_aliases.join(",")}"
|
141
141
|
end
|
@@ -157,7 +157,7 @@ module Specjour
|
|
157
157
|
end
|
158
158
|
end
|
159
159
|
rescue StandardError, ScriptError => e
|
160
|
-
$stderr.puts "RESCUED #{e.message}"
|
160
|
+
$stderr.puts "Listener RESCUED #{e.class} '#{e.message}'"
|
161
161
|
$stderr.puts e.backtrace
|
162
162
|
connection.error(e)
|
163
163
|
ensure
|
data/lib/specjour/loader.rb
CHANGED
@@ -28,9 +28,8 @@ module Specjour
|
|
28
28
|
fork_workers
|
29
29
|
wait_srv
|
30
30
|
rescue StandardError, ScriptError => e
|
31
|
-
$stderr.puts "RESCUED #{e.class} '#{e.message}'"
|
31
|
+
$stderr.puts "Loader RESCUED #{e.class} '#{e.message}'"
|
32
32
|
$stderr.puts e.backtrace
|
33
|
-
$stderr.puts "\n\n"
|
34
33
|
connection.error(e)
|
35
34
|
remove_connection
|
36
35
|
kill_parent
|
@@ -2,6 +2,23 @@ module Specjour
|
|
2
2
|
module Plugin
|
3
3
|
module RSpecV2
|
4
4
|
|
5
|
+
# stub out the summary stream because the specjour socket raises an error
|
6
|
+
# when trying to handled unstructured messages
|
7
|
+
def self.extended(klass)
|
8
|
+
if defined?(::RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter)
|
9
|
+
::RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter.class_eval do
|
10
|
+
def summary_stream
|
11
|
+
$stderr
|
12
|
+
end
|
13
|
+
end
|
14
|
+
::RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter.class_eval do
|
15
|
+
def summary_stream
|
16
|
+
$stderr
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
5
22
|
def versioned_load_application
|
6
23
|
@configuration_options = ::RSpec::Core::ConfigurationOptions.new([spec_files])
|
7
24
|
@configuration_options.parse_options
|
data/lib/specjour/worker.rb
CHANGED
@@ -36,7 +36,7 @@ module Specjour
|
|
36
36
|
Specjour.plugin_manager.send_task(:after_suite)
|
37
37
|
|
38
38
|
rescue StandardError, ScriptError => e
|
39
|
-
$stderr.puts "RESCUED #{e.message}"
|
39
|
+
$stderr.puts "Worker RESCUED #{e.class} '#{e.message}'"
|
40
40
|
$stderr.puts e.backtrace
|
41
41
|
connection.error(e)
|
42
42
|
ensure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specjour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Turriate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dnssd
|