Sha256: 4ff810ac363a0e6074823a2a2d6f48078cd372b520744678a34ecd87e300e04a

Contents?: true

Size: 647 Bytes

Versions: 3

Compression:

Stored size: 647 Bytes

Contents

# frozen_string_literal: true

require 'open3'
require 'critical_css_generator/config'
require 'critical_css_generator/actions'
require 'critical_css_generator/actions/helpers'
require 'critical_css_generator/extractor'
require 'critical_css_generator/jobs/extractor'
require 'critical_css_generator/actions/after_render'
require 'critical_css_generator/actions/before_render'
require 'critical_css_generator/helpers'

module CriticalCssGenerator
  def self.config
    yield CriticalCssGenerator::Config
  end
end

ActionController::Base.send(:include, CriticalCssGenerator::Actions)
ActionView::Base.send(:include, CriticalCssGenerator::Helpers)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_critical_css-0.2.0 lib/critical_css_generator/critical_css_generator.rb
rails_critical_css-0.1.1 lib/critical_css_generator/critical_css_generator.rb
rails_critical_css-0.1.0 lib/critical_css_generator.rb