Sha256: 7109dd76b3a18292a8016df4ba8c49d5e005955daa4933e3ce00483ed10038ee

Contents?: true

Size: 251 Bytes

Versions: 36

Compression:

Stored size: 251 Bytes

Contents

class BasicMetal
  def self.call(env)
    if env["PATH_INFO"] =~ /^\/basic-metal/
      [200, {"Content-Type" => 'text/html'}, ['Overriding 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/overriding/app/metal/basic_metal.rb
radiant-1.1.3 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.1.2 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.1.1 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.1.0 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.1.0.rc1 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.1.0.beta test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.1 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.1.0.alpha test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.0 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.0.rc5 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.0.rc4 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.0.rc3 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
kajam-1.0.3.rc2 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.0.rc2 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-1.0.0.rc1 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiant-rails3-0.1 test/fixtures/extensions/overriding/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.2.4 test/fixtures/extensions/02_overriding/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.2.2 test/fixtures/extensions/02_overriding/app/metal/basic_metal.rb
radiantcms-couchrest_model-0.2.1 test/fixtures/extensions/02_overriding/app/metal/basic_metal.rb