Sha256: 7983d4d33b36e19497f294f3b2d390b67a937f83963b8f908e9346e99d4272c2

Contents?: true

Size: 551 Bytes

Versions: 27

Compression:

Stored size: 551 Bytes

Contents

Redmine::Plugin.register :<%= plugin_name_underscored %> do
  name '<%= plugin_pretty_name %>'
  author ''
  author_url ''
  description ''
  version '<%= Date.today.strftime('%Y') %>'

  #into easy_settings goes available setting as a symbol key, default value as a value
  settings easy_settings: {  }
  <% if easy_plugin %>
  plugin_in_relative_subdirectory File.join('easyproject', 'easy_plugins')
  <% end %>
end

<% unless easy_plugin %>
unless Redmine::Plugin.registered_plugins[:easy_extensions]
  require_relative 'after_init'
end

<% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
redmine_extensions-0.6.3 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.6.2 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.6.1 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.6.0 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.4.5 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.5.1 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.4.4 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.4.3 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.4.1 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.4.0 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.4.0.beta lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.11 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.10 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.9 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.8 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.7 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.6 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.4 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.3 lib/generators/redmine_extensions/plugin/templates/init.rb.erb
redmine_extensions-0.3.2 lib/generators/redmine_extensions/plugin/templates/init.rb.erb