module Parcels::Sprockets

Public Class Methods

requires_fix_for_protected_methods_on_directive_processor?() click to toggle source
# File lib/parcels/sprockets.rb, line 12
def self.requires_fix_for_protected_methods_on_directive_processor?
  RUBY_VERSION =~ /^2/ && sprockets_version_components[0] <= 2 && sprockets_version_components[1] < 11
end
sprockets_version_components() click to toggle source
# File lib/parcels/sprockets.rb, line 8
def self.sprockets_version_components
  @sprockets_version_components ||= ::Sprockets::VERSION.split(".").map { |x| x.to_i }
end