<commit_before>namespace :typus do

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

  desc "Install simplified_translation plugin."
  task :i18n do
    plugins = [ "git://github.com/fesplugas/simplified_translation.git" ]
    system "script/plugin install #{plugins.join(' ')}"
  end

  desc "Intall ssl_requirement plugin."
  task :ssl do
    plugins = [ "git://github.com/rails/ssl_requirement.git" ]
    system "script/plugin install #{plugins.join(' ')}"
  end

  desc "List current roles"
  task :roles => :environment do
    Typus::Configuration.roles.each do |role|
      puts "\n#{role.first.capitalize} has access to:"
      role.last.each { |key, value| puts "- #{key}: #{value}" }
    end
    puts "\n"
  end<commit_msg>Single quotes is the new default when there's no interpolation.<commit_after>namespace :typus do

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

  desc 'Install simplified_translation plugin.'
  task :i18n do
    plugins = [ 'git://github.com/fesplugas/simplified_translation.git' ]
    system "script/plugin install #{plugins.join(' ')}"
  end

  desc 'Intall ssl_requirement plugin.'
  task :ssl do
    plugins = [ 'git://github.com/rails/ssl_requirement.git' ]
    system "script/plugin install #{plugins.join(' ')}"
  end

  desc 'List current roles'
  task :roles => :environment do
    Typus::Configuration.roles.each do |role|
      puts "\n#{role.first.capitalize} has access to:"
      role.last.each { |key, value| puts "- #{key}: #{value}" }
    end
    puts "\n"
  end
{'fraction_non_alphanumeric': 0.1442400774443369, 'fraction_numerical': 0.001936108422071636, 'mean_word_length': 3.093069306930693, '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': '775247', 'n_tokens_mistral': 701, 'n_tokens_neox': 674, 'n_words': 156}