Sha256: 191f41ab5d88d48d7e093eb325ceb788a75ddc857fc947203f325620f131b3b3

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

module Bundler
  class Dsl
    def asset(name, *args)
      _url = 'https://rails-assets.org/'
      source _url unless @rubygems_source.remotes.map(&:to_s).include?(_url)

      gem "rails-assets-#{name}", *args
    end

    alias :a :asset
    alias :bower :asset
    alias :css :asset
    alias :js :asset
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-assets-bundler-0.0.1 lib/rails-assets-bundler/bundler/dsl.rb