euston-rabbitmq 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,5 +1,13 @@
1
+ if RUBY_VERSION =~ /1.9/
2
+ Encoding.default_external = Encoding::UTF_8
3
+ Encoding.default_internal = Encoding::UTF_8
4
+ end
5
+
1
6
  source :rubygems
2
7
  gemspec
3
8
 
4
- gem 'hot_bunnies', :git => 'https://github.com/ruby-amqp/hot_bunnies.git'
5
- gem 'safely', :git => 'https://github.com/leemhenson/safely.git', :branch => 'override_strategies'
9
+ platforms :jruby do
10
+ gem 'hot_bunnies', :git => 'https://github.com/ruby-amqp/hot_bunnies.git'
11
+ end
12
+
13
+ gem 'safely', :git => 'https://github.com/leemhenson/safely.git', :branch => 'override_strategies'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'euston-rabbitmq'
3
- s.version = '1.2.1'
3
+ s.version = '1.2.2'
4
4
  s.platform = RUBY_PLATFORM.to_s == 'java' ? 'java' : Gem::Platform::RUBY
5
5
  s.authors = ['Lee Henson', 'Guy Boertje']
6
6
  s.email = ['lee.m.henson@gmail.com', 'guyboertje@gmail.com']
@@ -56,5 +56,6 @@ Gem::Specification.new do |s|
56
56
  s.add_development_dependency 'awesome_print', '~> 0.4.0'
57
57
  s.add_development_dependency 'fuubar', '~> 0.0.0'
58
58
  s.add_development_dependency 'rabbitmqadmin-cli', '~> 1.0.0'
59
+ s.add_development_dependency 'rake', '~> 0.9.2'
59
60
  s.add_development_dependency 'rspec', '~> 2.6.0'
60
61
  end
@@ -1,5 +1,5 @@
1
1
  module Euston
2
2
  module RabbitMq
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
@@ -54,9 +54,9 @@ describe 'retrying subscription', :rabbitmq do
54
54
  its([:attempts_to_handle]) { should == 3 }
55
55
  end
56
56
 
57
- context 'when the message fails 3 times' do
58
- let (:fail_limit) { 3 }
59
- its([:attempts_to_handle]) { should == 3 }
57
+ context 'when the message fails 5 times' do
58
+ let (:fail_limit) { 5 }
59
+ its([:attempts_to_handle]) { should == 5 }
60
60
 
61
61
  describe 'message failure handler' do
62
62
  subject { outcomes[:failure] }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: euston-rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
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-18 00:00:00.000000000 Z
13
+ date: 2011-12-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
17
- requirement: &84701010 !ruby/object:Gem::Requirement
17
+ requirement: &70225702574240 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.0.10
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *84701010
25
+ version_requirements: *70225702574240
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: euston
28
- requirement: &84700770 !ruby/object:Gem::Requirement
28
+ requirement: &70225702573680 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *84700770
36
+ version_requirements: *70225702573680
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: euston-eventstore
39
- requirement: &84700540 !ruby/object:Gem::Requirement
39
+ requirement: &70225702573140 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.2.0
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *84700540
47
+ version_requirements: *70225702573140
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: hash-keys
50
- requirement: &84700310 !ruby/object:Gem::Requirement
50
+ requirement: &70225702572520 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.0.0
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *84700310
58
+ version_requirements: *70225702572520
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: hollywood
61
- requirement: &84700080 !ruby/object:Gem::Requirement
61
+ requirement: &70225702572060 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.0.0
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *84700080
69
+ version_requirements: *70225702572060
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: i18n
72
- requirement: &84699850 !ruby/object:Gem::Requirement
72
+ requirement: &70225702571540 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 0.5.0
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *84699850
80
+ version_requirements: *70225702571540
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: safely
83
- requirement: &84699610 !ruby/object:Gem::Requirement
83
+ requirement: &70225702570780 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 0.3.0
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *84699610
91
+ version_requirements: *70225702570780
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: awesome_print
94
- requirement: &84699380 !ruby/object:Gem::Requirement
94
+ requirement: &70225702570080 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 0.4.0
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *84699380
102
+ version_requirements: *70225702570080
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: fuubar
105
- requirement: &84699150 !ruby/object:Gem::Requirement
105
+ requirement: &70225702569440 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ~>
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 0.0.0
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *84699150
113
+ version_requirements: *70225702569440
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: rabbitmqadmin-cli
116
- requirement: &84698920 !ruby/object:Gem::Requirement
116
+ requirement: &70225702568680 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ~>
@@ -121,10 +121,21 @@ dependencies:
121
121
  version: 1.0.0
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *84698920
124
+ version_requirements: *70225702568680
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: &70225702567940 !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ~>
131
+ - !ruby/object:Gem::Version
132
+ version: 0.9.2
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: *70225702567940
125
136
  - !ruby/object:Gem::Dependency
126
137
  name: rspec
127
- requirement: &84698690 !ruby/object:Gem::Requirement
138
+ requirement: &70225702567240 !ruby/object:Gem::Requirement
128
139
  none: false
129
140
  requirements:
130
141
  - - ~>
@@ -132,7 +143,7 @@ dependencies:
132
143
  version: 2.6.0
133
144
  type: :development
134
145
  prerelease: false
135
- version_requirements: *84698690
146
+ version_requirements: *70225702567240
136
147
  description: JRuby RabbitMq bindings
137
148
  email:
138
149
  - lee.m.henson@gmail.com
@@ -193,4 +204,15 @@ rubygems_version: 1.8.10
193
204
  signing_key:
194
205
  specification_version: 3
195
206
  summary: RabbitMq bindings for Euston.
196
- test_files: []
207
+ test_files:
208
+ - spec/euston/command_handler_binder_spec.rb
209
+ - spec/euston/event_handler_binder_spec.rb
210
+ - spec/euston/exchanges_spec.rb
211
+ - spec/euston/queues_spec.rb
212
+ - spec/euston/retrying_subscription_spec.rb
213
+ - spec/rabbitmq_client/queue_spec.rb
214
+ - spec/reflection/constant_loader_spec.rb
215
+ - spec/reflection/handler_finder_spec.rb
216
+ - spec/spec_helper.rb
217
+ - spec/support/filters.rb
218
+ - spec/support/queue_subscription_thread_harness.rb