Sha256: 390bfc7a81db3ac158c410b1638f76d20a46ee36fa590757bc169c5749de9f7e

Contents?: true

Size: 874 Bytes

Versions: 1

Compression:

Stored size: 874 Bytes

Contents

require "fuel/engine"
require "redcarpet"
require "kaminari"
require "kaminari/helpers/tag"
require "fuel/configuration"
require "friendly_id"
require "jquery-rails"
require "sass-rails"
require "truncate_html"
require "paperclip"
require "bourbon"
require "neat"
require "pickadate-rails"
require "aws-sdk"
require "jquery-fileupload-rails"
require "fuel/aws"
require "github/markup"
require "rouge"
require "rouge/plugins/redcarpet"
require "fuel/html"

module Fuel

  def self.configure(&block)
    block.call(configuration)
    configure_aws
    Rails.application.config.assets.precompile += %w( fuel/wysihtml.css )
  end

  def self.configure_aws
    AWS.config( access_key_id:     configuration.aws_access_key,
                secret_access_key: configuration.aws_secret_access_key )
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fuel-0.4.1 lib/fuel.rb