<commit_before>require 'rubygems'
require 'bundler'
Bundler.setup(:default, :ci)
require 'thor'
require 'highline/import'
require 'mechanize'
require 'awesome_print'

class Webistrano < Thor

  desc "deploy [project stage task]", "deploy project via webistrano"
  def deploy project, stage = 'staging', task = 'deploy:migrations'
    @settings = {
      :host     => 'http://webistrano.monterail.com',
      :login    => ENV['WEBISTRANO_LOGIN'],
      :password => ENV['<PASSWORD>']
    }

    @settings[:login] = ask("webistrano user: ") do |q|<commit_msg>bundler setup can't be inside thor file<commit_after>require 'rubygems'
require 'thor'
require 'highline/import'
require 'mechanize'
require 'awesome_print'

class Webistrano < Thor

  desc "deploy [project stage task]", "deploy project via webistrano"
  def deploy project, stage = 'staging', task = 'deploy:migrations'
    @settings = {
      :host     => 'http://webistrano.monterail.com',
      :login    => ENV['WEBISTRANO_LOGIN'],
      :password => ENV['<PASSWORD>']
    }

    @settings[:login] = ask("webistrano user: ") do |q|
{'fraction_non_alphanumeric': 0.1454711802378774, 'fraction_numerical': 0.0, 'mean_word_length': 4.160377358490566, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4463426', 'n_tokens_mistral': 375, 'n_tokens_neox': 361, 'n_words': 91}