Sha256: b698b7a51d997567594bb610a96522d4f665cc7cc1161a2ed2778cb008af66be

Contents?: true

Size: 678 Bytes

Versions: 35

Compression:

Stored size: 678 Bytes

Contents

require 'sinatra'
require 'sinatra/contrib'

KEYWORDS = {
    locker:  '$Locker: markd_locker $ ',
    author:  '$Author: markd_author $ ',
    id:      '$Id: https-test.pl 1081 2008-09-30 19:03:23Z john_id1 Exp $ ',
    id2:     '$Id: https-test.pl 1081 2008-09-30 19:03:23Z john_id2 $ ',
    header2: '$Header: /cvsweb/cvs-guide/keyword.html,v 1.3 1999/12/23 21:59:22 markd_header2 $ ',
    header:  '$Header: /cvsweb/cvs-guide/keyword.html,v 1.3 1999/12/23 21:59:22 markd_header Exp $ '
}

KEYWORDS.each do |type, string|
    get "/#{type}" do
        string
    end
end

get '/' do
    KEYWORDS.keys.map do |type|
        "<a href=\"#{type}\">#{type}</a> "
    end.join
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.6.1.2 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.6.1.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.6.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.6.0 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.5.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.5 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.4 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.3.2 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.3.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.3 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.2.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.2 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.0.6 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.0.5 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.0.4 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.0.3 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.0.2 spec/support/servers/checks/passive/grep/cvs_svn_users.rb
arachni-1.0.1 spec/support/servers/checks/passive/grep/cvs_svn_users.rb