Module: Sprockets::Commoner

Defined in:
lib/sprockets/commoner.rb,
lib/sprockets/commoner/bundle.rb,
lib/sprockets/commoner/railtie.rb,
lib/sprockets/commoner/version.rb,
lib/sprockets/commoner/processor.rb,
lib/sprockets/commoner/json_processor.rb

Defined Under Namespace

Classes: Bundle, JSONProcessor, Processor, Railtie

Constant Summary collapse

VERSION =
'0.6.5'

Class Method Summary collapse

Class Method Details

.sprockets4?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/sprockets/commoner.rb', line 8

def self.sprockets4?
  @@sprockets4 ||= Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('4.0.0.beta')
end