Sha256: 83fc0d45114511c91d26dd1abdd9a8e54abb01908518b69ff6aa1447cfb8e314

Contents?: true

Size: 901 Bytes

Versions: 7

Compression:

Stored size: 901 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 "sass_rails_patch"
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

7 entries across 7 versions & 1 rubygems

Version Path
fuel-0.4.8 lib/fuel.rb
fuel-0.4.7 lib/fuel.rb
fuel-0.4.6 lib/fuel.rb
fuel-0.4.5 lib/fuel.rb
fuel-0.4.4 lib/fuel.rb
fuel-0.4.3 lib/fuel.rb
fuel-0.4.2 lib/fuel.rb