Sha256: da3f52d1f17ac962f492102d50e8232ce5ac1f7cbcaed5de6cb8ff8303008a39

Contents?: true

Size: 664 Bytes

Versions: 51

Compression:

Stored size: 664 Bytes

Contents

require "rake"
require "rake/tasklib"
require "autoprefixer-rails"

module Rake
  # Define task to inspect Autoprefixer browsers, properties and values.
  # Call it from your `Rakefile`:
  #
  #   AutoprefixerTasks.new(['> 1%', 'opera 12'])
  class AutoprefixerTasks < Rake::TaskLib
    attr_reader :browsers

    def initialize(params = {})
      @params    = params
      @processor = AutoprefixerRails.processor(@params)
      define
    end

    def define
      namespace :autoprefixer do
        desc "Show selected browsers and prefixed CSS properties and values"
        task :info do
          puts @processor.info
        end
      end
    end
  end
end

Version data entries

51 entries across 36 versions & 2 rubygems

Version Path
autoprefixer-rails-9.8.6 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.8.5 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.8.4 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.8.3 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.8.2 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.8.1 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.7.6 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.7.5 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.7.4 lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.3/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.4/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.5/lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.7.3 lib/rake/autoprefixer_tasks.rb
autoprefixer-rails-9.7.2 lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/lib/rake/autoprefixer_tasks.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.4/lib/rake/autoprefixer_tasks.rb