Greg Navis
Greg Navis
Save the code below in `proxy_test.py`: ``` python import httpretty import requests httpretty.enable() httpretty.register_uri(httpretty.GET, 'http://www.github.com', body='It works!') print requests.get('http://www.github.com').text ``` The code works when run without `http_proxy` set but breaks...
# Problem After fixing `Rakefile` (see #4 and the corresponding issue #3) the test suite fails: ``` $ rake /Users/grn/.rbenv/versions/2.1.5/bin/ruby -S rspec ./spec/handshake_spec.rb Warning: you should require 'minitest/autorun' instead. Warning:...
# Problem I tried to run the test suite with `rake`. The command exists with 0 status immediately without running any tests. # Cause `Rakefile` uses `Rake::TestTask.new` instead of `RSpec::Core::RakeTask`.
macOS version: 13.0 Ventura Rectangle version: 0.61 I installed Rectangle long ago before I upgraded to Ventura. I removed it today, but the login item persists. Suggested steps to reproduce:...
### Motivation / Background A non-array column can be queried via `where(name: [value1, value2])` which is automatically converted to `name IN (value1, value2)` in SQL. An array column would treat...
Where are using `Rails.root.join` to determine the location of the configuration file. This method will naturally fail for all projects that depend on Active Record but not on Rails. The...
When I fold a section of code I'd like to make it less noticeable. However the current colours make the folded section stand out too much. I think it'd be...
# Steps to reproduce 1. `ctx new a` 2. `ctx edit a` and add `ctx_libs tmux`. 3. Repeat 1 and 2 for a new context `b`. 4. `ctx enter a`....
This commit drops support for ancient Versions of Active Record. Maintaining backwards compatibility with them became too expensive and negatively influenced the pace of new development. Assuming Active Record 6.1...