Permalink
Commits on Oct 25, 2016
  1. Merge pull request #297 from kbrock/col_cast

    No longer cast text columns as ints
    kbrock committed on GitHub Oct 25, 2016
  2. use null sorting

    kbrock committed Dec 3, 2015
  3. No longer cast text columns as ints

    Would be nice to tap into active record but
    for now, just skipping the cast for text columns
    
    fixes #236
    kbrock committed Oct 25, 2016
Commits on Oct 24, 2016
  1. Merge pull request #293 from kbrock/path

    introduce path_of scope
    kbrock committed on GitHub Oct 24, 2016
Commits on Oct 21, 2016
  1. Use case sensitive 'like' for rails 5

    Not my favorite code fix.
    Have longer term plans to improve this fix. But this
    is the least invasive. It can make the queries up to
    10x faster
    kbrock committed Oct 21, 2016
  2. Merge pull request #295 from kbrock/newer_ruby_2

    Upgrade ruby and rails. Add rails 5.0 and mysql2
    kbrock committed on GitHub Oct 21, 2016
  3. use yard

    kbrock committed Oct 21, 2016
  4. introduce path_of scope

    kbrock committed Oct 21, 2016
Commits on Oct 7, 2016
  1. Merge pull request #290 from kbrock/fix_ruby_deprecations

    fix rails 5 deprecations
    kbrock committed on GitHub Oct 7, 2016
  2. ruby 1.9.3 support

    kbrock committed Oct 7, 2016
  3. fix deprecations in tests

    these are making ruby 5.0 blow up
    kbrock committed Oct 7, 2016
  4. Merge pull request #284 from vasinov/patch-1

    Update README.rdoc
    kbrock committed on GitHub Oct 7, 2016
Commits on Aug 11, 2016
  1. Update README.rdoc

    Updated some badges to svg and added a Hakiri security badge.
    vasinov committed on GitHub Aug 11, 2016
Commits on Jun 12, 2016
  1. Merge pull request #189 from brocktimus/master

    Only propagating updated_at if records have been changed with touch option
    kbrock committed on GitHub Jun 12, 2016
Commits on May 30, 2016
  1. Merge pull request #278 from kbrock/mullify_disable_callbacks

    remove warnings for @disable_ancestry_callbacks
    kbrock committed May 30, 2016
Commits on May 15, 2016
  1. Merge pull request #279 from mckayward/touch_up_readme

    Housekeeping/brushing up README
    kbrock committed May 15, 2016
Commits on May 13, 2016
  1. Update copyright date

    mckayward committed May 13, 2016
Commits on May 12, 2016
  1. remove warnings for @disable_ancestry_callbacks

    The variable was accessed without being defined
    kbrock committed May 12, 2016
Commits on Feb 9, 2016
  1. Merge pull request #261 from Fryguy/better_arrange_nodes

    Improve performance of arrange_nodes.
    kbrock committed Feb 9, 2016
  2. Improve performance of arrange_nodes.

    The old code is essentially an insertion algorithm that walks the tree
    from the root for each node and inserts itself in the right spot.
    Inserting a node is roughly O(depth); best case O(1), but worst case
    O(n).  Thus, the tree building is roughly O(n * depth); best case O(n),
    but worst case O(n^2).
    
    The new code maintains an index of a node's children by node id.  Each
    nodes is placed into the children of the parent id. Thus, inserting a
    node is an O(1) lookup, making the tree building O(n).
    
    The operation only has to look at the parent, and does not have to go
    through all of the ancestry ids, because eventually the parent node
    will go through the same insertion process itself.
    
    Note that the old algorithm used a pre-sorting of nodes in order to
    more efficiently arrange them.  The new algorithm doesn't care about
    order, and thus that sorting can probably be removed in future PRs.
    Fryguy committed Feb 6, 2016
  3. Merge pull request #264 from Fryguy/fix_tests

    Fix various issues where tests were not running
    kbrock committed Feb 9, 2016
  4. Fix various issues where tests were not running

    - Fix issue where "minitest/autorun" must be required for newer versions
      of Rails
    - Made sqlite3 the default local database when not using appraisals
    - Handle non-installed databases when running `appraisal rake test`
      locally
    Fryguy committed Feb 9, 2016
Commits on Feb 8, 2016
  1. Merge pull request #260 from kbrock/scope_reuse

    use descendant_conditions for subtree_conditions
    kbrock committed Feb 8, 2016
Commits on Feb 6, 2016
Commits on Jan 26, 2016
  1. Merge pull request #256 from yui-knk/update_test_ruby_versions

    Update .travis.yml
    kbrock committed Jan 26, 2016
Commits on Jan 18, 2016
  1. Update .travis.yml

    This PR includes these update
    
    * Update Ruby 2.2.2 -> 2.2.4
    * Add Ruby 2.3
    * Fix exclude test matrix (we should exclude 1.9.3 not 1.9.2)
    * Add exclude test matrix (Ruby 2.2 or 2.3 x Rails3)
    yui-knk committed Jan 17, 2016
Commits on Jan 1, 2016
  1. Merge pull request #252 from kbrock/add_predicates

    Add predicates
    kbrock committed Jan 1, 2016
  2. Add predicates ancestor_of?, parent_of?, root_of?, child_of?, sibling…

    …_of? and descendant_of?.
    neglectedvalue committed with kbrock Feb 19, 2011
  3. Delete trailing whitespaces.

    neglectedvalue committed with kbrock Feb 19, 2011
  4. Ignore locked gemfiles

    antstorm committed with kbrock Aug 11, 2015
Commits on Dec 21, 2015
  1. Merge pull request #250 from kbrock/new_apprasials

    Add newer versions of ruby to travis
    kbrock committed Dec 21, 2015