Sha256: 6d91b45e27e8381f1055ad2cce4a900564961d21095ce8b03c9c551b94aeed32

Contents?: true

Size: 746 Bytes

Versions: 18

Compression:

Stored size: 746 Bytes

Contents

# Third-party requirements
require "acts-as-taggable-on"
require "kaminari"
require "redcarpet"

require "blogit/configuration"
require "blogit/blogs"
require "blogit/engine"
require "blogit/parsers"

require "validators"
module Blogit
  
  autoload :ActsAsTaggableOn, "acts-as-taggable-on"
  autoload :Kaminari, "kaminari"
  
  # Exception raised when gem may not be configured properly
  class ConfigurationError < StandardError;end
  
  # Set global configuration options for Blogit
  # @see README.md
  def self.configure(&block)
    block.call(configuration)
  end
  
  # Returns Blogit's globalconfiguration. Will initialize a new instance
  # if not already set
  def self.configuration
    @configuration ||= Configuration.new
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blogit-0.6.0 lib/blogit.rb
blogit-0.5.1 lib/blogit.rb
blogit-0.5.0 lib/blogit.rb
blogit-0.4.8 lib/blogit.rb
blogit-0.4.7 lib/blogit.rb
blogit-0.4.6 lib/blogit.rb
blogit-0.4.5 lib/blogit.rb
blogit-0.4.4 lib/blogit.rb
blogit-0.4.3 lib/blogit.rb
blogit-0.4.2 lib/blogit.rb
blogit-0.4.1 lib/blogit.rb
blogit-0.4.0 lib/blogit.rb
blogit-0.3.2 lib/blogit.rb
blogit-0.3.1 lib/blogit.rb
blogit-0.3.0 lib/blogit.rb
blogit-0.2.1 lib/blogit.rb
blogit-0.2.0 lib/blogit.rb
blogit-0.1.0 lib/blogit.rb