holoserve-connector 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -11,9 +11,7 @@ test suite. See {holoserve}[https://github.com/skrill/holoserve] for details abo
11
11
 
12
12
  holoserve = Holoserve::Connector.new :host => "localhost"
13
13
 
14
- holoserve.fixtures.upload "./fixtures/*.json"
15
- holoserve.pairs.upload "./pairs/*.yaml"
16
- holoserve.situation.name = "one"
14
+ holoserve.state.set :name => "one"
17
15
 
18
16
  Transport::HTTP.request :post, "/test" # handled in test layout one
19
17
  Transport::HTTP.request :delete, "/test" # unhandled
@@ -33,4 +33,8 @@ class Holoserve::Connector
33
33
  "http://#{@host}:#{@port}/_control"
34
34
  end
35
35
 
36
+ def inspect
37
+ "<#{self.class} at #{@host}:#{@port}>"
38
+ end
39
+
36
40
  end
@@ -19,7 +19,7 @@ end
19
19
 
20
20
  RSpec::Matchers.define :have_received do |expected|
21
21
  match do |actual|
22
- actual.is_a?(Holoserve::Connector) && actual.history.pair_names.include?(expected)
22
+ actual.is_a?(Holoserve::Connector) && actual.history.pair_ids.include?(expected)
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holoserve-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-13 00:00:00.000000000 Z
12
+ date: 2012-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: transport
16
- requirement: &70365766527360 !ruby/object:Gem::Requirement
16
+ requirement: &70252528770200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70365766527360
24
+ version_requirements: *70252528770200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: holoserve
27
- requirement: &70365766526560 !ruby/object:Gem::Requirement
27
+ requirement: &70252528769020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70365766526560
35
+ version_requirements: *70252528769020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: cucumber
38
- requirement: &70365766525820 !ruby/object:Gem::Requirement
38
+ requirement: &70252528767080 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70365766525820
46
+ version_requirements: *70252528767080
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70365766525140 !ruby/object:Gem::Requirement
49
+ requirement: &70252528765300 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70365766525140
57
+ version_requirements: *70252528765300
58
58
  description: Provides a client for the control interface of holoserve and some RSpec
59
59
  matchers.
60
60
  email: philipp.bruell@skrill.com
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: 35958409398174168
94
+ hash: 1355457243231924802
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements: