Yuri Smirnov
Yuri Smirnov
See #782. Also addresses #801 and #916. Support for HTML formatter can be found here: https://github.com/simplecov-ruby/simplecov-html/pull/110. Some notes: - I had to rework how coverage is parsed/unparsed (see `ResultSerialization` module)....
For some reason cucumber tests are failing for me when I run them locally in main branch. For example, I currently have a clean local copy on commit 9cd3a46169943f2c79d688d96e93871cd7febe2d and...
I find it a bit odd that simplecov doesn't check it's own coverage. What do you think about adding that functionality? I guess this might be not super straightforward since...
Test script: ```ruby require "pry" module M def x puts "prepended" super end end class A prepend M def x puts "original" end end a = A.new Pry.start ``` Console:...
So that it doesn't hang forever.
One of my sidekiq workers got stuck on the following log line (I use httplog): ``` [httplog] Connecting: www.coinpayments.net:443 ``` It was stuck for several hours until I restarted it....
```ruby client = HTTP.persistent("https://example.com").follow client.get(some_url) ``` In case `some_url` redirects to some domain other than example.com, we get the `HTTP::StateError`: `Persistence is enabled for https://example.com, but we got https://some-other-domain.com`.
```ruby > HTTP.post("https://api.sendgrid.com/v3/mail/send123", body: "d" * 10000) => #"nginx", "Date"=>"Fri, 14 Jun 2019 15:42:56 GMT", "Content-Type"=>"text/plain; charset=utf-8", "Content-Length"=>"19", "Connection"=>"close", "X-Content-Type-Options"=>"nosniff", "Access-Control-Allow-Origin"=>"https://sendgrid.api-docs.io", "Access-Control-Allow-Methods"=>"POST", "Access-Control-Allow-Headers"=>"Authorization, Content-Type, On-behalf-of, x-sg-elas-acl", "Access-Control-Max-Age"=>"600", "X-No-Cors-Reason"=>"https://sendgrid.com/docs/Classroom/Basics/API/cors.html"}> > _.body.to_s...
I get this error when using persistent connection with high `keep_alive_timeout` value. Test script: ```ruby require "http" url = "https://www.google.com/" client = HTTP.persistent(url, timeout: 1000) puts Time.now puts client.get(url).to_s.size sleep...