crafterm/comma — pull request #22 by michaelkirk (2011-10-15 06:38:49+00:00)
Title: made rspec requirement less restrictive

I was trying to follow head to get around a bug in current released version, but I wasn't able to install the gem from your master branch because your strict rspec limits aren't compatible with my newer versions.

Why are you requiring rspec to be old?

I lessened the restriction and ran the specs against rspec 2.6.

All specs pass, except the named scope specs which demand rails 2.

1) Comma generating CSV from an ActiveRecord object case should extend ActiveRecord::NamedScope::Scope to add a #to_comma method which will return CSV content for objects within the scope
Failure/Error: named_scope :teenagers, :conditions => { :age => 13..19 }
NoMethodError:
undefined method `named_scope' for #
# ./spec/comma/ar_spec.rb:6

2) Comma generating CSV from an ActiveRecord object case should find in batches
Failure/Error: named_scope :teenagers, :conditions => { :age => 13..19 }
NoMethodError:
undefined method `named_scope' for #
# ./spec/comma/ar_spec.rb: