Sha256: c35dbdd7c4019a39e72fcbb260a3931f9793af5581523498b3e33a11b560ddc5

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

require "the_audit/version"

module TheAudit
  def self.is_bot? user_agent
    !!user_agent.to_s.match(/bot|riddler|crawler|spider|slurp|fetcher/mix)
  end

  class Engine < Rails::Engine; end
  # initializer "Assets precompile hook", :group => :all do |app|
  #   app.config.assets.precompile += %w( file.js file.css )
  # end
end

_root_ = File.expand_path('../../', __FILE__)

# Loading of concerns
require "#{_root_}/app/controllers/concerns/controller.rb"
require "#{_root_}/config/routes.rb"

%w[ base ].each do |concern|
  require "#{_root_}/app/models/concerns/#{concern}.rb"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
the_audit-0.0.2 lib/the_audit.rb