<commit_before>require File.join(File.dirname(__FILE__), 'lib', 'enumerable')
require File.join(File.dirname(__FILE__), 'lib', 'recursable')
require File.join(File.dirname(__FILE__), 'lib', 'tree')
require File.join(File.dirname(__FILE__), 'lib', 'nested_set')

if defined?(ActiveRecord::Acts::Tree::InstanceMethods)
  module ActiveRecord::Acts::Tree::InstanceMethods
    include CollectiveIdea::Recursable
    include CollectiveIdea::Recursable::Tree
  end
end

if defined?(ActiveRecord::Acts::NestedSet::InstanceMethods)
  module ActiveRecord::Acts::NestedSet::InstanceMethods
    include CollectiveIdea::Recursable
  end
end

if defined?(SymetrieCom::Acts::NestedSet::InstanceMethods)
  module SymetrieCom::Acts::NestedSet::InstanceMethods
    include CollectiveIdea::Recursable
    include CollectiveIdea::Recursable::NestedSet
  end
end<commit_msg>make new awesome_nested_set plugin recursable<commit_after>require File.join(File.dirname(__FILE__), 'lib', 'enumerable')
require File.join(File.dirname(__FILE__), 'lib', 'recursable')
require File.join(File.dirname(__FILE__), 'lib', 'tree')
require File.join(File.dirname(__FILE__), 'lib', 'nested_set')

if defined?(ActiveRecord::Acts::Tree::InstanceMethods)
  module ActiveRecord::Acts::Tree::InstanceMethods
    include CollectiveIdea::Recursable
    include CollectiveIdea::Recursable::Tree
  end
end

if defined?(ActiveRecord::Acts::NestedSet::InstanceMethods)
  module ActiveRecord::Acts::NestedSet::InstanceMethods
    include CollectiveIdea::Recursable
  end
end

if defined?(SymetrieCom::Acts::NestedSet::InstanceMethods)
  module SymetrieCom::Acts::NestedSet::InstanceMethods
    include CollectiveIdea::Recursable
    include CollectiveIdea::Recursable::NestedSet
  end
end

if defined?(CollectiveIdea::Acts::NestedSet::InstanceMethods)
  module CollectiveIdea::Acts::NestedSet::InstanceMethods
    include CollectiveIdea::Recursable
  end
end
{'fraction_non_alphanumeric': 0.12421383647798742, 'fraction_numerical': 0.0, 'mean_word_length': 8.84020618556701, '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': '838185', 'n_tokens_mistral': 604, 'n_tokens_neox': 593, 'n_words': 99}