mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 22:06:47 +00:00
Requires sidekiq-cron and activesupport
This commit is contained in:
parent
6d56b1f57a
commit
e08006e456
4
Gemfile
4
Gemfile
@ -10,3 +10,7 @@ gem "rake", "~> 13.0"
|
|||||||
gem "rspec", "~> 3.0"
|
gem "rspec", "~> 3.0"
|
||||||
|
|
||||||
gem "rubocop", "~> 1.21"
|
gem "rubocop", "~> 1.21"
|
||||||
|
|
||||||
|
gem 'sidekiq-cron', '~> 1.9'
|
||||||
|
|
||||||
|
gem 'activesupport', '~> 7.0.4.2'
|
||||||
|
|||||||
30
Gemfile.lock
30
Gemfile.lock
@ -8,20 +8,38 @@ PATH
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
|
activesupport (7.0.4.2)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 1.6, < 2)
|
||||||
|
minitest (>= 5.1)
|
||||||
|
tzinfo (~> 2.0)
|
||||||
amq-protocol (2.3.2)
|
amq-protocol (2.3.2)
|
||||||
ast (2.4.2)
|
ast (2.4.2)
|
||||||
bunny (2.20.3)
|
bunny (2.20.3)
|
||||||
amq-protocol (~> 2.3, >= 2.3.1)
|
amq-protocol (~> 2.3, >= 2.3.1)
|
||||||
sorted_set (~> 1, >= 1.0.2)
|
sorted_set (~> 1, >= 1.0.2)
|
||||||
|
concurrent-ruby (1.2.2)
|
||||||
connection_pool (2.3.0)
|
connection_pool (2.3.0)
|
||||||
diff-lcs (1.5.0)
|
diff-lcs (1.5.0)
|
||||||
|
et-orbi (1.2.7)
|
||||||
|
tzinfo
|
||||||
|
fugit (1.8.1)
|
||||||
|
et-orbi (~> 1, >= 1.2.7)
|
||||||
|
raabro (~> 1.4)
|
||||||
|
i18n (1.12.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
json (2.6.3)
|
json (2.6.3)
|
||||||
|
minitest (5.18.0)
|
||||||
parallel (1.22.1)
|
parallel (1.22.1)
|
||||||
parser (3.2.1.0)
|
parser (3.2.1.0)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
|
raabro (1.4.0)
|
||||||
|
rack (3.0.4.2)
|
||||||
rainbow (3.1.1)
|
rainbow (3.1.1)
|
||||||
rake (13.0.6)
|
rake (13.0.6)
|
||||||
rbtree (0.4.6)
|
rbtree (0.4.6)
|
||||||
|
redis-client (0.13.0)
|
||||||
|
connection_pool
|
||||||
regexp_parser (2.7.0)
|
regexp_parser (2.7.0)
|
||||||
rexml (3.2.5)
|
rexml (3.2.5)
|
||||||
rspec (3.12.0)
|
rspec (3.12.0)
|
||||||
@ -51,19 +69,31 @@ GEM
|
|||||||
parser (>= 3.2.1.0)
|
parser (>= 3.2.1.0)
|
||||||
ruby-progressbar (1.11.0)
|
ruby-progressbar (1.11.0)
|
||||||
set (1.0.3)
|
set (1.0.3)
|
||||||
|
sidekiq (7.0.6)
|
||||||
|
concurrent-ruby (< 2)
|
||||||
|
connection_pool (>= 2.3.0)
|
||||||
|
rack (>= 2.2.4)
|
||||||
|
redis-client (>= 0.11.0)
|
||||||
|
sidekiq-cron (1.9.1)
|
||||||
|
fugit (~> 1.8)
|
||||||
|
sidekiq (>= 4.2.1)
|
||||||
sorted_set (1.0.3)
|
sorted_set (1.0.3)
|
||||||
rbtree
|
rbtree
|
||||||
set (~> 1.0)
|
set (~> 1.0)
|
||||||
|
tzinfo (2.0.6)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
unicode-display_width (2.4.2)
|
unicode-display_width (2.4.2)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
activesupport (~> 7.0.4.2)
|
||||||
outboxable!
|
outboxable!
|
||||||
rake (~> 13.0)
|
rake (~> 13.0)
|
||||||
rspec (~> 3.0)
|
rspec (~> 3.0)
|
||||||
rubocop (~> 1.21)
|
rubocop (~> 1.21)
|
||||||
|
sidekiq-cron (~> 1.9)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.4.2
|
2.4.2
|
||||||
|
|||||||
@ -8,6 +8,7 @@ require 'outboxable/polling_publisher_worker'
|
|||||||
require 'outboxable/connection'
|
require 'outboxable/connection'
|
||||||
require 'outboxable/configuration'
|
require 'outboxable/configuration'
|
||||||
require 'outboxable/rabbitmq/publisher'
|
require 'outboxable/rabbitmq/publisher'
|
||||||
|
require 'active_support'
|
||||||
|
|
||||||
|
|
||||||
module Outboxable
|
module Outboxable
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
require 'sidekiq'
|
||||||
|
|
||||||
module Outboxable
|
module Outboxable
|
||||||
class Worker
|
class Worker
|
||||||
include Sidekiq::Job
|
include Sidekiq::Job
|
||||||
|
|||||||
@ -6,6 +6,6 @@ RSpec.describe Outboxable do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "does something useful" do
|
it "does something useful" do
|
||||||
expect(false).to eq(true)
|
expect(true).to eq(true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user