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
radiantcms-couchrest_model-0.2 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.9 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.8 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.7 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.6 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.5 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.4 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.3 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.2 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1.1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-0.9.1 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-0.8.2 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiant-0.9.0.rc2 test/fixtures/extensions/basic/app/metal/basic_metal.rb
radiant-rc-0.9.0 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb
radiant-0.8.1 test/fixtures/extensions/01_basic/app/metal/basic_metal.rb