specjour 2.0.0.rc4 → 2.0.0.rc5
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/connection.rb +9 -1
- data/lib/specjour/plugin/rspec_v3.rb +2 -2
- 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: 6aa7f71797519b99faa0b75f1d0b5841603a63d1
|
4
|
+
data.tar.gz: 060dda338445ded3033eecb2b1506f6feaf7d0d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa9d82ec1fc7359f424777b0122ad9b798de1040a18a2ba57f72ba5e5fb37cc3dce9f60eebbd59f11461fdf6c824176cb4e27a4edbc3c9bfcb9c8f7c19ab7db4
|
7
|
+
data.tar.gz: 296ba51c95549b3343d9d027ef946be23386d09c26be5e826b2f99a9d615ce6d2ce45e4dfb7e2b284a8dcc5781d764cd4bd33a6da886dca175f7983c717dc30e
|
data/lib/specjour.rb
CHANGED
data/lib/specjour/connection.rb
CHANGED
@@ -7,7 +7,7 @@ module Specjour
|
|
7
7
|
attr_reader :uri, :retries
|
8
8
|
attr_writer :socket
|
9
9
|
|
10
|
-
def_delegators :socket, :flush, :close, :closed?, :
|
10
|
+
def_delegators :socket, :flush, :close, :closed?, :each, :eof?, :tty?
|
11
11
|
|
12
12
|
def self.wrap(established_connection)
|
13
13
|
host, port = established_connection.peeraddr.values_at(3,1)
|
@@ -23,6 +23,14 @@ module Specjour
|
|
23
23
|
|
24
24
|
alias to_str to_s
|
25
25
|
|
26
|
+
def gets(*args)
|
27
|
+
debug "#{__method__.inspect} called with #{args.inspect}"
|
28
|
+
end
|
29
|
+
|
30
|
+
def puts(*args)
|
31
|
+
debug "#{__method__.inspect} called with #{args.inspect}"
|
32
|
+
end
|
33
|
+
|
26
34
|
def connect
|
27
35
|
debug "connecting to socket #{host}:#{port}"
|
28
36
|
timeout { connect_socket }
|
@@ -13,13 +13,13 @@ module Specjour
|
|
13
13
|
|
14
14
|
def before_suite
|
15
15
|
::RSpec.configuration.instance_eval do
|
16
|
-
|
16
|
+
run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
20
|
def after_suite
|
21
21
|
::RSpec.configuration.instance_eval do
|
22
|
-
|
22
|
+
run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
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.rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Turriate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dnssd
|