Thanks for the question.
I updated CouchRest to fix the first failure you listed. I have been
unable to reproduce the other failure.
All tests pass for me on ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-
darwin10.2.0].
On ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0] I
get only 1 failure:
1)
NoMethodError in 'ExtendedDocument views with a collection should
provide a class method to get a collection for a view'
undefined method `provides_collection' for #<Class:
0x00000102441e90>::Article
/Users/jchris/code/old-couchrest/spec/couchrest/more/
extended_doc_view_spec.rb:412:in `<class:Article>'
/Users/jchris/code/old-couchrest/spec/couchrest/more/
extended_doc_view_spec.rb:411:in `block (3 levels) in <top (required)
>'
I'm hoping someone else can fix this, as I'm not familiar with this
part of the code base.
Chris
>
> A.
--
You received this message because you are subscribed to the Google Groups "CouchRest" group.
To post to this group, send email to couc...@googlegroups.com.
To unsubscribe from this group, send email to couchrest+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/couchrest?hl=en.
--
Chris Anderson
http://jchrisa.net
http://couch.io
With lastest code:
with ruby ruby 1.8.7 (2009-06-12 patchlevel 174) the first error is
fixed, and the second one is still here
with ruby ruby 1.9.1p243 the second error is here too, and I have
another one
NoMethodError in 'ExtendedDocument views with a collection should
provide a class method to get a collection for a view'
undefined method `provides_collection' for #<Class:0x9bf9ddc>::Article
/home/archiloque/Documents/code/couchrest/spec/couchrest/more/
extended_doc_view_spec.rb:412:in `<class:Article>'
/home/archiloque/Documents/code/couchrest/spec/couchrest/more/
extended_doc_view_spec.rb:411:in `block (3 levels) in <top (required)>'
A.
This one is the same you mentioned in your mail, sorry for the noise
A.
If anyone's got time to fix this I'd be happy to accept a patch.
> Hi,
>
> Sorry for the delay, but I've just submitted a pull request to fix
> this test. You can see the commit here: http://github.com/jwood/couchrest/commit/63e7f310fb6457668bf6eb6f396ed32dfbc434a8
>
> - John
>
> ---------------------------------
> http://johnpwood.net
Hi,
jwood/couchrest 1.8
1)
'ExtendedDocument with default should automatically call a proc
default at initialization' FAILED
expected: < Thu Jan 07 18:35:10 +0100 2010,
got: Thu Jan 07 18:35:10 +0100 2010
./spec/couchrest/more/extended_doc_spec.rb:230:
2)
'CouchRest::CastedModel saving document with array of casted models
and validation should save' FAILED
expected true, got false
./spec/couchrest/more/casted_model_spec.rb:211:
jwood/couchrest rake1.9
1)
'CouchRest::CastedModel saving document with array of casted models
and validation should save' FAILED
expected true, got false
/home/archiloque/Documents/code/couchrest/spec/couchrest/more/
casted_model_spec.rb:211:in `block (3 levels) in <top (required)>'
couchrest/couchrest 1.8
1)
'CouchRest::CastedModel saving document with array of casted models
and validation should save' FAILED
expected true, got false
./spec/couchrest/more/casted_model_spec.rb:211:
couchrest/couchrest 1.9
1)
'CouchRest::CastedModel saving document with array of casted models
and validation should save' FAILED
expected true, got false
/home/archiloque/Documents/code/couchrest/spec/couchrest/more/
casted_model_spec.rb:211:in `block (3 levels) in <top (required)>'
2)
NoMethodError in 'ExtendedDocument views with a collection should
provide a class method to get a collection for a view'
undefined method `provides_collection' for #<Class:0x9870038>::Article
/home/archiloque/Documents/code/couchrest/spec/couchrest/more/
extended_doc_view_spec.rb:412:in `<class:Article>'
/home/archiloque/Documents/code/couchrest/spec/couchrest/more/
extended_doc_view_spec.rb:411:in `block (3 levels) in <top (required)>'
A.
This looks good to me.
Any of the new committers want to do the honor of merging to
couchrest/couchrest?
Thanks!
Chris
> couchrest+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/couchrest?hl=en.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "CouchRest" group.
> To post to this group, send email to couc...@googlegroups.com.
> To unsubscribe from this group, send email to
> couchrest+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/couchrest?hl=en.
>
>
--
On Thu, Jan 7, 2010 at 9:56 AM, John Wood <john_...@yahoo.com> wrote:This looks good to me.
> All tests passed for me on jwood/couchrest using ruby 1.8.6 and
> ruby-1.9.1-p376.
Any of the new committers want to do the honor of merging to
couchrest/couchrest?
Thanks!
Chris