<commit_before>module Capistrano
  module UnicornNginxOsx
    module Generators
      class ConfigGenerator < Rails::Generators::Base
        desc "Create local nginx and unicorn configuration files for customization"
        source_root File.expand_path('../templates', __FILE__)
        argument :templates_path, type: :string,
          default: "config/deploy/templates",
          banner: "path to templates"

        def copy_template
          copy_file "nginx_conf.erb", "#{templates_path}/nginx_conf.erb"
          copy_file "unicorn.rb.erb", "#{templates_path}/unicorn.rb.erb"
          copy_file "unicorn.plist.erb", "#{templates_path}/unicorn.plist.erb"
        end
      end<commit_msg>added unicorn_control.sh script to templates<commit_after>module Capistrano
  module UnicornNginxOsx
    module Generators
      class ConfigGenerator < Rails::Generators::Base
        desc "Create local nginx and unicorn configuration files for customization"
        source_root File.expand_path('../templates', __FILE__)
        argument :templates_path, type: :string,
          default: "config/deploy/templates",
          banner: "path to templates"

        def copy_template
          copy_file "nginx_conf.erb", "#{templates_path}/nginx_conf.erb"
          copy_file "unicorn.rb.erb", "#{templates_path}/unicorn.rb.erb"
          copy_file "unicorn.plist.erb", "#{templates_path}/unicorn.plist.erb"
          copy_file "unicorn_control.sh.erb", "#{templates_path}/unicorn_control.sh.erb"
        end
      end
{'fraction_non_alphanumeric': 0.10144927536231885, 'fraction_numerical': 0.0, 'mean_word_length': 3.1054054054054054, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4229351', 'n_tokens_mistral': 465, 'n_tokens_neox': 445, 'n_words': 96}