Hello community, here is the log from the commit of package rubygem-puma for openSUSE:Factory checked in at 2019-03-22 15:13:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-puma (Old) and /work/SRC/openSUSE:Factory/.rubygem-puma.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-puma" Fri Mar 22 15:13:05 2019 rev:31 rq:687635 version:3.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-puma/rubygem-puma.changes 2018-07-18 22:55:43.466605825 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-puma.new.25356/rubygem-puma.changes 2019-03-22 15:13:21.413283938 +0100 @@ -1,0 +2,12 @@ +Thu Mar 21 10:30:40 UTC 2019 - manuel <[email protected]> + +- updated to version 3.12.1 + + * 1 features + * Internal strings are frozen (#1649) + * 3 bugfixes + * Fix chunked ending check (#1607) + * Rack handler should use provided default host (#1700) + * Better support for detecting runtimes that support `fork` (#1630) + +------------------------------------------------------------------- Old: ---- puma-3.12.0.gem New: ---- puma-3.12.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-puma.spec ++++++ --- /var/tmp/diff_new_pack.R9xRov/_old 2019-03-22 15:13:22.729283769 +0100 +++ /var/tmp/diff_new_pack.R9xRov/_new 2019-03-22 15:13:22.729283769 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-puma # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-puma -Version: 3.12.0 +Version: 3.12.1 Release: 0 %define mod_name puma %define mod_full_name %{mod_name}-%{version} ++++++ puma-3.12.0.gem -> puma-3.12.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.md new/History.md --- old/History.md 2018-07-13 18:08:52.000000000 +0200 +++ new/History.md 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,18 @@ +## Master + +* x features + +* x bugfixes + +## 3.12.1 / 2019-01-08 + +* 1 features + * Internal strings are frozen (#1649) +* 3 bugfixes + * Fix chunked ending check (#1607) + * Rack handler should use provided default host (#1700) + * Better support for detecting runtimes that support `fork` (#1630) + ## 3.12.0 / 2018-07-13 * 5 features: Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ext/puma_http11/mini_ssl.c new/ext/puma_http11/mini_ssl.c --- old/ext/puma_http11/mini_ssl.c 2018-07-13 18:08:52.000000000 +0200 +++ new/ext/puma_http11/mini_ssl.c 2019-03-19 19:05:53.000000000 +0100 @@ -433,6 +433,18 @@ mod = rb_define_module_under(puma, "MiniSSL"); eng = rb_define_class_under(mod, "Engine", rb_cObject); + // OpenSSL Build / Runtime/Load versions + + /* Version of OpenSSL that Puma was compiled with */ + rb_define_const(mod, "OPENSSL_VERSION", rb_str_new2(OPENSSL_VERSION_TEXT)); + +#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000 + /* Version of OpenSSL that Puma loaded with */ + rb_define_const(mod, "OPENSSL_LIBRARY_VERSION", rb_str_new2(OpenSSL_version(OPENSSL_VERSION))); +#else + rb_define_const(mod, "OPENSSL_LIBRARY_VERSION", rb_str_new2(SSLeay_version(SSLEAY_VERSION))); +#endif + rb_define_singleton_method(mod, "check", noop, 0); eError = rb_define_class_under(mod, "SSLError", rb_eStandardError); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/binder.rb new/lib/puma/binder.rb --- old/lib/puma/binder.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/binder.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'uri' require 'socket' @@ -90,19 +92,19 @@ case uri.scheme when "tcp" if fd = @inherited_fds.delete(str) - logger.log "* Inherited #{str}" io = inherit_tcp_listener uri.host, uri.port, fd + logger.log "* Inherited #{str}" elsif sock = @activated_sockets.delete([ :tcp, uri.host, uri.port ]) - logger.log "* Activated #{str}" io = inherit_tcp_listener uri.host, uri.port, sock + logger.log "* Activated #{str}" else params = Util.parse_query uri.query opt = params.key?('low_latency') bak = params.fetch('backlog', 1024).to_i - logger.log "* Listening on #{str}" io = add_tcp_listener uri.host, uri.port, opt, bak + logger.log "* Listening on #{str}" end @listeners << [str, io] if io @@ -110,14 +112,12 @@ path = "#{uri.host}#{uri.path}".gsub("%20", " ") if fd = @inherited_fds.delete(str) - logger.log "* Inherited #{str}" io = inherit_unix_listener path, fd + logger.log "* Inherited #{str}" elsif sock = @activated_sockets.delete([ :unix, path ]) - logger.log "* Activated #{str}" io = inherit_unix_listener path, sock + logger.log "* Activated #{str}" else - logger.log "* Listening on #{str}" - umask = nil mode = nil backlog = 1024 @@ -139,6 +139,7 @@ end io = add_unix_listener path, umask, mode, backlog + logger.log "* Listening on #{str}" end @listeners << [str, io] @@ -204,11 +205,11 @@ logger.log "* Inherited #{str}" io = inherit_ssl_listener fd, ctx elsif sock = @activated_sockets.delete([ :tcp, uri.host, uri.port ]) - logger.log "* Activated #{str}" io = inherit_ssl_listener sock, ctx + logger.log "* Activated #{str}" else - logger.log "* Listening on #{str}" io = add_ssl_listener uri.host, uri.port, ctx + logger.log "* Listening on #{str}" end @listeners << [str, io] if io diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/cli.rb new/lib/puma/cli.rb --- old/lib/puma/cli.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/cli.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'optparse' require 'uri' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/client.rb new/lib/puma/client.rb --- old/lib/puma/client.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/client.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class IO # We need to use this for a jruby work around on both 1.8 and 1.9. # So this either creates the constant (on 1.8), or harmlessly @@ -168,6 +170,7 @@ if len == 0 @body.rewind rest = io.read + rest = rest[2..-1] if rest.start_with?("\r\n") @buffer = rest.empty? ? nil : rest @requests_served += 1 @ready = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/cluster.rb new/lib/puma/cluster.rb --- old/lib/puma/cluster.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/cluster.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/runner' require 'puma/util' require 'puma/plugin' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/commonlogger.rb new/lib/puma/commonlogger.rb --- old/lib/puma/commonlogger.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/commonlogger.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma # Rack::CommonLogger forwards every request to the given +app+, and # logs a line in the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/configuration.rb new/lib/puma/configuration.rb --- old/lib/puma/configuration.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/configuration.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/rack/builder' require 'puma/plugin' require 'puma/const' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/const.rb new/lib/puma/const.rb --- old/lib/puma/const.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/const.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,4 +1,6 @@ #encoding: utf-8 +# frozen_string_literal: true + module Puma class UnsupportedOption < RuntimeError end @@ -98,7 +100,7 @@ # too taxing on performance. module Const - PUMA_VERSION = VERSION = "3.12.0".freeze + PUMA_VERSION = VERSION = "3.12.1".freeze CODE_NAME = "Llamas in Pajamas".freeze PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/control_cli.rb new/lib/puma/control_cli.rb --- old/lib/puma/control_cli.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/control_cli.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,8 +1,10 @@ +# frozen_string_literal: true + require 'optparse' -require 'puma/state_file' -require 'puma/const' -require 'puma/detect' -require 'puma/configuration' +require_relative 'state_file' +require_relative 'const' +require_relative 'detect' +require_relative 'configuration' require 'uri' require 'socket' @@ -129,7 +131,7 @@ uri = URI.parse @control_url # create server object by scheme - @server = case uri.scheme + server = case uri.scheme when "tcp" TCPSocket.new uri.host, uri.port when "unix" @@ -147,9 +149,9 @@ url = url + "?token=#{@control_auth_token}" end - @server << "GET #{url} HTTP/1.0\r\n\r\n" + server << "GET #{url} HTTP/1.0\r\n\r\n" - unless data = @server.read + unless data = server.read raise "Server closed connection before responding" end @@ -172,8 +174,8 @@ message "Command #{@command} sent success" message response.last if @command == "stats" || @command == "gc-stats" end - - @server.close + ensure + server.close if server && !server.closed? end def send_signal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/convenient.rb new/lib/puma/convenient.rb --- old/lib/puma/convenient.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/convenient.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/launcher' require 'puma/configuration' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/daemon_ext.rb new/lib/puma/daemon_ext.rb --- old/lib/puma/daemon_ext.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/daemon_ext.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Process # This overrides the default version because it is broken if it diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/delegation.rb new/lib/puma/delegation.rb --- old/lib/puma/delegation.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/delegation.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma module Delegation def forward(what, who) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/detect.rb new/lib/puma/detect.rb --- old/lib/puma/detect.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/detect.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma IS_JRUBY = defined?(JRUBY_VERSION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/dsl.rb new/lib/puma/dsl.rb --- old/lib/puma/dsl.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/dsl.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma # The methods that are available for use inside the config file. # These same methods are used in Puma cli and the rack handler @@ -55,6 +57,14 @@ @plugins.clear end + def set_default_host(host) + @options[:default_host] = host + end + + def default_host + @options[:default_host] || Configuration::DefaultTCPHost + end + def inject(&blk) instance_eval(&blk) end @@ -138,7 +148,7 @@ # Define the TCP port to bind to. Use +bind+ for more advanced options. # def port(port, host=nil) - host ||= Configuration::DefaultTCPHost + host ||= default_host bind "tcp://#{host}:#{port}" end @@ -493,7 +503,7 @@ when Hash if hdr = val[:header] @options[:remote_address] = :header - @options[:remote_address_header] = "HTTP_" + hdr.upcase.gsub("-", "_") + @options[:remote_address_header] = "HTTP_" + hdr.upcase.tr("-", "_") else raise "Invalid value for set_remote_address - #{val.inspect}" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/events.rb new/lib/puma/events.rb --- old/lib/puma/events.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/events.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/const' require "puma/null_io" require 'stringio' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/io_buffer.rb new/lib/puma/io_buffer.rb --- old/lib/puma/io_buffer.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/io_buffer.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/detect' if Puma.jruby? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/java_io_buffer.rb new/lib/puma/java_io_buffer.rb --- old/lib/puma/java_io_buffer.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/java_io_buffer.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'java' # Conservative native JRuby/Java implementation of IOBuffer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/jruby_restart.rb new/lib/puma/jruby_restart.rb --- old/lib/puma/jruby_restart.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/jruby_restart.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'ffi' module Puma diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/launcher.rb new/lib/puma/launcher.rb --- old/lib/puma/launcher.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/launcher.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/events' require 'puma/detect' @@ -63,8 +65,8 @@ generate_restart_data - if clustered? && (Puma.jruby? || Puma.windows?) - unsupported 'worker mode not supported on JRuby or Windows' + if clustered? && !Process.respond_to?(:fork) + unsupported "worker mode not supported on #{RUBY_ENGINE} on this platform" end if @options[:daemon] && Puma.windows? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/minissl.rb new/lib/puma/minissl.rb --- old/lib/puma/minissl.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/minissl.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + begin require 'io/wait' rescue LoadError diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/null_io.rb new/lib/puma/null_io.rb --- old/lib/puma/null_io.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/null_io.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma # Provides an IO-like object that always appears to contain no data. # Used as the value for rack.input when the request has no body. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/plugin.rb new/lib/puma/plugin.rb --- old/lib/puma/plugin.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/plugin.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma class UnknownPlugin < RuntimeError; end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/rack/builder.rb new/lib/puma/rack/builder.rb --- old/lib/puma/rack/builder.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/rack/builder.rb 2019-03-19 19:05:53.000000000 +0100 @@ -110,7 +110,8 @@ has_options = false server.valid_options.each do |name, description| - next if name.to_s.match(/^(Host|Port)[^a-zA-Z]/) # ignore handler's host and port options, we do our own. + next if name.to_s =~ /^(Host|Port)[^a-zA-Z]/ # ignore handler's host and port options, we do our own. + info << " -O %-21s %s" % [name, description] has_options = true end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/reactor.rb new/lib/puma/reactor.rb --- old/lib/puma/reactor.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/reactor.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/util' require 'puma/minissl' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/runner.rb new/lib/puma/runner.rb --- old/lib/puma/runner.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/runner.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/server' require 'puma/const' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/server.rb new/lib/puma/server.rb --- old/lib/puma/server.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/server.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'stringio' require 'puma/thread_pool' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/single.rb new/lib/puma/single.rb --- old/lib/puma/single.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/single.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puma/runner' require 'puma/detect' require 'puma/plugin' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/state_file.rb new/lib/puma/state_file.rb --- old/lib/puma/state_file.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/state_file.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'yaml' module Puma diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/tcp_logger.rb new/lib/puma/tcp_logger.rb --- old/lib/puma/tcp_logger.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/tcp_logger.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Puma class TCPLogger def initialize(logger, app, quiet=false) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/thread_pool.rb new/lib/puma/thread_pool.rb --- old/lib/puma/thread_pool.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/thread_pool.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'thread' module Puma diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/puma/util.rb new/lib/puma/util.rb --- old/lib/puma/util.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/puma/util.rb 2019-03-19 19:05:53.000000000 +0100 @@ -1,3 +1,4 @@ +# frozen_string_literal: true major, minor, patch = RUBY_VERSION.split('.').map { |v| v.to_i } if major == 1 && minor == 9 && patch == 3 && RUBY_PATCHLEVEL < 125 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/handler/puma.rb new/lib/rack/handler/puma.rb --- old/lib/rack/handler/puma.rb 2018-07-13 18:08:52.000000000 +0200 +++ new/lib/rack/handler/puma.rb 2019-03-19 19:05:53.000000000 +0100 @@ -49,6 +49,9 @@ self.set_host_port_to_config(host, port, user_config) end + if default_options[:Host] + file_config.set_default_host(default_options[:Host]) + end self.set_host_port_to_config(default_options[:Host], default_options[:Port], default_config) user_config.app app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-07-13 18:08:52.000000000 +0200 +++ new/metadata 2019-03-19 19:05:53.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: puma version: !ruby/object:Gem::Version - version: 3.12.0 + version: 3.12.1 platform: ruby authors: - Evan Phoenix -autorequire: +autorequire: bindir: bin cert_chain: [] -date: 2018-07-13 00:00:00.000000000 Z +date: 2019-03-19 00:00:00.000000000 Z dependencies: [] description: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production @@ -108,7 +108,7 @@ - BSD-3-Clause metadata: msys2_mingw_dependencies: openssl -post_install_message: +post_install_message: rdoc_options: [] require_paths: - lib @@ -123,9 +123,9 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubyforge_project: +rubyforge_project: rubygems_version: 2.7.6 -signing_key: +signing_key: specification_version: 4 summary: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications
