Sha256: be643e82b149e758a84aa8e924d443879b7835920f1d304de00b371ffd9d2522

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

#!/usr/bin/ruby

require "sinatra"

require_relative "../server/server_base.rb"

CERT_DIR = File.dirname(__FILE__)

configure_sinatra

get '/' do
  "I'm the secure api.rubygems server\n"
end

get '/latest_specs.4.8.gz' do
  File.read(File.expand_path("../latest_specs.4.8.gz", __FILE__))
end

get '/quick/Marshal.4.8/rubygems-update-2.5.0.gemspec.rz' do
  File.read(File.expand_path("../rubygems-update-2.5.0.gemspec.rz", __FILE__))
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
httpotemkin-0.0.6 containers/api.rubygems/secure_server.rb
httpotemkin-0.0.5 containers/api.rubygems/secure_server.rb
httpotemkin-0.0.4 containers/api.rubygems/secure_server.rb
httpotemkin-0.0.3 containers/api.rubygems/secure_server.rb
httpotemkin-0.0.2 containers/api.rubygems/secure_server.rb
httpotemkin-0.0.1 containers/api.rubygems/secure_server.rb