Sha256: b4328edf4fb81d9c0b7b052951c6b997ad5b354f0429ed775a27115cd9fc2f68
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 = 4 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.4-x86-mswin32 | lib/thin/version.rb |
thin-1.2.4 | lib/thin/version.rb |