Sha256: 2b295d96f42a522bbe23c6b8d6a926edf567bcd5d7c4dbcd169e06be7b6c9a36

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

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

  register Sinatra::Bundles

  stylesheet_bundle(:test, %w(test1 test2))
  javascript_bundle(:test, %w(eval test1 test2))
  javascript_bundle(:test2, %w(test*))
  javascript_bundle(:all)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sinatra-bundles-0.5.3 spec/app.rb
sinatra-bundles-0.5.2 spec/app.rb
sinatra-bundles-0.5.1 spec/app.rb
sinatra-bundles-0.5.0 spec/app.rb
sinatra-bundles-0.4.0 spec/app.rb
sinatra-bundles-0.3.0 spec/app.rb
sinatra-bundles-0.2.0 spec/app.rb