Tests added, tests all green in both Ruby 2.0 and 1.9.3.

On Fri, Feb 22, 2013 at 10:18 AM, James Gray <james / graysoftinc.com> wrote:
> On Fri, Feb 22, 2013 at 9:44 AM, Ryan Dowell <ssstarduster / gmail.com> wrote:
>>
>> A very simple patch. Adds ".each_pair" as an alias to ".each" in
>> CSV::Row. (Applies to Ruby 1.9.3 & Ruby 2.0)
>
>
> Can we redo this patch with a test please?
>
> I realize that this is just an alias, but I also know you are planning to
> count on the availability of this method in some later changes.  Given that,
> it's probably worth testing that it's there.
>
> James Edward Gray II
SW5kZXg6IGxpYi9jc3YucmIKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gbGliL2Nzdi5yYgkocmV2aXNpb24gMzg3
OTQpCisrKyBsaWIvY3N2LnJiCSh3b3JraW5nIGNvcHkpCkBAIC00NjksNiArNDY5LDcgQEAKIAog
ICAgICAgc2VsZiAgIyBmb3IgY2hhaW5pbmcKICAgICBlbmQKKyAgICBhbGlhc19tZXRob2QgOmVh
Y2hfcGFpciwgOmVhY2gKIAogICAgICMKICAgICAjIFJldHVybnMgK3RydWUrIGlmIHRoaXMgcm93
IGNvbnRhaW5zIHRoZSBzYW1lIGhlYWRlcnMgYW5kIGZpZWxkcyBpbiB0aGUKSW5kZXg6IHRlc3Qv
Y3N2L3Rlc3Rfcm93LnJiCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHRlc3QvY3N2L3Rlc3Rfcm93LnJiCShyZXZp
c2lvbiAzODc5NCkKKysrIHRlc3QvY3N2L3Rlc3Rfcm93LnJiCSh3b3JraW5nIGNvcHkpCkBAIC0y
NDgsNiArMjQ4LDIwIEBACiAgICAgICBhc3NlcnRfZXF1YWwoYXJ5LnNoaWZ0Lmxhc3QsIGZpZWxk
KQogICAgIGVuZAogCisgICAgIyBhcnJheSBzdHlsZS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