Skip to content

Commit

Permalink
Update plugin generator to switch from rails secrets to credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Nov 13, 2024
1 parent b09ab8a commit 07c0181
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion lib/generators/manageiq/plugin/plugin_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def create_plugin_files
template "bin/before_install"
chmod "bin", 0o755 & ~File.umask, :verbose => false
empty_directory_with_keep_file "bundler.d"
template "config/secrets.defaults.yml"
template "config/settings.yml"
template "lib/%plugin_path%.rb"
template "lib/%plugin_path%/engine.rb"
Expand Down
1 change: 0 additions & 1 deletion lib/generators/manageiq/plugin/templates/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/.yardoc
/Gemfile.lock
/_yardoc/
/config/secrets.yml
/coverage/
/doc/
/pkg/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ class Engine < ::Rails::Engine

config.autoload_paths << root.join('lib').to_s

initializer :append_secrets do |app|
app.config.paths["config/secrets"] << root.join("config", "secrets.defaults.yml").to_s
app.config.paths["config/secrets"] << root.join("config", "secrets.yml").to_s
end

def self.vmdb_plugin?
true
end
Expand Down

0 comments on commit 07c0181

Please sign in to comment.