Sha256: cae551921c902a0d759b2fbe7c5a1a859b1a3bbc339ac1bec28921a675613245
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 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 = 11 STRING = [MAJOR, MINOR, TINY].join('.') CODENAME = "Bat-Shit Crazy".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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thin-1.2.11 | lib/thin/version.rb |
thin-1.2.11-x86-mswin32 | lib/thin/version.rb |
thin-1.2.11-x86-mingw32 | lib/thin/version.rb |