<commit_before>require 'lib/acts_as_follower'
require 'lib/acts_as_followable'
require 'lib/follow'

ActiveRecord::Base.send(:include, ActiveRecord::Acts::Follower)
ActiveRecord::Base.send(:include, ActiveRecord::Acts::Followable)
<commit_msg>Changed the way components are required to allow them to run in both tests and as a plugin.<commit_after>require File.dirname(__FILE__) + '/lib/acts_as_follower'
require File.dirname(__FILE__) + '/lib/acts_as_followable'
require File.dirname(__FILE__) + '/lib/follow'

ActiveRecord::Base.send(:include, ActiveRecord::Acts::Follower)
ActiveRecord::Base.send(:include, ActiveRecord::Acts::Followable)
{'fraction_non_alphanumeric': 0.1310452418096724, 'fraction_numerical': 0.0, 'mean_word_length': 9.35483870967742, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2777327', 'n_tokens_mistral': 198, 'n_tokens_neox': 193, 'n_words': 40}