activemessaging-kestrel-adapter 0.0.5 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 1.0.0 / 2012-01-17
2
+ * Change dependencies for Rails/activesupport 3.1.3. This version is not compatible
3
+ with Rails 2.3.X. Use 0.0.5 for Rails 2.3.X.
4
+
1
5
  == 0.0.5 / 2011-02-27
2
6
  * Clean up retry_policy initialization. Make sure the logger is set correctly.
3
7
  * Avoid reinstantiating a new retry policy object each time through the
data/README.md CHANGED
@@ -29,7 +29,7 @@ Examples
29
29
  # most circumstances (see below).
30
30
  config = YAML.load(File.read("broker.yml"))
31
31
 
32
- adapter = ActiveMessaging::Adapter::Kestrel::Connection.new(config[:development])
32
+ adapter = ActiveMessaging::Adapters::Kestrel::Connection.new(config[:development])
33
33
 
34
34
  adapter.send("arbitrarily_named_queue", "message as string")
35
35
  adapter.subscribe("queue1")
@@ -54,18 +54,19 @@ The ability to override the policy is provided for edge cases.
54
54
  empty_queues_delay is provided as a hack for when this adapter is used by the
55
55
  ActiveMessaging::Gateway messaging loop. Without setting this to some
56
56
  small non zero value, the messaging loop will consume 100% of CPU if there
57
- are no messages is subscribed queues. If you are using this adapter outside
58
- of the ActiveMessaging::Gateway messaging loop, do not set this key
57
+ are no messages in subscribed queues. If you are using this adapter outside
58
+ of the ActiveMessaging::Gateway messaging loop, do not set this key, but beware
59
+ of CPU burn if you call ActiveMessaging::Adapters::Kestrel::Connection#receive
60
+ in a loop and there are no messages in the subscribed queues.
59
61
 
60
62
  Requirements
61
63
  ------------
62
64
 
63
- * activemessaging >= 0.7.1
64
- * memcached-client
65
- * activesupport
66
-
67
- Probably activesupport as well since activemessaging barfs if you do not
68
- include it at the right time for certain use cases.
65
+ * activemessaging >= 0.9.0
66
+ * memcache-client
67
+ * active_support
68
+ * active_support/core_ext
69
+ * i18n
69
70
 
70
71
  Future
71
72
  ------
