<commit_before>class MagicBeans::InstallGenerator < Rails::Generators::Base
	source_root File.expand_path('../../../../', __FILE__)

	def copy_assets
		directory "app/assets/javascripts", Rails.root.join("app", "assets", "javascripts")
		directory "app/assets/stylesheets", Rails.root.join("app", "assets", "stylesheets")
		directory "app/assets/images/icon", Rails.root.join("app", "assets", "images", "icon")
	end

	def copy_config
		copy_file "lib/generators/magic_beans/templates/config/initializers/magic_beans.rb", Rails.root.join("config", "initializers", "magic_beans.rb")
		copy_file "lib/generators/magic_beans/templates/config/locales/blacklist.txt", Rails.root.join("config", "locales", "blacklist.txt")
	end

	def copy_controllers
		copy_file "app/controllers/magic_beans_controller.rb", Rails.root.join("app", "controllers", "magic_beans_controller.rb")
	end

	def copy_views
		directory "app/views/layouts/magic_beans", Rails.root.join("app", "views", "layouts", "magic_beans")
		copy_file "app/views/magic_beans/index.html.erb", Rails.root.join("app", "views", "magic_beans", "index.html.erb")
	end

	def copy_models
		copy_file "app/models/magic_beans/bean.rb", Rails.root.join("app", "models", "magic_beans", "bean.rb")
		copy_file "app/uploaders/magic_beans/attachment_uploader.rb", Rails.root.join("app", "uploaders", "magic_beans", "attachment_uploader.rb")
		copy_file "app/uploaders/magic_beans/avatar_uploader.rb", Rails.root.join("app", "uploaders", "magic_beans", "avatar_uploader.rb")
	end
end<commit_msg>Fixing file paths in installer<commit_after>class MagicBeans::InstallGenerator < Rails::Generators::Base
	source_root File.expand_path('../../../../', __FILE__)

	def copy_assets
		directory "app/assets/javascripts", Rails.root.join("app", "assets", "javascripts")
		directory "app/assets/stylesheets", Rails.root.join("app", "assets", "stylesheets")
		directory "app/assets/images/icon", Rails.root.join("app", "assets", "images", "icon")
	end

	def copy_config
		copy_file "lib/generators/magic_beans/templates/config/initializers/magic_beans.rb", Rails.root.join("config", "initializers", "magic_beans.rb")
		copy_file "lib/generators/magic_beans/templates/config/locales/blacklist.txt", Rails.root.join("config", "locales", "blacklist.txt")
	end

	def copy_controllers
		copy_file "app/controllers/magic_beans/beans_controller.rb", Rails.root.join("app", "controllers", "magic_beans", "beans_controller.rb")
	end

	def copy_views
		directory "app/views/layouts/magic_beans", Rails.root.join("app", "views", "layouts", "magic_beans")
		copy_file "app/views/magic_beans/beans/index.html.erb", Rails.root.join("app", "views", "magic_beans", "beans", "index.html.erb")
	end

	def copy_models
		copy_file "app/models/magic_beans/bean.rb", Rails.root.join("app", "models", "magic_beans", "bean.rb")
		copy_file "app/uploaders/magic_beans/attachment_uploader.rb", Rails.root.join("app", "uploaders", "magic_beans", "attachment_uploader.rb")
		copy_file "app/uploaders/magic_beans/avatar_uploader.rb", Rails.root.join("app", "uploaders", "magic_beans", "avatar_uploader.rb")
	end
end
{'fraction_non_alphanumeric': 0.171648987463838, 'fraction_numerical': 0.0, 'mean_word_length': 6.3223529411764705, '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': '1781951', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1045, 'n_words': 171}