<commit_before>require 'deprec'
require 'capistrano/ext/multistage'
set :stages, %w(staging production)
set :default_stage, "production"

# Settings for server
set :ruby_vm_type,      :ree        # :ree, :mri
set :web_server_type,   :apache     # :apache, :nginx
set :app_server_type,   :passenger  # :passenger, :mongrel
set :db_server_type,    :mysql      # :mysql, :postgresql, :sqlite

# Settings for Git Repository
set :repository,  "<EMAIL>:hookercookerman/cnn-airport-cal.git"
set :scm, "git"
set :git_enable_submodules,1
set :user, "deploy"
set :password, "<PASSWORD>"
set :git_shallow_clone, 1 # We don't need the full history
set :deploy_via, :remote_cache
ssh_options[:forward_agent] = true
default_run_options[:pty] = true

# Some custom tasks
namespace :rake do
  task :show_tasks do
    run("cd #{deploy_to}/current; /usr/local/bin/rake -T RAILS_ENV=#{stage}")
  end
  
  task :install_gems, :roles => :app  do
    run("cd #{deploy_to}/current; /usr/local/bin/rake gems:install RAILS_ENV=#{stage}")
  end
  
  task :rake_amee_import_airports do
    run("cd #{deploy_to}/current; /usr/local/bin/rake amee:import_airports RAILS_ENV=#{stage}")
  end
  
  task :index_sphinx do
    run("cd #{deploy_to}/current; /usr/local/bin/rake thinking_sphinx:index RAILS_ENV=#{stage}")
  end
  <commit_msg>yeah man<commit_after>require 'deprec'
require 'capistrano/ext/multistage'
set :stages, %w(staging production)
set :default_stage, "production"

# Settings for server
set :ruby_vm_type,      :ree        # :ree, :mri
set :web_server_type,   :apache     # :apache, :nginx
set :app_server_type,   :passenger  # :passenger, :mongrel
set :db_server_type,    :mysql      # :mysql, :postgresql, :sqlite

# Settings for Git Repository
set :repository,  "<EMAIL>:hookercookerman/cnn-airport-cal.git"
set :scm, "git"
set :git_enable_submodules,1
set :user, "deploy"
set :password, "<PASSWORD>"
set :git_shallow_clone, 1 # We don't need the full history
set :deploy_via, :remote_cache
ssh_options[:forward_agent] = true
# default_run_options[:pty] = true

# Some custom tasks
namespace :rake do
  task :show_tasks do
    run("cd #{deploy_to}/current; /usr/local/bin/rake -T RAILS_ENV=#{stage}")
  end
  
  task :install_gems, :roles => :app  do
    run("cd #{deploy_to}/current; /usr/local/bin/rake gems:install RAILS_ENV=#{stage}")
  end
  
  task :rake_amee_import_airports do
    run("cd #{deploy_to}/current; /usr/local/bin/rake amee:import_airports RAILS_ENV=#{stage}")
  end
  
  task :index_sphinx do
    run("cd #{deploy_to}/current; /usr/local/bin/rake thinking_sphinx:index RAILS_ENV=#{stage}")
  end
  
{'fraction_non_alphanumeric': 0.13463751438434982, 'fraction_numerical': 0.0015343306482546988, 'mean_word_length': 4.681917211328976, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6670367', 'n_tokens_mistral': 984, 'n_tokens_neox': 971, 'n_words': 227}