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

Rbtree #6

Closed
wants to merge 19 commits into from
Closed

Rbtree #6

wants to merge 19 commits into from

Commits on Aug 3, 2012

  1. Copy the full SHA
    26aca98 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8f6f8f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2012

  1. Use RBTree instead of Hash.

    kouno committed Aug 8, 2012
    Copy the full SHA
    fc5dcec View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2012

  1. Add class to compare instance index key.

    Instance index key can be an array of value which could contain nil values. To compare two
    hash containing nil values (using <=>), it was necessary to dropback to a comparison of strings.
    
    Example: ['a'] <=> [nil] would be converted to a comparison with "['a']" <=> "[nil]"
    kouno committed Aug 10, 2012
    Copy the full SHA
    0baf69c View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2012

  1. Fix hash eql?, ==, hash().

    kouno committed Aug 11, 2012
    Copy the full SHA
    4039081 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2012

  1. Fix issue with 1.8.

    Method :<=> does not exist on nil values, and using :<=> on arrays will
    call :<=> recursively on its children.
    kouno committed Aug 16, 2012
    Copy the full SHA
    43ace9a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    63f4e43 View commit details
    Browse the repository at this point in the history
  3. Add tests for coverage.

    kouno committed Aug 16, 2012
    Copy the full SHA
    7150045 View commit details
    Browse the repository at this point in the history
  4. Remove unused code.

    Entities stored in @created_instances have all been through assertion. There
    is no need to check if they implement retract.
    kouno committed Aug 16, 2012
    Copy the full SHA
    66f4a50 View commit details
    Browse the repository at this point in the history
  5. Remove Travis CI for Rubinius.

    kouno committed Aug 16, 2012
    Copy the full SHA
    3cd2dee View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2012

  1. Add comments and fix namespace.

    InstanceIndexKey was in global scope.
    kouno committed Aug 19, 2012
    Copy the full SHA
    8ab0484 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2012

  1. Modify RoleValues to have the same mechanism as Instance Index.

    RoleValues was basically a wrapper for an array, and is now similar to an ordered
    hash. The basic functionnality of RoleValues have not been modified, and it should still
    be considered as an array on multiple points, but this array will be ordered by its values
    automatically.
    
    Refactoring to InstanceIndexKey has been done also to be used by RoleValues. Therefore, its
    name has been modified to be ComparableHashKey instead.
    kouno committed Aug 24, 2012
    Copy the full SHA
    e530e87 View commit details
    Browse the repository at this point in the history
  2. Change file names

    kouno committed Aug 24, 2012
    Copy the full SHA
    a53891e View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2012

  1. Implements flat hash class.

    Makes hash traversing function such as #each work with a single argument
    instead of 2.
    kouno committed Sep 5, 2012
    Copy the full SHA
    ab679d4 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    cb4bf3a View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2012

  1. Copy the full SHA
    d751d26 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2012

  1. Fix tests for multipart_identification_spec.

    Adds information into related_entities. It should contain a RoleValue
    object when the role is pointing to many entities (see unique attribute
    for roles).
    
    It also adds a way to query entities in a two-way fashion. Which means
    you can now search for entities which references the current one, but
    also entities which are referenced by the current one.
    kouno committed Sep 14, 2012
    Copy the full SHA
    d5c29e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2012

  1. Refactor assignment process.

    kouno committed Sep 17, 2012
    Copy the full SHA
    8056c45 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2012

  1. Add residual key support.

    kouno committed Sep 18, 2012
    Copy the full SHA
    d734f22 View commit details
    Browse the repository at this point in the history