Sha256: 757ff3dfd42b037a8e17a806fcc7c2ae24de8e7d41af64ef9dcba96ef1c2992e

Contents?: true

Size: 671 Bytes

Versions: 4

Compression:

Stored size: 671 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
require 'action_controller'
require 'exposure/options'
require 'exposure/configuration'
require 'exposure/behaviors/building'
require 'exposure/behaviors/callbacks'
require 'exposure/behaviors/finding'
require 'exposure/behaviors/flashing'
require 'exposure/behaviors/responding'

require 'exposure/patterns/resources'

module Exposure
  VERSION = File.read(File.join(File.dirname(__FILE__), '../VERSION')).strip!.freeze
  def self.included(base)
    base.extend Configuration
  end
end
ActionController::Base.send :include, Exposure

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exposure-0.1.3 lib/exposure.rb
exposure-0.1.2 lib/exposure.rb
exposure-0.1.1 lib/exposure.rb
exposure-0.1.0 lib/exposure.rb