data/Rakefile CHANGED
@@ -17,7 +17,8 @@ Bones {
17
17
 
18
18
  depend_on 'memcache-client'
19
19
  depend_on 'activemessaging', '>= 0.7.1'
20
- depend_on 'activesupport', '~>2.3'
20
+ depend_on 'activesupport'
21
+ depend_on 'i18n'
21
22
 
22
23
  rdoc.include << 'README.md'
23
24
 
@@ -1,3 +1,8 @@
1
+ require 'memcache'
2
+ require 'i18n'
3
+ require 'active_support'
4
+ require 'active_support/core_ext'
5
+ require 'activemessaging'
1
6
 
2
7
  module ActivemessagingKestrelAdapter
3
8
 
@@ -56,5 +61,5 @@ module ActivemessagingKestrelAdapter
56
61
 
57
62
  end # module ActivemessagingKestrelAdapter
58
63
 
59
- ActivemessagingKestrelAdapter.require_all_libs_relative_to(__FILE__, 'active_messaging')
64
+ require 'active_messaging/adapters/kestrel'
60
65
 
@@ -1,6 +1,4 @@
1
1
  require 'test/unit'
2
- require 'active_support' # Annoying that I have to do this for the ActiveMessaging framework ...
3
- require 'activemessaging'
4
2
  require 'activemessaging-kestrel-adapter'
5
3
 
6
4
  class TestActiveMessagingKestrelAdapter < Test::Unit::TestCase
@@ -1 +1 @@
1
- 0.0.5
1
+ 1.0.0
metadata CHANGED
@@ -1,97 +1,83 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activemessaging-kestrel-adapter
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 5
10
- version: 0.0.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Douglas A. Seifert
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-02-27 00:00:00 -08:00
12
+ date: 2012-01-17 00:00:00.000000000 -08:00
19
13
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: memcache-client
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70235902205820 !ruby/object:Gem::Requirement
25
18
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 1.8.5
33
23
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: activemessaging
37
24
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *70235902205820
26
+ - !ruby/object:Gem::Dependency
27
+ name: activemessaging
28
+ requirement: &70235902202660 !ruby/object:Gem::Requirement
39
29
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 1
44
- segments:
45
- - 0
46
- - 7
47
- - 1
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
48
33
  version: 0.7.1
49
34
  type: :runtime
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
35
+ prerelease: false
36
+ version_requirements: *70235902202660
37
+ - !ruby/object:Gem::Dependency
52
38
  name: activesupport
39
+ requirement: &70235899005720 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: 3.1.3
45
+ type: :runtime
53
46
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
47
+ version_requirements: *70235899005720
48
+ - !ruby/object:Gem::Dependency
49
+ name: i18n
50
+ requirement: &70235899004920 !ruby/object:Gem::Requirement
55
51
  none: false
56
- requirements:
57
- - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 5
60
- segments:
61
- - 2
62
- - 3
63
- version: "2.3"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: 0.6.0
64
56
  type: :runtime
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: bones
68
57
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ version_requirements: *70235899004920
59
+ - !ruby/object:Gem::Dependency
60
+ name: bones
61
+ requirement: &70235899004200 !ruby/object:Gem::Requirement
70
62
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- hash: 21
75
- segments:
76
- - 3
77
- - 6
78
- - 5
79
- version: 3.6.5
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: 3.7.3
80
67
  type: :development
81
- version_requirements: *id004
82
- description: |-
83
- This is an adapter to the kestrel messaging server for the ActiveMessaging framework. It is
84
- in the early stages of development.
68
+ prerelease: false
69
+ version_requirements: *70235899004200
70
+ description: ! "This is an adapter to the kestrel messaging server for the ActiveMessaging
71
+ framework. It is \nin the early stages of development."
85
72
  email: doug@dseifert.net
86
- executables:
73
+ executables:
87
74
  - activemessaging-kestrel-adapter
88
75
  extensions: []
89
-
90
- extra_rdoc_files:
76
+ extra_rdoc_files:
91
77
  - History.txt
92
78
  - README.md
93
79
  - bin/activemessaging-kestrel-adapter
94
- files:
80
+ files:
95
81
  - .bnsignore
96
82
  - .gitignore
97
83
  - History.txt
@@ -108,37 +94,30 @@ files:
108
94
  has_rdoc: true
109
95
  homepage: http://github.org/seifertd/activemessaging-kestrel-adapter
110
96
  licenses: []
111
-
112
97
  post_install_message:
113
- rdoc_options:
98
+ rdoc_options:
114
99
  - --main
115
100
  - README.md
116
- require_paths:
101
+ require_paths:
117
102
  - lib
118
- required_ruby_version: !ruby/object:Gem::Requirement
103
+ required_ruby_version: !ruby/object:Gem::Requirement
119
104
  none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- hash: 3
124
- segments:
125
- - 0
126
- version: "0"
127
- required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ! '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
110
  none: false
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- hash: 3
133
- segments:
134
- - 0
135
- version: "0"
111
+ requirements:
112
+ - - ! '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
136
115
  requirements: []
137
-
138
116
  rubyforge_project: activemessaging-kestrel-adapter
139
- rubygems_version: 1.3.7
117
+ rubygems_version: 1.6.2
140
118
  signing_key:
141
119
  specification_version: 3
142
- summary: This is an adapter to the kestrel messaging server for the ActiveMessaging framework.
143
- test_files:
120
+ summary: This is an adapter to the kestrel messaging server for the ActiveMessaging
121
+ framework.
122
+ test_files:
144
123
  - test/test_activemessaging-kestrel-adapter.rb