Closed ioquatix closed 11 years ago
Hi,
RubyDNS 0.6.0 has ONE backwards incompatible change. The order of arguments for pattern based rules has changed.
Previously:
match(/pattern/, ...) do |match_data, transaction| end
Now:
match(/pattern/, ...) do |transaction, match_data| end
The motivation for this change is that match_data is often not needed, so now can be dropped from the argument list all together:
match_data
match(/pattern/, ...) do |transaction| end
Let me know if you have any questions.
thanks, part of v0.4.0.
Hi,
RubyDNS 0.6.0 has ONE backwards incompatible change. The order of arguments for pattern based rules has changed.
Previously:
Now:
The motivation for this change is that
match_data
is often not needed, so now can be dropped from the argument list all together:Let me know if you have any questions.