Sha256: 1f2db01ec609354a1872b156bb26a8f06ceb6be3a12f28cccf53d6197813eb15

Contents?: true

Size: 240 Bytes

Versions: 36

Compression:

Stored size: 240 Bytes

Contents

class BasicMetal
  def self.call(env)
    if env["PATH_INFO"] =~ /^\/basic-metal/
      [200, {"Content-Type" => 'text/html'}, ['Extension with Metal!']]
    else
      [404, {"Content-Type" => "text/html"}, ["Not Found"]]
    end
  end
end

Version data entries

36 entries across 36 versions & 5 rubygems

Version Path
radiant-1.1.4 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.3 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.2 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.0 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.0.rc1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.0.beta test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.1.0.alpha test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.0 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.0.rc5 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.0.rc4 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.0.rc3 test/fixtures/extensions/basic/app/metal/basic_metal.rb
kajam-1.0.3.rc2 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.0.rc2 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-1.0.0.rc1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-rails3-0.1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.2.4 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.2.2 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.2.1 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb