rabbit_feed 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/Brewfile +4 -0
- data/DEVELOPING.md +140 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +121 -0
- data/LICENSE.txt +9 -0
- data/README.md +304 -0
- data/Rakefile +30 -0
- data/bin/bundle +3 -0
- data/bin/rabbit_feed +11 -0
- data/example/non_rails_app/.rspec +1 -0
- data/example/non_rails_app/Gemfile +7 -0
- data/example/non_rails_app/Gemfile.lock +56 -0
- data/example/non_rails_app/Rakefile +5 -0
- data/example/non_rails_app/bin/benchmark +63 -0
- data/example/non_rails_app/bin/bundle +3 -0
- data/example/non_rails_app/config/rabbit_feed.yml +8 -0
- data/example/non_rails_app/lib/non_rails_app.rb +32 -0
- data/example/non_rails_app/lib/non_rails_app/event_handler.rb +10 -0
- data/example/non_rails_app/log/.keep +0 -0
- data/example/non_rails_app/spec/lib/non_rails_app/event_handler_spec.rb +14 -0
- data/example/non_rails_app/spec/lib/non_rails_app/event_routing_spec.rb +14 -0
- data/example/non_rails_app/spec/spec_helper.rb +31 -0
- data/example/non_rails_app/tmp/pids/.keep +0 -0
- data/example/rails_app/.gitignore +17 -0
- data/example/rails_app/.node-version +1 -0
- data/example/rails_app/.rspec +1 -0
- data/example/rails_app/Gemfile +36 -0
- data/example/rails_app/Gemfile.lock +173 -0
- data/example/rails_app/README.rdoc +28 -0
- data/example/rails_app/Rakefile +6 -0
- data/example/rails_app/app/assets/images/.keep +0 -0
- data/example/rails_app/app/assets/javascripts/application.js +16 -0
- data/example/rails_app/app/assets/javascripts/beavers.js.coffee +3 -0
- data/example/rails_app/app/assets/stylesheets/application.css +15 -0
- data/example/rails_app/app/assets/stylesheets/beavers.css.scss +3 -0
- data/example/rails_app/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/example/rails_app/app/controllers/application_controller.rb +5 -0
- data/example/rails_app/app/controllers/beavers_controller.rb +81 -0
- data/example/rails_app/app/controllers/concerns/.keep +0 -0
- data/example/rails_app/app/helpers/application_helper.rb +2 -0
- data/example/rails_app/app/helpers/beavers_helper.rb +2 -0
- data/example/rails_app/app/mailers/.keep +0 -0
- data/example/rails_app/app/models/.keep +0 -0
- data/example/rails_app/app/models/beaver.rb +2 -0
- data/example/rails_app/app/models/concerns/.keep +0 -0
- data/example/rails_app/app/views/beavers/_form.html.erb +21 -0
- data/example/rails_app/app/views/beavers/edit.html.erb +6 -0
- data/example/rails_app/app/views/beavers/index.html.erb +25 -0
- data/example/rails_app/app/views/beavers/index.json.jbuilder +4 -0
- data/example/rails_app/app/views/beavers/new.html.erb +5 -0
- data/example/rails_app/app/views/beavers/show.html.erb +9 -0
- data/example/rails_app/app/views/beavers/show.json.jbuilder +1 -0
- data/example/rails_app/app/views/layouts/application.html.erb +14 -0
- data/example/rails_app/bin/bundle +3 -0
- data/example/rails_app/bin/rails +4 -0
- data/example/rails_app/bin/rake +4 -0
- data/example/rails_app/config.ru +4 -0
- data/example/rails_app/config/application.rb +25 -0
- data/example/rails_app/config/boot.rb +4 -0
- data/example/rails_app/config/database.yml +22 -0
- data/example/rails_app/config/environment.rb +5 -0
- data/example/rails_app/config/environments/development.rb +83 -0
- data/example/rails_app/config/environments/test.rb +39 -0
- data/example/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/example/rails_app/config/initializers/cookies_serializer.rb +3 -0
- data/example/rails_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/example/rails_app/config/initializers/inflections.rb +16 -0
- data/example/rails_app/config/initializers/mime_types.rb +4 -0
- data/example/rails_app/config/initializers/rabbit_feed.rb +43 -0
- data/example/rails_app/config/initializers/session_store.rb +3 -0
- data/example/rails_app/config/initializers/wrap_parameters.rb +14 -0
- data/example/rails_app/config/locales/en.yml +23 -0
- data/example/rails_app/config/rabbit_feed.yml +8 -0
- data/example/rails_app/config/routes.rb +58 -0
- data/example/rails_app/config/secrets.yml +18 -0
- data/example/rails_app/config/unicorn.rb +4 -0
- data/example/rails_app/db/migrate/20140424102400_create_beavers.rb +9 -0
- data/example/rails_app/db/schema.rb +22 -0
- data/example/rails_app/db/seeds.rb +7 -0
- data/example/rails_app/lib/assets/.keep +0 -0
- data/example/rails_app/lib/event_handler.rb +7 -0
- data/example/rails_app/lib/tasks/.keep +0 -0
- data/example/rails_app/log/.keep +0 -0
- data/example/rails_app/public/404.html +67 -0
- data/example/rails_app/public/422.html +67 -0
- data/example/rails_app/public/500.html +66 -0
- data/example/rails_app/public/favicon.ico +0 -0
- data/example/rails_app/public/robots.txt +5 -0
- data/example/rails_app/spec/controllers/beavers_controller_spec.rb +32 -0
- data/example/rails_app/spec/event_routing_spec.rb +15 -0
- data/example/rails_app/spec/spec_helper.rb +51 -0
- data/example/rails_app/test/controllers/.keep +0 -0
- data/example/rails_app/test/controllers/beavers_controller_test.rb +49 -0
- data/example/rails_app/test/fixtures/.keep +0 -0
- data/example/rails_app/test/fixtures/beavers.yml +7 -0
- data/example/rails_app/test/helpers/.keep +0 -0
- data/example/rails_app/test/helpers/beavers_helper_test.rb +4 -0
- data/example/rails_app/test/integration/.keep +0 -0
- data/example/rails_app/test/mailers/.keep +0 -0
- data/example/rails_app/test/models/.keep +0 -0
- data/example/rails_app/test/models/beaver_test.rb +7 -0
- data/example/rails_app/test/test_helper.rb +13 -0
- data/example/rails_app/tmp/pids/.keep +0 -0
- data/example/rails_app/vendor/assets/javascripts/.keep +0 -0
- data/example/rails_app/vendor/assets/stylesheets/.keep +0 -0
- data/lib/dsl.rb +9 -0
- data/lib/rabbit_feed.rb +41 -0
- data/lib/rabbit_feed/client.rb +181 -0
- data/lib/rabbit_feed/configuration.rb +50 -0
- data/lib/rabbit_feed/connection_concern.rb +95 -0
- data/lib/rabbit_feed/consumer.rb +14 -0
- data/lib/rabbit_feed/consumer_connection.rb +108 -0
- data/lib/rabbit_feed/event.rb +43 -0
- data/lib/rabbit_feed/event_definitions.rb +98 -0
- data/lib/rabbit_feed/event_routing.rb +90 -0
- data/lib/rabbit_feed/producer.rb +47 -0
- data/lib/rabbit_feed/producer_connection.rb +65 -0
- data/lib/rabbit_feed/testing_support/rspec_matchers/publish_event.rb +90 -0
- data/lib/rabbit_feed/testing_support/testing_helpers.rb +16 -0
- data/lib/rabbit_feed/version.rb +3 -0
- data/logo.png +0 -0
- data/rabbit_feed.gemspec +35 -0
- data/run_benchmark +35 -0
- data/run_example +62 -0
- data/run_recovery_test +26 -0
- data/spec/features/connectivity.feature +13 -0
- data/spec/features/step_definitions/connectivity_steps.rb +96 -0
- data/spec/fixtures/configuration.yml +14 -0
- data/spec/lib/rabbit_feed/client_spec.rb +116 -0
- data/spec/lib/rabbit_feed/configuration_spec.rb +121 -0
- data/spec/lib/rabbit_feed/connection_concern_spec.rb +116 -0
- data/spec/lib/rabbit_feed/consumer_connection_spec.rb +85 -0
- data/spec/lib/rabbit_feed/event_definitions_spec.rb +139 -0
- data/spec/lib/rabbit_feed/event_routing_spec.rb +121 -0
- data/spec/lib/rabbit_feed/event_spec.rb +33 -0
- data/spec/lib/rabbit_feed/producer_connection_spec.rb +72 -0
- data/spec/lib/rabbit_feed/producer_spec.rb +57 -0
- data/spec/lib/rabbit_feed/testing_support/rspec_matchers/publish_event_spec.rb +60 -0
- data/spec/lib/rabbit_feed/testing_support/testing_helper_spec.rb +34 -0
- data/spec/spec_helper.rb +58 -0
- data/spec/support/shared_examples_for_connections.rb +40 -0
- metadata +305 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module RabbitFeed
|
4
|
+
module TestingSupport
|
5
|
+
describe TestingHelpers do
|
6
|
+
describe 'consuming events' do
|
7
|
+
|
8
|
+
include TestingHelpers
|
9
|
+
|
10
|
+
accumulator = []
|
11
|
+
|
12
|
+
let(:define_route) do
|
13
|
+
EventRouting do
|
14
|
+
accept_from('some_place') do
|
15
|
+
event('some_event') do |event|
|
16
|
+
accumulator << event
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
let(:event) { {'application' => 'some_place', 'name' => 'some_event', 'stuff' => 'some_stuff'} }
|
23
|
+
|
24
|
+
before { define_route }
|
25
|
+
|
26
|
+
it 'should allow to send messages directly to the consumer' do
|
27
|
+
rabbit_feed_consumer.consume_event(event)
|
28
|
+
expect(accumulator.size).to eq(1)
|
29
|
+
expect(accumulator[0].payload).to eq(event)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'codeclimate-test-reporter'
|
2
|
+
require 'rabbit_feed'
|
3
|
+
require 'timecop'
|
4
|
+
require 'timeout'
|
5
|
+
|
6
|
+
# Send data to code climate from semaphore
|
7
|
+
# Disable the warning messages
|
8
|
+
CodeClimate::TestReporter.configure do |config|
|
9
|
+
config.logger.level = Logger::WARN
|
10
|
+
end
|
11
|
+
CodeClimate::TestReporter.start
|
12
|
+
|
13
|
+
# Get rid of deprecation warnings
|
14
|
+
I18n.enforce_available_locales = true
|
15
|
+
|
16
|
+
# Loads the shared examples
|
17
|
+
Dir['./spec/support/**/*.rb'].sort.each { |f| require f}
|
18
|
+
|
19
|
+
# Loads the step definitions
|
20
|
+
Dir.glob('spec/features/step_definitions/**/*_steps.rb') { |f| load f, true }
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
|
24
|
+
config.before do
|
25
|
+
reset_environment
|
26
|
+
end
|
27
|
+
|
28
|
+
config.after do
|
29
|
+
reset_environment
|
30
|
+
# Ensure the consumer thread exists between tests
|
31
|
+
kill_consumer_thread
|
32
|
+
# Ensure that connections don't persist between tests
|
33
|
+
close_connections
|
34
|
+
# Clear event routing
|
35
|
+
RabbitFeed::Consumer.event_routing = nil
|
36
|
+
# Clear event definitions
|
37
|
+
RabbitFeed::Producer.event_definitions = nil
|
38
|
+
end
|
39
|
+
|
40
|
+
config.include(RabbitFeed::TestingSupport::RSpecMatchers)
|
41
|
+
end
|
42
|
+
|
43
|
+
def kill_consumer_thread
|
44
|
+
if @consumer_thread.present?
|
45
|
+
Thread.kill @consumer_thread
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def close_connections
|
50
|
+
RabbitFeed::ProducerConnection.close
|
51
|
+
RabbitFeed::ConsumerConnection.close
|
52
|
+
end
|
53
|
+
|
54
|
+
def reset_environment
|
55
|
+
RabbitFeed.log = Logger.new('test.log')
|
56
|
+
RabbitFeed.environment = 'test'
|
57
|
+
RabbitFeed.configuration_file_path = 'spec/fixtures/configuration.yml'
|
58
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
RSpec.shared_examples 'an operation that retries on exception' do |operation, exception_class|
|
2
|
+
|
3
|
+
context 'less than three times' do
|
4
|
+
|
5
|
+
it 'traps the exception' do
|
6
|
+
tries = 0
|
7
|
+
expect do
|
8
|
+
subject.send(operation) do
|
9
|
+
(tries += 1) < 3 ? (raise exception_class.new 'blah') : nil
|
10
|
+
end
|
11
|
+
end.to_not raise_error
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
context 'three or more times' do
|
16
|
+
|
17
|
+
it 'raises the exception' do
|
18
|
+
tries = 0
|
19
|
+
expect do
|
20
|
+
subject.send(operation) do
|
21
|
+
tries += 1
|
22
|
+
raise exception_class.new 'blah'
|
23
|
+
end
|
24
|
+
end.to raise_error exception_class
|
25
|
+
expect(tries).to eq 3
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
RSpec.shared_examples 'an operation that does not retry on exception' do |operation, exception_class|
|
31
|
+
|
32
|
+
it 'does not retry when the error is received' do
|
33
|
+
tries = 0
|
34
|
+
expect do
|
35
|
+
subject.send(operation) do
|
36
|
+
(tries += 1) < 3 ? (raise exception_class.new 'blah') : nil
|
37
|
+
end
|
38
|
+
end.to raise_error
|
39
|
+
end
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,305 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rabbit_feed
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Simply Business
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bunny
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activemodel
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: connection_pool
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pidfile
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: avro
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: A gem allowing your application to publish messages to RabbitMQ
|
112
|
+
email:
|
113
|
+
- tech@simplybusiness.co.uk
|
114
|
+
executables:
|
115
|
+
- bundle
|
116
|
+
- rabbit_feed
|
117
|
+
extensions: []
|
118
|
+
extra_rdoc_files: []
|
119
|
+
files:
|
120
|
+
- ".gitignore"
|
121
|
+
- ".rspec"
|
122
|
+
- Brewfile
|
123
|
+
- DEVELOPING.md
|
124
|
+
- Gemfile
|
125
|
+
- Gemfile.lock
|
126
|
+
- LICENSE.txt
|
127
|
+
- README.md
|
128
|
+
- Rakefile
|
129
|
+
- bin/bundle
|
130
|
+
- bin/rabbit_feed
|
131
|
+
- example/non_rails_app/.rspec
|
132
|
+
- example/non_rails_app/Gemfile
|
133
|
+
- example/non_rails_app/Gemfile.lock
|
134
|
+
- example/non_rails_app/Rakefile
|
135
|
+
- example/non_rails_app/bin/benchmark
|
136
|
+
- example/non_rails_app/bin/bundle
|
137
|
+
- example/non_rails_app/config/rabbit_feed.yml
|
138
|
+
- example/non_rails_app/lib/non_rails_app.rb
|
139
|
+
- example/non_rails_app/lib/non_rails_app/event_handler.rb
|
140
|
+
- example/non_rails_app/log/.keep
|
141
|
+
- example/non_rails_app/spec/lib/non_rails_app/event_handler_spec.rb
|
142
|
+
- example/non_rails_app/spec/lib/non_rails_app/event_routing_spec.rb
|
143
|
+
- example/non_rails_app/spec/spec_helper.rb
|
144
|
+
- example/non_rails_app/tmp/pids/.keep
|
145
|
+
- example/rails_app/.gitignore
|
146
|
+
- example/rails_app/.node-version
|
147
|
+
- example/rails_app/.rspec
|
148
|
+
- example/rails_app/Gemfile
|
149
|
+
- example/rails_app/Gemfile.lock
|
150
|
+
- example/rails_app/README.rdoc
|
151
|
+
- example/rails_app/Rakefile
|
152
|
+
- example/rails_app/app/assets/images/.keep
|
153
|
+
- example/rails_app/app/assets/javascripts/application.js
|
154
|
+
- example/rails_app/app/assets/javascripts/beavers.js.coffee
|
155
|
+
- example/rails_app/app/assets/stylesheets/application.css
|
156
|
+
- example/rails_app/app/assets/stylesheets/beavers.css.scss
|
157
|
+
- example/rails_app/app/assets/stylesheets/scaffolds.css.scss
|
158
|
+
- example/rails_app/app/controllers/application_controller.rb
|
159
|
+
- example/rails_app/app/controllers/beavers_controller.rb
|
160
|
+
- example/rails_app/app/controllers/concerns/.keep
|
161
|
+
- example/rails_app/app/helpers/application_helper.rb
|
162
|
+
- example/rails_app/app/helpers/beavers_helper.rb
|
163
|
+
- example/rails_app/app/mailers/.keep
|
164
|
+
- example/rails_app/app/models/.keep
|
165
|
+
- example/rails_app/app/models/beaver.rb
|
166
|
+
- example/rails_app/app/models/concerns/.keep
|
167
|
+
- example/rails_app/app/views/beavers/_form.html.erb
|
168
|
+
- example/rails_app/app/views/beavers/edit.html.erb
|
169
|
+
- example/rails_app/app/views/beavers/index.html.erb
|
170
|
+
- example/rails_app/app/views/beavers/index.json.jbuilder
|
171
|
+
- example/rails_app/app/views/beavers/new.html.erb
|
172
|
+
- example/rails_app/app/views/beavers/show.html.erb
|
173
|
+
- example/rails_app/app/views/beavers/show.json.jbuilder
|
174
|
+
- example/rails_app/app/views/layouts/application.html.erb
|
175
|
+
- example/rails_app/bin/bundle
|
176
|
+
- example/rails_app/bin/rails
|
177
|
+
- example/rails_app/bin/rake
|
178
|
+
- example/rails_app/config.ru
|
179
|
+
- example/rails_app/config/application.rb
|
180
|
+
- example/rails_app/config/boot.rb
|
181
|
+
- example/rails_app/config/database.yml
|
182
|
+
- example/rails_app/config/environment.rb
|
183
|
+
- example/rails_app/config/environments/development.rb
|
184
|
+
- example/rails_app/config/environments/test.rb
|
185
|
+
- example/rails_app/config/initializers/backtrace_silencers.rb
|
186
|
+
- example/rails_app/config/initializers/cookies_serializer.rb
|
187
|
+
- example/rails_app/config/initializers/filter_parameter_logging.rb
|
188
|
+
- example/rails_app/config/initializers/inflections.rb
|
189
|
+
- example/rails_app/config/initializers/mime_types.rb
|
190
|
+
- example/rails_app/config/initializers/rabbit_feed.rb
|
191
|
+
- example/rails_app/config/initializers/session_store.rb
|
192
|
+
- example/rails_app/config/initializers/wrap_parameters.rb
|
193
|
+
- example/rails_app/config/locales/en.yml
|
194
|
+
- example/rails_app/config/rabbit_feed.yml
|
195
|
+
- example/rails_app/config/routes.rb
|
196
|
+
- example/rails_app/config/secrets.yml
|
197
|
+
- example/rails_app/config/unicorn.rb
|
198
|
+
- example/rails_app/db/migrate/20140424102400_create_beavers.rb
|
199
|
+
- example/rails_app/db/schema.rb
|
200
|
+
- example/rails_app/db/seeds.rb
|
201
|
+
- example/rails_app/lib/assets/.keep
|
202
|
+
- example/rails_app/lib/event_handler.rb
|
203
|
+
- example/rails_app/lib/tasks/.keep
|
204
|
+
- example/rails_app/log/.keep
|
205
|
+
- example/rails_app/public/404.html
|
206
|
+
- example/rails_app/public/422.html
|
207
|
+
- example/rails_app/public/500.html
|
208
|
+
- example/rails_app/public/favicon.ico
|
209
|
+
- example/rails_app/public/robots.txt
|
210
|
+
- example/rails_app/spec/controllers/beavers_controller_spec.rb
|
211
|
+
- example/rails_app/spec/event_routing_spec.rb
|
212
|
+
- example/rails_app/spec/spec_helper.rb
|
213
|
+
- example/rails_app/test/controllers/.keep
|
214
|
+
- example/rails_app/test/controllers/beavers_controller_test.rb
|
215
|
+
- example/rails_app/test/fixtures/.keep
|
216
|
+
- example/rails_app/test/fixtures/beavers.yml
|
217
|
+
- example/rails_app/test/helpers/.keep
|
218
|
+
- example/rails_app/test/helpers/beavers_helper_test.rb
|
219
|
+
- example/rails_app/test/integration/.keep
|
220
|
+
- example/rails_app/test/mailers/.keep
|
221
|
+
- example/rails_app/test/models/.keep
|
222
|
+
- example/rails_app/test/models/beaver_test.rb
|
223
|
+
- example/rails_app/test/test_helper.rb
|
224
|
+
- example/rails_app/tmp/pids/.keep
|
225
|
+
- example/rails_app/vendor/assets/javascripts/.keep
|
226
|
+
- example/rails_app/vendor/assets/stylesheets/.keep
|
227
|
+
- lib/dsl.rb
|
228
|
+
- lib/rabbit_feed.rb
|
229
|
+
- lib/rabbit_feed/client.rb
|
230
|
+
- lib/rabbit_feed/configuration.rb
|
231
|
+
- lib/rabbit_feed/connection_concern.rb
|
232
|
+
- lib/rabbit_feed/consumer.rb
|
233
|
+
- lib/rabbit_feed/consumer_connection.rb
|
234
|
+
- lib/rabbit_feed/event.rb
|
235
|
+
- lib/rabbit_feed/event_definitions.rb
|
236
|
+
- lib/rabbit_feed/event_routing.rb
|
237
|
+
- lib/rabbit_feed/producer.rb
|
238
|
+
- lib/rabbit_feed/producer_connection.rb
|
239
|
+
- lib/rabbit_feed/testing_support/rspec_matchers/publish_event.rb
|
240
|
+
- lib/rabbit_feed/testing_support/testing_helpers.rb
|
241
|
+
- lib/rabbit_feed/version.rb
|
242
|
+
- logo.png
|
243
|
+
- rabbit_feed.gemspec
|
244
|
+
- run_benchmark
|
245
|
+
- run_example
|
246
|
+
- run_recovery_test
|
247
|
+
- spec/features/connectivity.feature
|
248
|
+
- spec/features/step_definitions/connectivity_steps.rb
|
249
|
+
- spec/fixtures/configuration.yml
|
250
|
+
- spec/lib/rabbit_feed/client_spec.rb
|
251
|
+
- spec/lib/rabbit_feed/configuration_spec.rb
|
252
|
+
- spec/lib/rabbit_feed/connection_concern_spec.rb
|
253
|
+
- spec/lib/rabbit_feed/consumer_connection_spec.rb
|
254
|
+
- spec/lib/rabbit_feed/event_definitions_spec.rb
|
255
|
+
- spec/lib/rabbit_feed/event_routing_spec.rb
|
256
|
+
- spec/lib/rabbit_feed/event_spec.rb
|
257
|
+
- spec/lib/rabbit_feed/producer_connection_spec.rb
|
258
|
+
- spec/lib/rabbit_feed/producer_spec.rb
|
259
|
+
- spec/lib/rabbit_feed/testing_support/rspec_matchers/publish_event_spec.rb
|
260
|
+
- spec/lib/rabbit_feed/testing_support/testing_helper_spec.rb
|
261
|
+
- spec/spec_helper.rb
|
262
|
+
- spec/support/shared_examples_for_connections.rb
|
263
|
+
homepage: https://github.com/simplybusiness/rabbit_feed
|
264
|
+
licenses:
|
265
|
+
- MIT
|
266
|
+
metadata: {}
|
267
|
+
post_install_message:
|
268
|
+
rdoc_options: []
|
269
|
+
require_paths:
|
270
|
+
- lib
|
271
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
272
|
+
requirements:
|
273
|
+
- - ">="
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '0'
|
276
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - ">="
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: '0'
|
281
|
+
requirements: []
|
282
|
+
rubyforge_project:
|
283
|
+
rubygems_version: 2.0.14
|
284
|
+
signing_key:
|
285
|
+
specification_version: 4
|
286
|
+
summary: This will enable your application to publish messages to a bus to be processed
|
287
|
+
by other services
|
288
|
+
test_files:
|
289
|
+
- spec/features/connectivity.feature
|
290
|
+
- spec/features/step_definitions/connectivity_steps.rb
|
291
|
+
- spec/fixtures/configuration.yml
|
292
|
+
- spec/lib/rabbit_feed/client_spec.rb
|
293
|
+
- spec/lib/rabbit_feed/configuration_spec.rb
|
294
|
+
- spec/lib/rabbit_feed/connection_concern_spec.rb
|
295
|
+
- spec/lib/rabbit_feed/consumer_connection_spec.rb
|
296
|
+
- spec/lib/rabbit_feed/event_definitions_spec.rb
|
297
|
+
- spec/lib/rabbit_feed/event_routing_spec.rb
|
298
|
+
- spec/lib/rabbit_feed/event_spec.rb
|
299
|
+
- spec/lib/rabbit_feed/producer_connection_spec.rb
|
300
|
+
- spec/lib/rabbit_feed/producer_spec.rb
|
301
|
+
- spec/lib/rabbit_feed/testing_support/rspec_matchers/publish_event_spec.rb
|
302
|
+
- spec/lib/rabbit_feed/testing_support/testing_helper_spec.rb
|
303
|
+
- spec/spec_helper.rb
|
304
|
+
- spec/support/shared_examples_for_connections.rb
|
305
|
+
has_rdoc:
|