Sha256: 430b65c6b24ab9cbcaab6d908fe7e4bd35c16d7b2d72d79666d585cbae0fa8bb
Contents?: true
Size: 662 Bytes
Versions: 2
Compression:
Stored size: 662 Bytes
Contents
module Thin # Raised when a feature is not supported on the # current platform. class PlatformNotSupported < RuntimeError; end module VERSION #:nodoc: MAJOR = 1 MINOR = 2 TINY = 3 STRING = [MAJOR, MINOR, TINY].join('.') CODENAME = "Flaming Astroboy".freeze RACK = [1, 0].freeze # Rack protocol version end NAME = 'thin'.freeze SERVER = "#{NAME} #{VERSION::STRING} codename #{VERSION::CODENAME}".freeze def self.win? RUBY_PLATFORM =~ /mswin|mingw/ end def self.linux? RUBY_PLATFORM =~ /linux/ end def self.ruby_18? RUBY_VERSION =~ /^1\.8/ end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thin-1.2.3-x86-mswin32 | lib/thin/version.rb |
thin-1.2.3 | lib/thin/version.rb |