marples 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,7 @@ module Marples
36
36
  def publish action, object
37
37
  object_type = object.class.name.tableize
38
38
  destination = destination_for object_type, action
39
+ logger.debug "Using transport #{transport}"
39
40
  logger.debug "Sending XML to #{destination}"
40
41
  logger.debug "XML: #{object.to_xml}"
41
42
  transport.publish destination, object.to_xml
@@ -4,5 +4,6 @@ module Marples
4
4
  def publish *args; end
5
5
  def subscribe *args; end
6
6
  def join; end
7
+ def to_s; 'Null Transport'; end
7
8
  end
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module Marples
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marples
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-11-10 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pethau
17
- requirement: &70354359854080 !ruby/object:Gem::Requirement
17
+ requirement: &70110872302900 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.0.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70354359854080
25
+ version_requirements: *70110872302900
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: null_logger
28
- requirement: &70354359853560 !ruby/object:Gem::Requirement
28
+ requirement: &70110872302480 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70354359853560
36
+ version_requirements: *70110872302480
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: activesupport
39
- requirement: &70354359853020 !ruby/object:Gem::Requirement
39
+ requirement: &70110872302020 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70354359853020
47
+ version_requirements: *70110872302020
48
48
  description: Message destination arbiter
49
49
  email:
50
50
  - craig@barkingiguana.com