marples 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,6 @@ module Marples
3
3
  include Pethau::InitializeWith
4
4
  include Pethau::DefaultValueOf
5
5
 
6
- ACTIONS = [ :updated, :published ].freeze
7
-
8
6
  initialize_with :transport, :client_name, :logger
9
7
  default_value_of :client_name, File.basename($0)
10
8
  default_value_of :transport, Marples::NullTransport.instance
@@ -15,7 +13,6 @@ module Marples
15
13
  end
16
14
 
17
15
  def method_missing action, *args
18
- return super unless ACTIONS.include? action
19
16
  return super unless args.size == 1
20
17
  publish action, args[0]
21
18
  end
@@ -47,7 +44,7 @@ module Marples
47
44
  private :publish
48
45
 
49
46
  def destination_for application_name = client_name, object_type, action
50
- "/topic/#{application_name}.#{object_type}.#{action}"
47
+ "/topic/marples.#{application_name}.#{object_type}.#{action}"
51
48
  end
52
49
  private :destination_for
53
50
  end
@@ -1,3 +1,3 @@
1
1
  module Marples
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
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.17
4
+ version: 0.0.18
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-10-27 00:00:00.000000000Z
13
+ date: 2011-10-31 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pethau
17
- requirement: &70302320637620 !ruby/object:Gem::Requirement
17
+ requirement: &70095109606640 !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: *70302320637620
25
+ version_requirements: *70095109606640
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: null_logger
28
- requirement: &70302320637200 !ruby/object:Gem::Requirement
28
+ requirement: &70095109606220 !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: *70302320637200
36
+ version_requirements: *70095109606220
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: activesupport
39
- requirement: &70302320636740 !ruby/object:Gem::Requirement
39
+ requirement: &70095113424480 !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: *70302320636740
47
+ version_requirements: *70095113424480
48
48
  description: Message destination arbiter
49
49
  email:
50
50
  - craig@barkingiguana.com