Remove use of attr_accessor_with_default #1

Merged
merged 1 commit into from May 30, 2012

2 participants

@urbanautomaton

As per the support ticket I raised, ActiveSupport as of at least 3.2 (I haven't looked at 3.1) no longer has the core extension Module#attr_accessor_with_default. I've replaced it with a plain ruby equivalent and removed the dependency.

Cheers,
Simon

@urbanautomaton urbanautomaton Remove dependency on attr_accessor_with_default
attr_accessor_with_default has been removed from ActiveSupport 3.2,
breaking the lighthouse-api gem when used with newer projects. This
patch reimplements the behaviour without external dependencies.
ebce765
@zenhob zenhob merged commit df6cac0 into entp:master May 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment