<commit_before>require_dependency 'layout_base_hook'

Redmine::Plugin.register :spd_proveedores do
  name 'Spd Proveedores plugin'
  author 'Author name'
  description 'This is a plugin for Redmine'
  version '0.0.1'
  url 'http://example.com/path/to/plugin'
  author_url 'http://example.com/about'

  #permission :spd_proveedores,  { :project_providers => :index }, public: true
  menu :project_menu, :providers, { :controller => 'project_providers', :action => 'index' }, caption: 'Proveedores', param: :project_id

  menu :admin_menu, :providers, { :controller => 'providers', :action => 'index' }, caption: 'Proveedores' 

  project_module :proveedores do 
    permission :list_providers, { :project_providers => :index }, public: true
    permission :edit_required_services, { :project_providers => :index }
  end
end<commit_msg>Se añade información del init<commit_after># encoding: UTF-8
require_dependency 'layout_base_hook'

Redmine::Plugin.register :spd_proveedores do
  name 'Spd Proveedores plugin'
  author '<NAME>'
  description 'Gestión de proveedores para la plataforma SPD'
  version '0.1.0'
  url 'https://github.com/maxidr/spd_proveedores'
  author_url 'https://coderwall.com/maxidr'

  #permission :spd_proveedores,  { :project_providers => :index }, public: true
  menu :project_menu, :providers, { :controller => 'project_providers', :action => 'index' }, caption: 'Proveedores', param: :project_id

  menu :admin_menu, :providers, { :controller => 'providers', :action => 'index' }, caption: 'Proveedores' 

  project_module :proveedores do 
    permission :list_providers, { :project_providers => :index }, public: true
    permission :edit_required_services, { :project_providers => :index }
  end
end
{'fraction_non_alphanumeric': 0.12977983777520277, 'fraction_numerical': 0.004055619930475087, 'mean_word_length': 5.349264705882353, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 18, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3880096', 'n_tokens_mistral': 586, 'n_tokens_neox': 560, 'n_words': 138}