Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Documentation specs failing on master
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ben Scheirman  
View profile  
 More options Mar 19 2012, 11:42 am
From: Ben Scheirman <subdigi...@gmail.com>
Date: Mon, 19 Mar 2012 08:42:00 -0700 (PDT)
Subject: Documentation specs failing on master
I'm getting the following spec failures on master:

A full (integration spec) installation for platform `ios'
  - generates documentation of all pods by default [ERROR:
Errno::ENOENT]

Pod::Downloader
for Git
- check's out a specific commit [FAILED]

Pod::Generator::Documentation
- returns reads correctly the Pod documentation [FAILED]
- returns the Pod documentation options [FAILED]
- creates the html [FAILED]

I'm wanting to merge master into my relative_pods_root so I can wrap
up changes there, but I'm weary to continue while I have test
failures.  Are these failing for you as well?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Ilyukevich  
View profile  
 More options Mar 19 2012, 12:09 pm
From: Victor Ilyukevich <ilyukevich.vic...@gmail.com>
Date: Mon, 19 Mar 2012 19:09:40 +0300
Local: Mon, Mar 19 2012 12:09 pm
Subject: Re: Documentation specs failing on master

I've just run `rake spec` on the latest code from master and every test
passes:

204 specifications (382 requirements), 0 failures, 0 errors

Ruby 1.9.3

Maybe you forgot to update submodules after last checkout?

--
Виктор Ильюкевич
http://bestblog.name

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Scheirman  
View profile  
 More options Mar 19 2012, 12:13 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Mon, 19 Mar 2012 11:13:33 -0500
Local: Mon, Mar 19 2012 12:13 pm
Subject: Re: Documentation specs failing on master

My submodules are updated.

I originally got an error because appledoc wasn't found on my system, but I installed it with homebrew (and added a relevant check for this in `rake bootstrap` for others).

Any other ideas?  These were all passing about a week ago when I last fetched from origin.

On Mar 19, 2012, at 11:09 AM, Victor Ilyukevich wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Durán  
View profile  
 More options Mar 19 2012, 12:21 pm
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Mon, 19 Mar 2012 17:21:32 +0100
Local: Mon, Mar 19 2012 12:21 pm
Subject: Re: Documentation specs failing on master

Hey Ben, try:

  $ rm -rf spec/fixtures/banana-lib

We really need to make that work transparently.

On Mar 19, 2012, at 5:13 PM, Ben Scheirman wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Scheirman  
View profile  
 More options Mar 19 2012, 12:56 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Mon, 19 Mar 2012 11:56:33 -0500
Local: Mon, Mar 19 2012 12:56 pm
Subject: Re: Documentation specs failing on master

That fixed 3 of the specs.  Now the remaining failure:

Pod::Generator::Documentation
- creates the html [FAILED]

Bacon::Error: false.true?() failed
        spec/unit/generator/documentation_spec.rb:56:in `block (2 levels) in <top (required)>': Pod::Generator::Documentation - creates the html
        /Users/ben/.rvm/gems/ruby-1.9.2-p180/gems/mocha-on-bacon-0.2.0/lib/mocha-on -bacon.rb:57:in `call'
        /Users/ben/.rvm/gems/ruby-1.9.2-p180/gems/mocha-on-bacon-0.2.0/lib/mocha-on -bacon.rb:57:in `block in it'
        /Users/ben/.rvm/gems/ruby-1.9.2-p180/gems/mocha-on-bacon-0.2.0/lib/mocha-on -bacon.rb:54:in `it'
        spec/unit/generator/documentation_spec.rb:55:in `block in <top (required)>'
        spec/unit/generator/documentation_spec.rb:3:in `<top (required)>'

Errno::ENOENT: No such file or directory - /Users/ben/projects/CocoaPods/tmp/Pods/Documentation/JSONKit/html/index.htm l
        /Users/ben/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/pathname.rb:776:in `read': A full (integration spec) installation for platform `ios' - generates documentation of all pods by default
        /Users/ben/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/pathname.rb:776:in `read'
        spec/integration_spec.rb:150:in `block (3 levels) in <top (required)>'
        /Users/ben/.rvm/gems/ruby-1.9.2-p180/gems/mocha-on-bacon-0.2.0/lib/mocha-on -bacon.rb:57:in `call'
        /Users/ben/.rvm/gems/ruby-1.9.2-p180/gems/mocha-on-bacon-0.2.0/lib/mocha-on -bacon.rb:57:in `block in it'
        /Users/ben/.rvm/gems/ruby-1.9.2-p180/gems/mocha-on-bacon-0.2.0/lib/mocha-on -bacon.rb:54:in `it'
        spec/integration_spec.rb:138:in `block (2 levels) in <top (required)>'
        spec/integration_spec.rb:31:in `block in <top (required)>'
        spec/integration_spec.rb:30:in `each'
        spec/integration_spec.rb:30:in `<top (required)>'

206 specifications (383 requirements), 1 failures, 1 errors

Any ideas?

On Mar 19, 2012, at 11:21 AM, Eloy Durán wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Duran  
View profile  
 More options Mar 19 2012, 2:03 pm
From: Eloy Duran <eloy.de.en...@gmail.com>
Date: Mon, 19 Mar 2012 19:03:33 +0100
Local: Mon, Mar 19 2012 2:03 pm
Subject: Re: Documentation specs failing on master

Oh wait, I just remember having similar failures, which was due to appledoc not being installed correct. Does your output look the same?

% ls -l ~/Library/Application\ Support/appledoc/
total 0
drwxr-xr-x  3 eloy  wheel  102  8 dec 14:49 docset
drwxr-xr-x  8 eloy  wheel  272  8 dec 14:49 html

If not, then that's the problem. The instructions, that the homebrew formula prints, out are incorrect I think, but at the time I thought I had probably done something wrong.

Nonetheless, we should raise an exception if appledoc exits with a failure so that these problems are clear when someone runs into them.

Eloy

On 19 mrt. 2012, at 17:56, Ben Scheirman wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Scheirman  
View profile  
 More options Mar 19 2012, 2:38 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Mon, 19 Mar 2012 13:38:51 -0500
Local: Mon, Mar 19 2012 2:38 pm
Subject: Re: Documentation specs failing on master

That folder doesn't exist on my machine.  I must have missed the post install instructions from homebrew.

Looking at it now it seems as if the appledoc brew should be doing that linking step for us in the future.

I added a step in `rake bootstrap` so that others could know to install it if it's not present on their system.  But we still should have the  check for the error code.

On Mar 19, 2012, at 1:03 PM, Eloy Duran wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »