Sha256: a98d4addc7d3716877a19dbaa117bb51e142408464d833e4c88693d2e63fb016

Contents?: true

Size: 964 Bytes

Versions: 2

Compression:

Stored size: 964 Bytes

Contents

require 'active_support'

module ActiveAssets
  module ActiveSprites
    autoload :SpritePiece, 'active_assets/active_sprites/sprite_piece'
    autoload :Sprite, 'active_assets/active_sprites/sprite'
    autoload :Sprites, 'active_assets/active_sprites/sprites'
    autoload :Configurable, 'active_assets/active_sprites/configurable'
    autoload :SpriteStylesheet, 'active_assets/active_sprites/sprite_stylesheet'
    autoload :AbstractRunner, 'active_assets/active_sprites/runners/abstract_runner'
    autoload :RmagickRunner, 'active_assets/active_sprites/runners/rmagick_runner'
    autoload :MiniMagickRunner, 'active_assets/active_sprites/runners/mini_magick_runner'
    autoload :ChunkyPngRunner, 'active_assets/active_sprites/runners/chunky_png_runner'

    def self.define_tasks
      desc "Generate sprites."
      task :sprites => :environment do
        ENV['VERBOSE'] ||= 'true'
        Rails.application.sprites.generate!
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_assets-0.3.1 lib/active_assets/active_sprites.rb
active_assets-0.3.0 lib/active_assets/active_sprites.rb