diff --git a/lib/redis_web_manager.rb b/lib/redis_web_manager.rb index b7df9d4..23f4787 100644 --- a/lib/redis_web_manager.rb +++ b/lib/redis_web_manager.rb @@ -1,14 +1,18 @@ # frozen_string_literal: true -require 'redis_web_manager/engine' -require 'redis_web_manager/base' -require 'redis_web_manager/action' -require 'redis_web_manager/connection' -require 'redis_web_manager/info' -require 'redis_web_manager/data' +# require external dependencies require 'active_support/time' require 'redis' +# require internal dependencies +require_relative 'redis_web_manager/engine' +require_relative 'redis_web_manager/base' +require_relative 'redis_web_manager/action' +require_relative 'redis_web_manager/connection' +require_relative 'redis_web_manager/info' +require_relative 'redis_web_manager/data' + + module RedisWebManager mattr_accessor :redises, default: { default: Redis.new } mattr_accessor :lifespan, default: 15.days diff --git a/lib/redis_web_manager/engine.rb b/lib/redis_web_manager/engine.rb index 0eadd4b..0729ab5 100644 --- a/lib/redis_web_manager/engine.rb +++ b/lib/redis_web_manager/engine.rb @@ -17,16 +17,5 @@ class Engine < ::Rails::Engine end end end - - config.generators do |generate| - # Don't generate assets - generate.assets false - - # Don't generate helper - generate.helper false - - # Rspec - generate.test_framework :rspec - end end end