Added a before_save callback for cache_depth as well as the existing before_validation callback. This ensures that all descendants in a subtree have their depth cache updated when the subtree is moved.
Added short alias :root? to existing is_root? method
base_class replace ancestry_base_class
Update lib/ancestry/has_ancestry.rb

Use stabby lambda for named scope in order to be compatible with rails 4 and use ruby 1.9 syntax
forgot some code in previous commit
Removed occurence of ::scoped() call which will be deprecated
Update has_ancestry.rb

used the lambda keyword instead of stabby lambda in order to keep compatibility with older versions
Added several gemfiles to test against multiple versions of activerecord
Updated test environment to use bundler
Updated README
Merge branch 'master' of git://github.com/Systho/ancestry into Systho-master
Small text change README
fix deprecation warnings for ActiveRecord 4
Add Gemfile to test against Rails 4.0.0.beta1

All tests pass, but there's a ton of deprecation warnings.
Fix remaining Rails 4 deprecation warnings

All tests are now passing on Rails 3.0 through 4.0.0.beta1 without
deprecation warnings.
Merge branch 'rails4' of git://github.com/adammck/ancestry into adammck-rails4
Resolves #133, allowed parent= for records returning true for blank?/empty?
Add attribute query method for parent id
Based on #97 by sj26
closes #97
Added block to sort_by_ancestry class method.
added test for #85
Merge pull request #76 from divineforest/master

Added short alias :root? to existing is_root? method
Merge pull request #74 from scottatron/master

Added a before_save callback for cache_depth