Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load new gems for index update. #234

Closed
wants to merge 2 commits into from
Closed

Conversation

mdkent
Copy link

@mdkent mdkent commented Dec 14, 2011

Fix for Issue #232

@luislavena
Copy link
Member

Hello!

Do you have a test to balance this code change?

@mdkent
Copy link
Author

mdkent commented Dec 14, 2011

Tried to account for it by dumping the specifications that were already loaded.

Not sure if there's a better way to get them to the state they are in when gem generated_index is run from the cli - at that point it seems like Gem::Specifications contains the locally installed gems.

@ghost ghost assigned drbrain Dec 16, 2011
@evanphx
Copy link
Member

evanphx commented Jan 17, 2012

Your new code in the tests actually change things just like the code in the implementation. You need to be testing that a gem only located on in the specs array was indexed.

@mdkent
Copy link
Author

mdkent commented Jan 18, 2012

Ugh sorry, not sure why I thought that was sufficient. Going to take another run at this issue shortly.

@mdkent mdkent closed this Jan 18, 2012
@drbrain
Copy link
Member

drbrain commented Jan 18, 2012

You'll need to add the specs too, see the second patch of issue #264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants