Sha256: 39bdc3a0355557bf7f979d45d6870eba1775eaab7d790582aaf7d53f588a08bb

Contents?: true

Size: 639 Bytes

Versions: 7

Compression:

Stored size: 639 Bytes

Contents

# Loading engine only if this is not a standalone installation
unless defined? SofaGallery::Application
  require File.expand_path('sofa_gallery/engine', File.dirname(__FILE__))
end

require File.expand_path('sofa_gallery/configuration', File.dirname(__FILE__))
require File.expand_path('sofa_gallery/form_builder', File.dirname(__FILE__))
require File.expand_path('paperclip_processors/cropper', File.dirname(__FILE__))

module SofaGallery
  class << self
    
    def configure
      yield configuration
    end
    
    def configuration
      @configuration ||= Configuration.new
    end
    alias :config :configuration
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sofa_gallery-0.0.6 lib/sofa_gallery.rb
sofa_gallery-0.0.5 lib/sofa_gallery.rb
sofa_gallery-0.0.4 lib/sofa_gallery.rb
sofa_gallery-0.0.3 lib/sofa_gallery.rb
sofa_gallery-0.0.2 lib/sofa_gallery.rb
sofa_gallery-0.0.1 lib/sofa_gallery.rb
sofa_gallery-0.0.0 lib/sofa_gallery.rb