<commit_before># NOTE: We're overriding with Rails-specific behavior
#       Doing this only for 1.9.3. Otherwise we'd prepend.
module Butterfli::Instagram::Tasks
  def self.configure
    puts "** Loading Rails environment... **"
    Rake::Task["environment"].invoke
    Butterfli.configuration
  end
end

# TODO: When we drop support for Ruby 1.9.3
#       and go 2.0+, prepend this module instead
# module Butterfli::Instagram::Rails::Tasks
#   def self.prepended(base)
#     class << base
#       prepend ClassMethods
#     end
#   end
# end
# 
# Butterfli::Instagram::Tasks.prepend(Butterfli::Instagram::Rails::Tasks)<commit_msg>Added: butterfli-rails rake task module<commit_after># NOTE: We're overriding with Rails-specific behavior
#       Doing this only for 1.9.3. Otherwise we'd prepend.
module Butterfli::Instagram::Tasks
  include Butterfli::Rails::Tasks

  engine Butterfli::Instagram::Rails::Engine
  controller :geography, "Butterfli::Instagram::Rails::Subscription::GeographyController"

  # NOTE: Must be forcefully overidden to use the Rails module...
  def self.configure; super; end
  def self.url_for(host, options = {}); super; end
end

# TODO: When we drop support for Ruby 1.9.3
#       and go 2.0+, prepend this module instead
# module Butterfli::Instagram::Rails::Tasks
#   def self.prepended(base)
#     class << base
#       prepend ClassMethods
#     end
#   end
# end
# 
# Butterfli::Instagram::Tasks.prepend(Butterfli::Instagram::Rails::Tasks)
{'fraction_non_alphanumeric': 0.11864406779661017, 'fraction_numerical': 0.010847457627118645, 'mean_word_length': 4.178947368421053, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7305344', 'n_tokens_mistral': 488, 'n_tokens_neox': 463, 'n_words': 128}