Refactor Resolver.create_tsig_options#69
Conversation
elibus
commented
Feb 15, 2015
- Fix: options[:algorithm] was NOT an assignment
- Refactor arguments
- Add tests
* Fix: options[:algorithm] was NOT an assignment * Refactor arguments * Add tests
|
Hi, Marco. Thanks for those changes. I believe create_tsig_options no longer checks for argument list size since the regular Ruby method parameter approach is now being used. So the tests that test for ArgumentError failed for me. I've posted suggested changes at https://gist.github.com/keithrbennett/fac9ffada155680ebea9. Basically, the create_tsig_options method can be simplified, and the test should no longer contain anything regarding argument list size checking. If you (and Alex) agree with those changes, please incorporate them into your feature branch. I tried forking your repo to issue a pull request to it, but Github couldn't handle it because it would then have had the same name as my fork of Alex's. What a complicated life we live. ;) Grazie! |
Refactor Resolver.create_tsig_options