cf-message-bus 0.0.2 → 0.0.3

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.
@@ -77,6 +77,10 @@ module CfMessageBus
77
77
  internal_bus.unsubscribe(subscription_id)
78
78
  end
79
79
 
80
+ def connected?
81
+ internal_bus.connected?
82
+ end
83
+
80
84
  private
81
85
 
82
86
  attr_reader :internal_bus
@@ -40,6 +40,10 @@ module CfMessageBus
40
40
  @recovery = block
41
41
  end
42
42
 
43
+ def connected?
44
+ true
45
+ end
46
+
43
47
  def respond_to_request(request_subject, data)
44
48
  block = @requests.fetch(request_subject) { lambda { |data| nil } }
45
49
  block.call(symbolize_keys(data))
@@ -1,3 +1,3 @@
1
1
  module CfMessageBus
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-message-bus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: