From 84f32e99236d89a74aa10e46c51758454cf6d2bf Mon Sep 17 00:00:00 2001 From: Rasmus Kjellberg <2277443+kjellberg@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:02:49 +0200 Subject: [PATCH] Revert "feat: rails kiqr:install" This reverts commit 7f010c0779710a14fd9006e26946fb3ba60596da. --- gems/kiqr/lib/generators/kiqr/install_generator.rb | 13 ------------- gems/kiqr/lib/kiqr/engine.rb | 2 -- 2 files changed, 15 deletions(-) delete mode 100644 gems/kiqr/lib/generators/kiqr/install_generator.rb diff --git a/gems/kiqr/lib/generators/kiqr/install_generator.rb b/gems/kiqr/lib/generators/kiqr/install_generator.rb deleted file mode 100644 index bee7d8f..0000000 --- a/gems/kiqr/lib/generators/kiqr/install_generator.rb +++ /dev/null @@ -1,13 +0,0 @@ -require "rails/generators/base" - -module Kiqr - class InstallGenerator < Rails::Generators::Base - source_root File.expand_path("templates", __dir__) - - # Copy migrations to host application. - def copy_migrations - say "Copying migrations to host app..", :green - rake "kiqr:install:migrations" - end - end -end diff --git a/gems/kiqr/lib/kiqr/engine.rb b/gems/kiqr/lib/kiqr/engine.rb index 51091f5..9ea386c 100644 --- a/gems/kiqr/lib/kiqr/engine.rb +++ b/gems/kiqr/lib/kiqr/engine.rb @@ -2,8 +2,6 @@ module Kiqr class Engine < ::Rails::Engine - isolate_namespace Kiqr - initializer "kiqr.action_mailer" do |app| config.action_mailer.default_url_options = Kiqr.default_url_options end