<commit_before>Redmine::Plugin.register :redmine_leaves do
  name 'Redmine Leaves Plugin'
  author 'Arkhitech'
  description 'This is a plugin for user check-in/check-out'
  version '0.0.1'
  
  menu :top_menu, :time_check_in, { controller: 'user_time_checks', action: 'check_in' }, 
    caption: 'CHECK-IN', if: Proc.new {!UserTimeCheck.checked_in?(User.current.id)}, last: true
  menu :top_menu, :time_check_out, { controller: 'user_time_checks', action: 'check_out' }, 
    caption: 'CHECK-OUT', if: Proc.new {UserTimeCheck.checked_in?(User.current.id)}, last: true
  
  menu :top_menu, :user_leave_reports, { controller: 'user_leave_reports', action: 'index' }, caption: 'Leave Report'
  
  settings default: {'empty' => true}, partial: 'settings'
end<commit_msg>added plugin url settings<commit_after>Redmine::Plugin.register :redmine_leaves do
  name 'Redmine Leaves Plugin'
  author 'Arkhitech'
  description 'This is a plugin for user check-in/check-out'
  url 'http://github.com/arkhitech/redmine_leaves'
  author_url 'https://github.com/arkhitech'
  version '0.0.1'
  
  menu :top_menu, :time_check_in, { controller: 'user_time_checks', action: 'check_in' }, 
    caption: 'CHECK-IN', if: Proc.new {!UserTimeCheck.checked_in?(User.current.id)}, last: true
  menu :top_menu, :time_check_out, { controller: 'user_time_checks', action: 'check_out' }, 
    caption: 'CHECK-OUT', if: Proc.new {UserTimeCheck.checked_in?(User.current.id)}, last: true
  
  menu :top_menu, :user_leave_reports, { controller: 'user_leave_reports', action: 'index' }, caption: 'Leave Report'
  
  settings default: {'empty' => true}, partial: 'settings'
end
{'fraction_non_alphanumeric': 0.14442413162705667, 'fraction_numerical': 0.003656307129798903, 'mean_word_length': 5.243346007604563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '2151377', 'n_tokens_mistral': 586, 'n_tokens_neox': 565, 'n_words': 134}