Sha256: 95bedd8149d8300db19bd811c3cc80fe26a011f7c0d44ff6e02255d7664efde7

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

require "antispam/version"
require "antispam/engine"
require "antispam/tools"
require "antispam/checker"
require "antispam/blacklists/httpbl"
require "antispam/spamcheckers/defendium"
require "antispam/results"

module Antispam
  ActiveSupport.on_load(:action_controller_base) do
    # Include Antispam::Tools into the application's ApplicationController
    # Use ::ApplicationController to reference the top-level class
    if defined?(::ApplicationController)
      ::ApplicationController.include Antispam::Tools
    else
      Rails.application.config.to_prepare do
        ::ApplicationController.include Antispam::Tools
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antispam-0.2.8 lib/antispam.rb