From dcc0beebb5ea34c763c9c0831356b603bc1a79b2 Mon Sep 17 00:00:00 2001 From: Brusk Awat Date: Thu, 1 Dec 2022 18:28:02 +0300 Subject: [PATCH] Fixes tasks --- Gemfile.lock | 2 +- lib/rabbit_carrots/railtie.rb | 1 + lib/{ => rabbit_carrots}/tasks/rmq.rake | 0 lib/rabbit_carrots/version.rb | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename lib/{ => rabbit_carrots}/tasks/rmq.rake (100%) diff --git a/Gemfile.lock b/Gemfile.lock index 1727740..b32a78a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - rabbit_carrots (0.1.1) + rabbit_carrots (0.1.2) activesupport (>= 6.0.0) bunny (>= 2.19.0) connection_pool (~> 2.3.0) diff --git a/lib/rabbit_carrots/railtie.rb b/lib/rabbit_carrots/railtie.rb index 28a41d1..cf9142a 100644 --- a/lib/rabbit_carrots/railtie.rb +++ b/lib/rabbit_carrots/railtie.rb @@ -7,6 +7,7 @@ module RabbitCarrots rake_tasks do path = File.expand_path(__dir__) + debugger Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f } end end diff --git a/lib/tasks/rmq.rake b/lib/rabbit_carrots/tasks/rmq.rake similarity index 100% rename from lib/tasks/rmq.rake rename to lib/rabbit_carrots/tasks/rmq.rake diff --git a/lib/rabbit_carrots/version.rb b/lib/rabbit_carrots/version.rb index ad74dfb..fd6b4d0 100644 --- a/lib/rabbit_carrots/version.rb +++ b/lib/rabbit_carrots/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RabbitCarrots - VERSION = "0.1.1" + VERSION = "0.1.2" end