about summary refs log tree commit homepage
path: root/lib/yahns/tcp_server.rb
DateCommit message (Collapse)
2016-01-02copyright updates for 2016
Using the 'update-copyright' script from gnulib[1]: git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \ UPDATE_COPYRIGHT_USE_INTERVALS=2 \ xargs /path/to/gnulib/build-aux/update-copyright We're also switching to 'GPL-3.0+' as recommended by SPDX to be consistent with our gemspec and other metadata (as opposed to the longer but equivalent "GPLv3 or later"). [1] git://git.savannah.gnu.org/gnulib.git
2016-01-02enable frozen_string_literal for Ruby 2.3+
There are likely yet-to-be-discovered bugs in here. Also, keeping explicit #freeze calls for 2.2 users, since most users have not migrated to 2.3, yet.
2015-10-13copyright updates
Future updates may use the update-copyright script in gnulib: git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \ UPDATE_COPYRIGHT_USE_INTERVALS=2 \ xargs /path/to/gnulib/build-aux/update-copyright
2013-10-28doc: ignore RDoc for all internal classes
We will have no public API outside the config file. Since this is a *nix-only (and possibly Linux-only, even), manpages are language-agnostic and easier for users (sysadmins) who may not be familiar with Ruby/RDoc. All *nix-based Rubyists I've encountered are familiar with manpages, already. We won't have to worry about users being confused by our docs strewn across frames/CSS/JS-ridden sites like rdoc.info, either :)
2013-10-26server: avoid metaclass for acceptors
This should make things a little easier-to-follow and possibly improve method cache hit rates for servers with multiple acceptors.