Sha256: 41ef31336b6992b9fa522a86b1d529c3b10f248f94c456e20b5d78ef3a407175

Contents?: true

Size: 780 Bytes

Versions: 8

Compression:

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

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

8 entries across 8 versions & 1 rubygems

Version Path
fuel-0.3.34 lib/fuel.rb
fuel-0.3.33 lib/fuel.rb
fuel-0.3.32 lib/fuel.rb
fuel-0.3.31 lib/fuel.rb
fuel-0.3.30 lib/fuel.rb
fuel-0.3.29 lib/fuel.rb
fuel-0.3.28 lib/fuel.rb
fuel-0.3.27 lib/fuel.rb