Skip to content

Commit

Permalink
Fixed rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Aug 25, 2024
1 parent 938884a commit 17c2bcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/initializers/deface.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

Rails.application.paths['app/overrides'] ||= []
Dir[Rails.root.join('plugins/*/app/overrides')].each do |dir|
Rails.application.paths['app/overrides'] << dir unless Rails.application.paths['app/overrides'].include? dir
Rails.root.glob('plugins/*/app/overrides').each do |path|
Rails.application.paths['app/overrides'] << path unless Rails.application.paths['app/overrides'].include? path
end

Rails.root.glob('plugins/*/app/overrides/**/*.deface').each do |path|
Expand Down
4 changes: 2 additions & 2 deletions redmine_plugin_kit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'deface', '1.9.0'
spec.add_runtime_dependency 'rails'
spec.add_dependency 'deface', '1.9.0'
spec.add_dependency 'rails'
end

0 comments on commit 17c2bcd

Please sign in to comment.