File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ == 2.0.0
2+ * Partial Rack 3 support. Full bi-directional streaming is not supported due to limitations in the implementation.
3+
14== 1.8.2 Ruby Razor
25 * Ruby 3.2 support.
36
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ task :install => :build do
1818 sh "gem install thin-*.gem"
1919end
2020
21- desc "Release version #{ Thin ::VERSION :: STRING } "
21+ desc "Release version #{ Thin ::VERSION } "
2222task :release => [ :tag , :push ]
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def self.start(*args, &block)
152152 def start
153153 raise ArgumentError , 'app required' unless @app
154154
155- log_info "Thin web server (v#{ VERSION :: STRING } codename #{ VERSION :: CODENAME } )"
155+ log_info "Thin web server (v#{ VERSION } codename #{ CODENAME } )"
156156 log_debug "Debugging ON"
157157 trace "Tracing ON"
158158
Original file line number Diff line number Diff line change @@ -3,20 +3,11 @@ module Thin
33 # current platform.
44 class PlatformNotSupported < RuntimeError ; end
55
6- module VERSION #:nodoc:
7- MAJOR = 1
8- MINOR = 8
9- TINY = 2
10-
11- STRING = [ MAJOR , MINOR , TINY ] . join ( '.' )
12-
13- CODENAME = "Ruby Razor" . freeze
14-
15- RACK = [ 1 , 0 ] . freeze # Rack protocol version
16- end
6+ VERSION = "2.0.0"
7+ CODENAME = "Thinception" . freeze
178
189 NAME = 'thin' . freeze
19- SERVER = "#{ NAME } #{ VERSION :: STRING } codename #{ VERSION :: CODENAME } " . freeze
10+ SERVER = "#{ NAME } #{ VERSION } codename #{ CODENAME } " . freeze
2011
2112 def self . win?
2213 RUBY_PLATFORM =~ /mswin|mingw/
Original file line number Diff line number Diff line change 1- $:. push File . expand_path ( "../lib" , __FILE__ )
2-
3- # Maintain your gem's version:
4- require "thin/version"
1+ require_relative "lib/thin/version"
52
63# Describe your gem and declare its dependencies:
74Thin ::GemSpec ||= Gem ::Specification . new do |s |
85 s . name = Thin ::NAME
9- s . version = Thin ::VERSION :: STRING
6+ s . version = Thin ::VERSION
107 s . platform = Thin . win? ? Gem ::Platform ::CURRENT : Gem ::Platform ::RUBY
118 s . summary = "A thin and fast web server"
129 s . author = "Marc-Andre Cournoyer"
You can’t perform that action at this time.
0 commit comments