<commit_before>require 'securerandom'

module Bower
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      desc "Creates a Devise initializer and copy locale files to your application."

      def create_components_directory
        empty_directory 'components/javascripts'
      end

      def copy_component_json
        copy_file 'component.json', 'components/javascripts/component.json'<commit_msg>properly describe generator tasks<commit_after>require 'securerandom'

module Bower
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      desc "Creates a local configuration file and the default JSON file for Bower to use in your application."

      def create_components_directory
        empty_directory 'components/javascripts'
      end

      def copy_component_json
        copy_file 'component.json', 'components/javascripts/component.json'
{'fraction_non_alphanumeric': 0.07191448007774538, 'fraction_numerical': 0.0, 'mean_word_length': 3.7685185185185186, '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': '4216872', 'n_tokens_mistral': 265, 'n_tokens_neox': 253, 'n_words': 76}