<commit_before>namespace :typus do

  desc 'Install acts_as_list, acts_as_tree and paperclip.'
  task :misc do
    plugins = [ 'git://github.com/thoughtbot/paperclip.git', 
                'git://github.com/rails/acts_as_list.git', 
                'git://github.com/rails/acts_as_tree.git' ]
    system "script/plugin install #{plugins.join(' ')} --force"
  end

  desc 'List current roles.'
  task :roles => :environment do
    Typus::Configuration.roles.each do |role|
      puts "\n#{role.first.capitalize} role has access to:"
      role.last.each { |key, value| puts "- #{key}: #{value}" }
    end
    puts "\n"
  end

  desc 'Install ssl_requirement.'
  task :ssl do
    system "script/plugin install git://github.com/rails/ssl_requirement.git --force"
  end

  desc 'Install tiny_mce.'
  task :tiny_mce do
    system "script/plugin install git://github.com/kete/tiny_mce.git --force"
    load File.join Rails.root, 'vendor', 'plugins', 'tiny_mce', 'tasks', 'tiny_mce.rake'
    Rake::Task["tiny_mce:install"].invoke
  end

end<commit_msg>Sorted tasks.<commit_after>namespace :typus do

  desc 'Install acts_as_list, acts_as_tree and paperclip.'
  task :misc do
    plugins = [ 'git://github.com/thoughtbot/paperclip.git', 
                'git://github.com/rails/acts_as_list.git', 
                'git://github.com/rails/acts_as_tree.git' ]
    system "script/plugin install #{plugins.join(' ')} --force"
  end

  desc 'Install ssl_requirement.'
  task :ssl do
    system "script/plugin install git://github.com/rails/ssl_requirement.git --force"
  end

  desc 'Install tiny_mce.'
  task :tiny_mce do
    system "script/plugin install git://github.com/kete/tiny_mce.git --force"
    load File.join Rails.root, 'vendor', 'plugins', 'tiny_mce', 'tasks', 'tiny_mce.rake'
    Rake::Task["tiny_mce:install"].invoke
  end

  desc 'List current roles.'
  task :roles => :environment do
    Typus::Configuration.roles.each do |role|
      puts "\n#{role.first.capitalize} role has access to:"
      role.last.each { |key, value| puts "- #{key}: #{value}" }
    end
    puts "\n"
  end

end
{'fraction_non_alphanumeric': 0.14784688995215312, 'fraction_numerical': 0.0, 'mean_word_length': 3.0289017341040463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '884543', 'n_tokens_mistral': 729, 'n_tokens_neox': 704, 'n_words': 166}