From 51b03c5452ff6a6aeb824f091ac412f865d4e83f Mon Sep 17 00:00:00 2001 From: Muhammad Nawzad Date: Wed, 8 Mar 2023 12:32:12 +0300 Subject: [PATCH] Removes activesupport and sidekiq-cron from the gemfile to allow users to add them manually to their gemfiles --- Gemfile | 4 ---- Gemfile.lock | 18 ------------------ lib/outboxable.rb | 1 - lib/outboxable/worker.rb | 2 -- 4 files changed, 25 deletions(-) diff --git a/Gemfile b/Gemfile index ec6fcb7..51469c9 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,3 @@ gem 'rake', '~> 13.0' gem 'rspec', '~> 3.0' gem 'rubocop-rails', '~> 2.18' - -gem 'sidekiq-cron', '~> 1.9' - -gem 'activesupport', '~> 7.0.4.2' diff --git a/Gemfile.lock b/Gemfile.lock index cd402c3..6d8b764 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -21,11 +21,6 @@ GEM concurrent-ruby (1.2.2) connection_pool (2.3.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) @@ -33,13 +28,10 @@ GEM parallel (1.22.1) parser (3.2.1.0) ast (~> 2.4.1) - raabro (1.4.0) rack (3.0.4.2) rainbow (3.1.1) rake (13.0.6) rbtree (0.4.6) - redis-client (0.13.0) - connection_pool regexp_parser (2.7.0) rexml (3.2.5) rspec (3.12.0) @@ -73,14 +65,6 @@ GEM rubocop (>= 1.33.0, < 2.0) ruby-progressbar (1.13.0) 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) rbtree set (~> 1.0) @@ -92,12 +76,10 @@ PLATFORMS x86_64-linux DEPENDENCIES - activesupport (~> 7.0.4.2) outboxable! rake (~> 13.0) rspec (~> 3.0) rubocop-rails (~> 2.18) - sidekiq-cron (~> 1.9) BUNDLED WITH 2.4.2 diff --git a/lib/outboxable.rb b/lib/outboxable.rb index 48362ad..4fd6965 100644 --- a/lib/outboxable.rb +++ b/lib/outboxable.rb @@ -8,7 +8,6 @@ require 'outboxable/polling_publisher_worker' require 'outboxable/connection' require 'outboxable/configuration' require 'outboxable/rabbitmq/publisher' -require 'active_support' module Outboxable class Error < StandardError; end diff --git a/lib/outboxable/worker.rb b/lib/outboxable/worker.rb index f14929f..ccfd952 100644 --- a/lib/outboxable/worker.rb +++ b/lib/outboxable/worker.rb @@ -1,5 +1,3 @@ -require 'sidekiq' - module Outboxable class Worker include Sidekiq::Job