Sha256: ff12afbb92a4973afbbe453e1c391aa2349ea21f2b97056e43d1fe8da4ccff6f

Contents?: true

Size: 302 Bytes

Versions: 14

Compression:

Stored size: 302 Bytes

Contents

class RackApp
  def self.call(_)
    [200, {}, ["hello rack app"]]
  end

  def self.prerequisites
    super
  end
end

RackApp2 = lambda{|_| [200, {}, ["hello rack app2"]] }

class SinatraApp < Sinatra::Base
  set :public_folder, File.dirname(__FILE__)
  get "/" do
    "hello sinatra app"
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
padrino-core-0.12.9 test/fixtures/apps/rack_apps.rb
padrino-core-0.13.3.4 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.14.0.rc2 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.14.0.rc1 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.3.3 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.3.2 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.3.1 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.3 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.2 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.1 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.1.beta1 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.0 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.0.beta3 test/fixtures/apps/mountable_apps/rack_apps.rb
padrino-core-0.13.0.beta2 test/fixtures/apps/mountable_apps/rack_apps.rb