README.md in closure_tree-3.0.3 vs README.md in closure_tree-3.0.4

- old
+ new

@@ -1,9 +1,7 @@ -# Closure Tree +# Closure Tree [![Build Status](https://secure.travis-ci.org/mceachen/closure_tree.png?branch=master)](http://travis-ci.org/mceachen/closure_tree) -[![Build Status](https://secure.travis-ci.org/mceachen/closure_tree.png?branch=master)](http://travis-ci.org/mceachen/closure_tree) - Closure Tree is a mostly-API-compatible replacement for the acts_as_tree and awesome_nested_set gems, but with much better mutation performance thanks to the Closure Tree storage algorithm, as well as support for polymorphism within the hierarchy. @@ -181,35 +179,40 @@ class WhatTag < Tag ; end ``` ## Change log -### 2.0.0 +### 3.0.4 -* Had to increment the major version, as rebuild! will need to be called by prior consumers to support the new ```leaves``` class and instance methods. -* Tag deletion is supported now along with ```:dependent => :destroy``` and ```:dependent => :delete_all``` -* Switched from default rails plugin directory structure to rspec -* Support for running specs under different database engines: ```export DB ; for DB in sqlite3 mysql postgresql ; do rake ; done``` +* Merged [pull request](https://github.com/mceachen/closure_tree/pull/8) to fix ```.siblings``` and ```.self_and_siblings``` + (Thanks, [eljojo](https://github.com/eljojo)!) -### 3.0.0 +### 3.0.3 -* Support for polymorphic trees -* ```find_by_path``` and ```find_or_create_by_path``` signatures changed to support constructor attributes -* tested against Rails 3.1.3 +* Added support for ActiveRecord's whitelist_attributes + (Make sure you read [the Rails Security Guide](http://guides.rubyonrails.org/security.html), and + enable ```config.active_record.whitelist_attributes``` in your ```config/application.rb``` ASAP!) +### 3.0.2 + +* Fix for ancestry-loop detection (performed by a validation, not through raising an exception in before_save) + ### 3.0.1 * Support 3.2.0's fickle deprecation of InstanceMethods (Thanks, [jheiss](https://github.com/mceachen/closure_tree/pull/5))! -### 3.0.2 +### 3.0.0 -* Fix for ancestry-loop detection (performed by a validation, not through raising an exception in before_save) +* Support for polymorphic trees +* ```find_by_path``` and ```find_or_create_by_path``` signatures changed to support constructor attributes +* tested against Rails 3.1.3 -### 3.0.3 +### 2.0.0 -* Added support for ActiveRecord's whitelist_attributes - (Make sure you read [the Rails Security Guide](http://guides.rubyonrails.org/security.html), and - enable ```config.active_record.whitelist_attributes``` in your ```config/application.rb``` ASAP!) +* Had to increment the major version, as rebuild! will need to be called by prior consumers to support the new ```leaves``` class and instance methods. +* Tag deletion is supported now along with ```:dependent => :destroy``` and ```:dependent => :delete_all``` +* Switched from default rails plugin directory structure to rspec +* Support for running specs under different database engines: ```export DB ; for DB in sqlite3 mysql postgresql ; do rake ; done``` ## Thanks to * https://github.com/collectiveidea/awesome_nested_set * https://github.com/patshaughnessy/class_factory