Sha256: 3200643f4422d67e80cb367127c12a6f61c317678ed6c42c8a412884057be67f

Contents?: true

Size: 367 Bytes

Versions: 5

Compression:

Stored size: 367 Bytes

Contents

class ExtensionApp < Sinatra::Base
  configure do
    set(:environment, :test)
    set(:root, File.dirname(__FILE__))
  end

  register Sinatra::Bundles

  stylesheet_bundle(:test, %w(test)).root = File.join(File.dirname(__FILE__), 'other_public', 'css')
  javascript_bundle(:test, %w(test)).root = File.join(File.dirname(__FILE__), 'other_public', 'javascripts')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinatra-bundles-0.5.3 spec/extension_app.rb
sinatra-bundles-0.5.2 spec/extension_app.rb
sinatra-bundles-0.5.1 spec/extension_app.rb
sinatra-bundles-0.5.0 spec/extension_app.rb
sinatra-bundles-0.4.0 spec/extension_app.rb