rspec-rayo 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rspec-rayo/rayo/driver.rb +9 -7
- data/lib/rspec-rayo/version.rb +1 -1
- data/rspec-rayo.gemspec +1 -1
- metadata +21 -21
@@ -1,6 +1,6 @@
|
|
1
1
|
module RSpecRayo
|
2
2
|
class RayoDriver
|
3
|
-
attr_reader :event_queue, :threads
|
3
|
+
attr_reader :call_queue, :event_queue, :threads
|
4
4
|
attr_accessor :calls
|
5
5
|
|
6
6
|
def initialize(options)
|
@@ -74,12 +74,14 @@ module RSpecRayo
|
|
74
74
|
initialize_logging options
|
75
75
|
|
76
76
|
# Setup our Rayo environment
|
77
|
-
@rayo = Punchblock::Connection.new
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
77
|
+
@rayo = Punchblock::Connection.new :username => options[:username],
|
78
|
+
:password => options[:password],
|
79
|
+
:host => options[:host],
|
80
|
+
:port => options[:port],
|
81
|
+
:wire_logger => @wire_logger,
|
82
|
+
:transport_logger => @transport_logger,
|
83
|
+
:auto_reconnect => false,
|
84
|
+
:write_timeout => options[:write_timeout]
|
83
85
|
@event_queue = @rayo.event_queue
|
84
86
|
|
85
87
|
start_rayo
|
data/lib/rspec-rayo/version.rb
CHANGED
data/rspec-rayo.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
s.add_dependency %q<rspec>, [">= 2.6.0"]
|
22
|
-
s.add_dependency %q<punchblock>, [">= 0.4.
|
22
|
+
s.add_dependency %q<punchblock>, [">= 0.4.2"]
|
23
23
|
s.add_dependency %q<countdownlatch>, [">= 1.0.0"]
|
24
24
|
s.add_dependency %q<future-resource>, [">= 0.0.2"]
|
25
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-rayo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,12 +10,12 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-10-07 00:00:00.000000000 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|
18
|
-
requirement: &
|
18
|
+
requirement: &2153039060 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,21 +23,21 @@ dependencies:
|
|
23
23
|
version: 2.6.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2153039060
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: punchblock
|
29
|
-
requirement: &
|
29
|
+
requirement: &2153038540 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.4.
|
34
|
+
version: 0.4.2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *2153038540
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: countdownlatch
|
40
|
-
requirement: &
|
40
|
+
requirement: &2153038020 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: 1.0.0
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *2153038020
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: future-resource
|
51
|
-
requirement: &
|
51
|
+
requirement: &2153037420 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: 0.0.2
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *2153037420
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: yard
|
62
|
-
requirement: &
|
62
|
+
requirement: &2153018640 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 0.6.0
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *2153018640
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: bundler
|
73
|
-
requirement: &
|
73
|
+
requirement: &2153018040 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ~>
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 1.0.0
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *2153018040
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: rcov
|
84
|
-
requirement: &
|
84
|
+
requirement: &2153017440 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *2153017440
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rake
|
95
|
-
requirement: &
|
95
|
+
requirement: &2153016880 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,10 +100,10 @@ dependencies:
|
|
100
100
|
version: '0'
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *2153016880
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: ci_reporter
|
106
|
-
requirement: &
|
106
|
+
requirement: &2153016340 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
108
108
|
requirements:
|
109
109
|
- - ! '>='
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
version: 1.6.3
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
|
-
version_requirements: *
|
114
|
+
version_requirements: *2153016340
|
115
115
|
description: Rspec2 Matchers for Rayo
|
116
116
|
email: jsgoecke@voxeo.com, ben@langfeld.me
|
117
117
|
executables: []
|