MSP-Greg
MSP-Greg
@SoapSkinBubble My bad. Sorry. I saw the mention of stand-alone Ruby, made a few changes, and kind of forgot that `SKETCHUP_CONSOLE` only has a method or two in common with...
@SoapSkinBubble Again, sorry for the previous post. Try the following: ```ruby # frozen_string_literal: true $orig_out, $stdout = $stdout, STDOUT.dup $orig_err, $stderr = $stderr, STDERR.dup path = ENV['TMPDIR'] || ENV['TEMPDIR'] File.open("#{path}/stdout.log",...
@SoapSkinBubble I posted something in the forum with an attached file. See: https://forums.sketchup.com/t/redirect-ruby-console-to-file-s-example/99790 I required it in a plugin and set `SU_IO.file :err`, which routes stderr to a file. Normally...
Since my code never has errors, I just used the warnings that appear in the Ruby console on SU start. Ok, just kidding. > I think some of the API...
I just pushed an update which split the puma_socket.rb file into two files. Also, updated some of the comments. Re the comments in general, see https://msp-greg.github.io/puma_test/ It's an unpublished link...
After a rebase, problems with non-MRI Rubies.
I rebased again after [null_io.rb - add external_encoding, set_encoding, binmode, binmode? (#3214)](https://github.com/puma/puma/commit/36c730760743), which contains a few test fixes since the last rebase.
I'm looking at this again, with the intent to get it updated and merged. Currently, there are several methods that can be used to create a socket, send a request,...
Lastly, a road map of the test changes I'd like to see. 1. Convert all tests to using the shared code for creating client sockets. 2. Add common code for...
A few questions: There are several methods that can be removed with this. Should we mark then as deprecated as of Puma 7? Several of current 'stats' tests check the...