Skip to content

Commit e742baa

Browse files
committed
Bump major version.
1 parent a64256b commit e742baa

5 files changed

Lines changed: 10 additions & 19 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
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

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ task :install => :build do
1818
sh "gem install thin-*.gem"
1919
end
2020

21-
desc "Release version #{Thin::VERSION::STRING}"
21+
desc "Release version #{Thin::VERSION}"
2222
task :release => [:tag, :push]

lib/thin/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

lib/thin/version.rb

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff 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/

thin.gemspec

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
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:
74
Thin::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"

0 commit comments

Comments
 (0)