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

Many associations perform read repair on dead links when the association proxy is accessed. #302

Closed
wants to merge 11 commits into from

Conversation

mattsnyder
Copy link

This pull requests resolves Ripple issue #301

The read repair occurs when the association proxy is accessed (#find_target) and only cleans up dead links for that association. See specs for more detail on behavior.

@seancribbs
Copy link
Contributor

Is all the modification of the Gemfile necessary? What's wrong with the gemspec directive?

@@ -1,4 +1,4 @@
# `ripple`: Riak Document Models [![Build Status](https://secure.travis-ci.org/basho/ripple.png)](http://travis-ci.org/basho/ripple)
# `ripple`: Riak Document Models [![Build Status](https://secure.travis-ci.org/validas/ripple.png)](http://travis-ci.org/validas/ripple)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert/remove this change.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not problem. Would like to modify this in a way that it recognizes the repo so forks can still leverage the travis badge.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little JS might do the trick? Something we could push off to the Travis CI guys, maybe.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully, going to tinker with it now. I can't believe this is the first repo that would benefit from this.

@mattsnyder
Copy link
Author

@seancribbs initially had problems with the gem spec and thought I had reverted it back with a follow up commit.

@@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rake'
gem.add_development_dependency 'ammeter', '~>0.2.2'
gem.add_dependency "riak-client", "~> 1.0.0"
gem.add_dependency "activesupport", [">= 3.0.0", "< 3.3.0"]
gem.add_dependency "activemodel", [">= 3.0.0", "< 3.3.0"]
gem.add_dependency "activesupport", ">= 3.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not clear whether Rails 4 will be supportable with the current code. Please revert this.

@mattsnyder
Copy link
Author

@seancribbs Reverted the travis badge for now. Looks like it will require effort from the Travis guys to make it work.

@mattsnyder mattsnyder closed this Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Read Repair
2 participants