marples 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,7 @@ module Marples
9
9
  default_value_of :logger, NullLogger.instance
10
10
 
11
11
  def join
12
+ logger.debug "Listening on #{transport}"
12
13
  transport.join
13
14
  end
14
15
 
@@ -18,7 +19,7 @@ module Marples
18
19
  end
19
20
 
20
21
  def when application, object_type, action
21
- logger.debug "Listening for #{application} notifiying us of #{object_type} #{action}"
22
+ logger.debug "Listening for #{application} notifiying us of #{action} #{object_type}"
22
23
  destination = destination_for application, object_type, action
23
24
  logger.debug "Underlying destination is #{destination}"
24
25
  transport.subscribe destination do |message|
@@ -9,7 +9,6 @@ module Marples
9
9
  class_attribute :marples_transport
10
10
  # You *will* need to set this yourself in each application.
11
11
  class_attribute :marples_client_name
12
- self.marples_client_name = File.basename(Rails.root)
13
12
  # If you'd like the actions performed by Marples to be logged, set a
14
13
  # logger. By default this uses the NullLogger.
15
14
  class_attribute :marples_logger
@@ -1,3 +1,3 @@
1
1
  module Marples
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.22"
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.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-11-10 00:00:00.000000000Z
13
+ date: 2011-11-21 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pethau
17
- requirement: &70110872302900 !ruby/object:Gem::Requirement
17
+ requirement: &70302597316480 !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: *70110872302900
25
+ version_requirements: *70302597316480
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: null_logger
28
- requirement: &70110872302480 !ruby/object:Gem::Requirement
28
+ requirement: &70302597316060 !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: *70110872302480
36
+ version_requirements: *70302597316060
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: activesupport
39
- requirement: &70110872302020 !ruby/object:Gem::Requirement
39
+ requirement: &70302597315580 !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: *70110872302020
47
+ version_requirements: *70302597315580
48
48
  description: Message destination arbiter
49
49
  email:
50
50
  - craig@barkingiguana.com