<commit_before>set :application, "urlagg"
set :repository, "<EMAIL>:jschoolcraft/URLAgg.git"
set :user, "jeff"
set :use_sudo, true
set :deploy_via, :fast_remote_cache
 
set :keep_releases, 6

set :config_files, %w(database.yml newrelic.yml initializers/hoptoad.rb)
namespace :deploy do
  desc 'symlink config files'
  task :link_config, :roles => :app do
    unless config_files.empty?
      config_files.each do |file|
        run "ln -nsf #{File.join(shared_path, file)} #{File.join(current_path, "/config/#{file}")}"
      end
    end
  end
end

after "deploy:update", "deploy:cleanup"
after "deploy:update", "deploy:link_config"

namespace :sass do
  desc 'Updates the stylesheets generated by Sass'
  task :update, :roles => :app do
    invoke_command "cd #{latest_release}; RAILS_ENV=#{rails_env} rake sass:update"
  end

  # Generate all the stylesheets manually (from their Sass templates) before each restart.
  before 'deploy:restart', 'sass:update'
end<commit_msg>Don't rename your repo, it's really not worth it.<commit_after>set :application, "urlagg"
set :repository, "<EMAIL>:jschoolcraft/urlagg.git"
set :user, "jeff"
set :use_sudo, true
set :deploy_via, :fast_remote_cache
 
set :keep_releases, 6

set :config_files, %w(database.yml newrelic.yml initializers/hoptoad.rb)
namespace :deploy do
  desc 'symlink config files'
  task :link_config, :roles => :app do
    unless config_files.empty?
      config_files.each do |file|
        run "ln -nsf #{File.join(shared_path, file)} #{File.join(current_path, "/config/#{file}")}"
      end
    end
  end
end

after "deploy:update", "deploy:cleanup"
after "deploy:update", "deploy:link_config"

namespace :sass do
  desc 'Updates the stylesheets generated by Sass'
  task :update, :roles => :app do
    invoke_command "cd #{latest_release}; RAILS_ENV=#{rails_env} rake sass:update"
  end

  # Generate all the stylesheets manually (from their Sass templates) before each restart.
  before 'deploy:restart', 'sass:update'
end
{'fraction_non_alphanumeric': 0.12185297079556898, 'fraction_numerical': 0.0010070493454179255, 'mean_word_length': 4.844117647058823, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3343696', 'n_tokens_mistral': 706, 'n_tokens_neox': 668, 'n_words': 197}