Skip to content

Commit

Permalink
Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Sep 30, 2024
1 parent 6b10be7 commit fd4b14b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
16 changes: 10 additions & 6 deletions lib/redis_web_manager.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 0 additions & 11 deletions lib/redis_web_manager/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fd4b14b

Please sign in to comment.