Sha256: cf6161987fb3042b690cb5256425b15d15b5e25072e60ac4cfd745d25fe55886

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

require "middleman-core"
require "middleman-more"

module Rails
  def self.env 
    Class.new do
      def test?
        false
      end
    end.new
  end

  class Engine
  end
end unless defined? Rails

Middleman::Extensions.register(:sprockets) do
  require "middleman-sprockets/extension"
  Middleman::Sprockets
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-sprockets-3.0.9 lib/middleman-sprockets.rb
middleman-sprockets-3.0.8 lib/middleman-sprockets.rb