hashery 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/.index +9 -4
 - data/Index.yml +52 -0
 - data/README.md +34 -21
 - data/alt/hashery/castinghash.rb +1 -0
 - data/alt/hashery/fuzzyhash.rb +1 -0
 - data/alt/hashery/keyhash.rb +1 -0
 - data/alt/hashery/linkedlist.rb +1 -0
 - data/alt/hashery/lruhash.rb +1 -0
 - data/alt/hashery/opencascade.rb +1 -0
 - data/alt/hashery/openhash.rb +1 -0
 - data/alt/hashery/orderedhash.rb +1 -0
 - data/alt/hashery/propertyhash.rb +1 -0
 - data/alt/hashery/queryhash.rb +1 -0
 - data/alt/hashery/statichash.rb +1 -0
 - data/lib/hashery.yml +9 -4
 - data/test/case_key_hash.rb +3 -2
 - metadata +52 -26
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 55701ae88fe04551d5cec0f05916443eb5caa507
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 3c7f559ddff06a73a17e88582405df23c70503ca
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 4f9d36a7748e170982b068b858638cd03f7d1bea42732ee8935c5436e92a409e1ddc694dca8722ad73593d0deab3e53f6150a9903dca074ec266c9cd74f022de
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4a6150c4cb3532273b7397deff56e73c46e4c9b1f7f519bb90196986c94090265fa32674b63271366944f4d79b51640336265fe388a10847ebe35a414fb4cd28
         
     | 
    
        data/.index
    CHANGED
    
    | 
         @@ -19,13 +19,18 @@ requirements: 
     | 
|
| 
       19 
19 
     | 
    
         
             
            - groups:
         
     | 
| 
       20 
20 
     | 
    
         
             
              - development
         
     | 
| 
       21 
21 
     | 
    
         
             
              - test
         
     | 
| 
       22 
     | 
    
         
            -
              version:  
     | 
| 
      
 22 
     | 
    
         
            +
              version: ">= 0"
         
     | 
| 
       23 
23 
     | 
    
         
             
              name: qed
         
     | 
| 
       24 
24 
     | 
    
         
             
            - groups:
         
     | 
| 
       25 
25 
     | 
    
         
             
              - development
         
     | 
| 
       26 
26 
     | 
    
         
             
              - test
         
     | 
| 
       27 
     | 
    
         
            -
              version:  
     | 
| 
      
 27 
     | 
    
         
            +
              version: ">= 0"
         
     | 
| 
       28 
28 
     | 
    
         
             
              name: lemon
         
     | 
| 
      
 29 
     | 
    
         
            +
            - groups:
         
     | 
| 
      
 30 
     | 
    
         
            +
              - development
         
     | 
| 
      
 31 
     | 
    
         
            +
              - test
         
     | 
| 
      
 32 
     | 
    
         
            +
              version: ">= 0"
         
     | 
| 
      
 33 
     | 
    
         
            +
              name: rubytest-cli
         
     | 
| 
       29 
34 
     | 
    
         
             
            conflicts: []
         
     | 
| 
       30 
35 
     | 
    
         
             
            alternatives: []
         
     | 
| 
       31 
36 
     | 
    
         
             
            resources:
         
     | 
| 
         @@ -62,7 +67,7 @@ paths: 
     | 
|
| 
       62 
67 
     | 
    
         
             
              - alt
         
     | 
| 
       63 
68 
     | 
    
         
             
            name: hashery
         
     | 
| 
       64 
69 
     | 
    
         
             
            title: Hashery
         
     | 
| 
       65 
     | 
    
         
            -
            version: 2.1. 
     | 
| 
      
 70 
     | 
    
         
            +
            version: 2.1.2
         
     | 
| 
       66 
71 
     | 
    
         
             
            summary: Facets-bread collection of Hash-like classes.
         
     | 
| 
       67 
72 
     | 
    
         
             
            description: The Hashery is a tight collection of Hash-like classes. Included among
         
     | 
| 
       68 
73 
     | 
    
         
             
              its many offerings are the auto-sorting Dictionary class, the efficient LRUHash,
         
     | 
| 
         @@ -70,4 +75,4 @@ description: The Hashery is a tight collection of Hash-like classes. Included am 
     | 
|
| 
       70 
75 
     | 
    
         
             
              of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash making
         
     | 
| 
       71 
76 
     | 
    
         
             
              it a snap to subclass and augment to fit any specific use case.
         
     | 
| 
       72 
77 
     | 
    
         
             
            created: '2010-04-21'
         
     | 
| 
       73 
     | 
    
         
            -
            date: ' 
     | 
| 
      
 78 
     | 
    
         
            +
            date: '2016-05-01'
         
     | 
    
        data/Index.yml
    ADDED
    
    | 
         @@ -0,0 +1,52 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            name:
         
     | 
| 
      
 3 
     | 
    
         
            +
              hashery
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            version:
         
     | 
| 
      
 6 
     | 
    
         
            +
              2.1.2
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            title:
         
     | 
| 
      
 9 
     | 
    
         
            +
              Hashery
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            summary:
         
     | 
| 
      
 12 
     | 
    
         
            +
              Facets-bread collection of Hash-like classes.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            description:
         
     | 
| 
      
 15 
     | 
    
         
            +
              The Hashery is a tight collection of Hash-like classes. Included among its many
         
     | 
| 
      
 16 
     | 
    
         
            +
              offerings are the auto-sorting Dictionary class, the efficient LRUHash, the
         
     | 
| 
      
 17 
     | 
    
         
            +
              flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass
         
     | 
| 
      
 18 
     | 
    
         
            +
              of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash
         
     | 
| 
      
 19 
     | 
    
         
            +
              making it a snap to subclass and augment to fit any specific use case.
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 22 
     | 
    
         
            +
              - Trans <transfire@gmail.com>
         
     | 
| 
      
 23 
     | 
    
         
            +
              - Kirk Haines
         
     | 
| 
      
 24 
     | 
    
         
            +
              - Robert Klemme
         
     | 
| 
      
 25 
     | 
    
         
            +
              - Jan Molic
         
     | 
| 
      
 26 
     | 
    
         
            +
              - George Moschovitis
         
     | 
| 
      
 27 
     | 
    
         
            +
              - Jeena Paradies
         
     | 
| 
      
 28 
     | 
    
         
            +
              - Erik Veenstra
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            resources:
         
     | 
| 
      
 31 
     | 
    
         
            +
              home: http://rubyworks.github.com/hashery
         
     | 
| 
      
 32 
     | 
    
         
            +
              code: http://github.com/rubyworks/hashery
         
     | 
| 
      
 33 
     | 
    
         
            +
              mail: http://groups.google.com/group/rubyworks-mailinglist
         
     | 
| 
      
 34 
     | 
    
         
            +
              docs: http://rubydoc.info/github/rubyworks/hashery/master/frames
         
     | 
| 
      
 35 
     | 
    
         
            +
              wiki: http://wiki.github.com/rubyworks/hashery
         
     | 
| 
      
 36 
     | 
    
         
            +
              gems: http://rubygems.org/gems/hashery
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            repositories:
         
     | 
| 
      
 39 
     | 
    
         
            +
              upstream: "git://github.com/rubyworks/hashery.git"
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            organizations:
         
     | 
| 
      
 42 
     | 
    
         
            +
              - RubyWorks (http://rubyworks.github.com/)
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            copyrights:
         
     | 
| 
      
 45 
     | 
    
         
            +
              - 2010 Rubyworks (BSD-2-Clause)
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            load_path:
         
     | 
| 
      
 48 
     | 
    
         
            +
              - lib
         
     | 
| 
      
 49 
     | 
    
         
            +
              - alt
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            created: '2010-04-21'
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,14 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Hashery
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            [](http://rubygems.org/gem/hashery)
         
     | 
| 
      
 4 
     | 
    
         
            +
            [](http://travis-ci.org/rubyworks/hashery)
         
     | 
| 
      
 5 
     | 
    
         
            +
            [](http://github.com/rubyworks/hashery)
         
     | 
| 
      
 6 
     | 
    
         
            +
            [](http://github.com/rubyworks/hashery/issues)
         
     | 
| 
      
 7 
     | 
    
         
            +
            [](https://www.gittip.com/rubyworksorg/)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
       3 
9 
     | 
    
         
             
            [Homepage](http://rubyworks.github.com/hashery) ·
         
     | 
| 
       4 
10 
     | 
    
         
             
            [Development](http://github.com/rubyworks/hashery) ·
         
     | 
| 
       5 
     | 
    
         
            -
            [Report Issue](http://github.com/rubyworks/hashery/issues 
     | 
| 
       6 
     | 
    
         
            -
            [ 
     | 
| 
       7 
     | 
    
         
            -
            [IRC](irc://irc.freenode.net/rubyworks)
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
            [](http://badge.fury.io/rb/hashery)
         
     | 
| 
       10 
     | 
    
         
            -
            [](http://travis-ci.org/rubyworks/hashery)    
         
     | 
| 
       11 
     | 
    
         
            -
            [](http://flattr.com/thing/324911/Rubyworks-Ruby-Development-Fund)
         
     | 
| 
      
 11 
     | 
    
         
            +
            [Report Issue](http://github.com/rubyworks/hashery/issues) ·
         
     | 
| 
      
 12 
     | 
    
         
            +
            [Chat](https://kiwiirc.com/client/irc.freenode.net/?nick=user1|?#rubyworks)
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
14 
     | 
    
         | 
| 
       14 
15 
     | 
    
         
             
            ## Description
         
     | 
| 
         @@ -16,7 +17,7 @@ 
     | 
|
| 
       16 
17 
     | 
    
         
             
            Among Ruby Facets most common additions were an assortment
         
     | 
| 
       17 
18 
     | 
    
         
             
            of Hash-like classes. To better support this collection
         
     | 
| 
       18 
19 
     | 
    
         
             
            of libraries it was deemed prudent to create a new project
         
     | 
| 
       19 
     | 
    
         
            -
            specifically for them. Hence the *Facets 
     | 
| 
      
 20 
     | 
    
         
            +
            specifically for them. Hence the *Facets Hashery*.
         
     | 
| 
       20 
21 
     | 
    
         | 
| 
       21 
22 
     | 
    
         
             
            Included in this collection are the widely used OrderedHash, 
         
     | 
| 
       22 
23 
     | 
    
         
             
            the related but more featured Dictionary class, a number
         
     | 
| 
         @@ -32,7 +33,7 @@ included in this collection and read the demo documents which give 
     | 
|
| 
       32 
33 
     | 
    
         
             
            examples of almost all features.
         
     | 
| 
       33 
34 
     | 
    
         | 
| 
       34 
35 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
            ### Core Extensions
         
     | 
| 
       36 
37 
     | 
    
         | 
| 
       37 
38 
     | 
    
         
             
            Hashery adds four core extensions of Ruby's Hash class: `#retrieve`,
         
     | 
| 
       38 
39 
     | 
    
         
             
            `#rekey`, `#rekey!` and `Hash.create`. The first is simply an alias
         
     | 
| 
         @@ -46,10 +47,14 @@ sorely missing for Ruby itself, which is why they are provided here. 
     | 
|
| 
       46 
47 
     | 
    
         | 
| 
       47 
48 
     | 
    
         
             
            To install with RubyGems simply open a console and type:
         
     | 
| 
       48 
49 
     | 
    
         | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
      
 50 
     | 
    
         
            +
                $ sudo gem install hashery
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
            Or add it as a dependency to your project's Gemfile:
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
                gem "hashery"
         
     | 
| 
       50 
55 
     | 
    
         | 
| 
       51 
56 
     | 
    
         
             
            Tarball packages are available for manual site installations
         
     | 
| 
       52 
     | 
    
         
            -
            via [Ruby Setup](http:// 
     | 
| 
      
 57 
     | 
    
         
            +
            via [Ruby Setup](http://rubyworks.github.com/setup).
         
     | 
| 
       53 
58 
     | 
    
         | 
| 
       54 
59 
     | 
    
         | 
| 
       55 
60 
     | 
    
         
             
            ## Authors
         
     | 
| 
         @@ -68,7 +73,16 @@ Developers who have contributed code to the project include: 
     | 
|
| 
       68 
73 
     | 
    
         
             
            ## Contributing
         
     | 
| 
       69 
74 
     | 
    
         | 
| 
       70 
75 
     | 
    
         
             
            Don't be a lump on a log. See an issue? Have a suggestion? Want to help?
         
     | 
| 
       71 
     | 
    
         
            -
            Well git in there!
         
     | 
| 
      
 76 
     | 
    
         
            +
            Well *git* in there!
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
            ### Communicating
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
            The project is hosted on Github so the easiest means of communication 
         
     | 
| 
      
 81 
     | 
    
         
            +
            is via the [Issues](http://github.com/rubyworks/hashery/issues) page.
         
     | 
| 
      
 82 
     | 
    
         
            +
            For more direct communication you can try the **#rubyworks** IRC channel
         
     | 
| 
      
 83 
     | 
    
         
            +
            on **irc.freenode.net**.
         
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
                [](https://kiwiirc.com/client/irc.freenode.net/?nick=user1|?#rubyworks)
         
     | 
| 
       72 
86 
     | 
    
         | 
| 
       73 
87 
     | 
    
         
             
            ### Testing
         
     | 
| 
       74 
88 
     | 
    
         | 
| 
         @@ -77,28 +91,27 @@ Hashery uses [QED](http://rubyworks.github.com/qed) and 
     | 
|
| 
       77 
91 
     | 
    
         
             
            The QED framework to create well tested high-level documentation.
         
     | 
| 
       78 
92 
     | 
    
         
             
            Run the QED specs via:
         
     | 
| 
       79 
93 
     | 
    
         | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
            Lemon is used to create low-level unit tests. Run these via the 
         
     | 
| 
       83 
     | 
    
         
            -
            RubyTest universal test harness.
         
     | 
| 
      
 94 
     | 
    
         
            +
                $ qed -Ilib demo/
         
     | 
| 
       84 
95 
     | 
    
         | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
      
 96 
     | 
    
         
            +
            Lemon is used to create low-level unit tests. Run these via the Rubytest:
         
     | 
| 
       86 
97 
     | 
    
         | 
| 
      
 98 
     | 
    
         
            +
                $ rubytest -Ilib -Itest test/
         
     | 
| 
       87 
99 
     | 
    
         | 
| 
       88 
100 
     | 
    
         
             
            ### Patches
         
     | 
| 
       89 
101 
     | 
    
         | 
| 
       90 
102 
     | 
    
         
             
            Hashery's repository is hosted on [GitHub](http://github.com/rubyworks/hashery).
         
     | 
| 
       91 
103 
     | 
    
         
             
            If you'd like to offer up a fix or feature, fork the repo and submit a pull
         
     | 
| 
       92 
104 
     | 
    
         
             
            request (preferably in a topic branch). I assume you have heard
         
     | 
| 
       93 
     | 
    
         
            -
            all the talk about proper [practices]( 
     | 
| 
      
 105 
     | 
    
         
            +
            all the talk about proper [practices](https://github.com/rubyworks/rubyworks.github.com/wiki/GitHub-Best-Pactices),
         
     | 
| 
       94 
106 
     | 
    
         
             
            so I won't bug you with it yet again.
         
     | 
| 
       95 
107 
     | 
    
         | 
| 
       96 
108 
     | 
    
         
             
            ### Donations
         
     | 
| 
       97 
109 
     | 
    
         | 
| 
       98 
110 
     | 
    
         
             
            Yes, we FOSS programmers need to eat too! ;-) No seriously, any help you can
         
     | 
| 
       99 
111 
     | 
    
         
             
            offer goes a long way toward continued development of Rubyworks projects,
         
     | 
| 
       100 
     | 
    
         
            -
            including Hashery.  
     | 
| 
       101 
     | 
    
         
            -
            [Rubyworks](http://rubyworks.github.com) homepage. 
     | 
| 
      
 112 
     | 
    
         
            +
            including Hashery. Hop over to our [Gittips](https://www.gittip.com/rubyworksorg/)
         
     | 
| 
      
 113 
     | 
    
         
            +
            page, or see the upper right-hand corner on the [Rubyworks](http://rubyworks.github.com) homepage.
         
     | 
| 
      
 114 
     | 
    
         
            +
            Thanks!
         
     | 
| 
       102 
115 
     | 
    
         | 
| 
       103 
116 
     | 
    
         | 
| 
       104 
117 
     | 
    
         
             
            ## Copyrights
         
     | 
| 
         @@ -107,7 +120,7 @@ Copyright (c) 2010 Rubyworks 
     | 
|
| 
       107 
120 
     | 
    
         | 
| 
       108 
121 
     | 
    
         
             
            Licensed under the *BSD-2-Clause* license.
         
     | 
| 
       109 
122 
     | 
    
         | 
| 
       110 
     | 
    
         
            -
            See  
     | 
| 
      
 123 
     | 
    
         
            +
            See LICENSE.txt file for further details.
         
     | 
| 
       111 
124 
     | 
    
         | 
| 
       112 
125 
     | 
    
         
             
            Some libraries included in the Hashery have special copyrights
         
     | 
| 
       113 
126 
     | 
    
         
             
            attributing specific authors. Please see each library script for
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/casting_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/fuzzy_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/key_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/linked_list'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/lru_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/open_cascade'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/open_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/ordered_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/property_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/query_hash'
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'hashery/static_hash'
         
     | 
    
        data/lib/hashery.yml
    CHANGED
    
    | 
         @@ -19,13 +19,18 @@ requirements: 
     | 
|
| 
       19 
19 
     | 
    
         
             
            - groups:
         
     | 
| 
       20 
20 
     | 
    
         
             
              - development
         
     | 
| 
       21 
21 
     | 
    
         
             
              - test
         
     | 
| 
       22 
     | 
    
         
            -
              version:  
     | 
| 
      
 22 
     | 
    
         
            +
              version: ">= 0"
         
     | 
| 
       23 
23 
     | 
    
         
             
              name: qed
         
     | 
| 
       24 
24 
     | 
    
         
             
            - groups:
         
     | 
| 
       25 
25 
     | 
    
         
             
              - development
         
     | 
| 
       26 
26 
     | 
    
         
             
              - test
         
     | 
| 
       27 
     | 
    
         
            -
              version:  
     | 
| 
      
 27 
     | 
    
         
            +
              version: ">= 0"
         
     | 
| 
       28 
28 
     | 
    
         
             
              name: lemon
         
     | 
| 
      
 29 
     | 
    
         
            +
            - groups:
         
     | 
| 
      
 30 
     | 
    
         
            +
              - development
         
     | 
| 
      
 31 
     | 
    
         
            +
              - test
         
     | 
| 
      
 32 
     | 
    
         
            +
              version: ">= 0"
         
     | 
| 
      
 33 
     | 
    
         
            +
              name: rubytest-cli
         
     | 
| 
       29 
34 
     | 
    
         
             
            conflicts: []
         
     | 
| 
       30 
35 
     | 
    
         
             
            alternatives: []
         
     | 
| 
       31 
36 
     | 
    
         
             
            resources:
         
     | 
| 
         @@ -62,7 +67,7 @@ paths: 
     | 
|
| 
       62 
67 
     | 
    
         
             
              - alt
         
     | 
| 
       63 
68 
     | 
    
         
             
            name: hashery
         
     | 
| 
       64 
69 
     | 
    
         
             
            title: Hashery
         
     | 
| 
       65 
     | 
    
         
            -
            version: 2.1. 
     | 
| 
      
 70 
     | 
    
         
            +
            version: 2.1.2
         
     | 
| 
       66 
71 
     | 
    
         
             
            summary: Facets-bread collection of Hash-like classes.
         
     | 
| 
       67 
72 
     | 
    
         
             
            description: The Hashery is a tight collection of Hash-like classes. Included among
         
     | 
| 
       68 
73 
     | 
    
         
             
              its many offerings are the auto-sorting Dictionary class, the efficient LRUHash,
         
     | 
| 
         @@ -70,4 +75,4 @@ description: The Hashery is a tight collection of Hash-like classes. Included am 
     | 
|
| 
       70 
75 
     | 
    
         
             
              of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash making
         
     | 
| 
       71 
76 
     | 
    
         
             
              it a snap to subclass and augment to fit any specific use case.
         
     | 
| 
       72 
77 
     | 
    
         
             
            created: '2010-04-21'
         
     | 
| 
       73 
     | 
    
         
            -
            date: ' 
     | 
| 
      
 78 
     | 
    
         
            +
            date: '2016-05-01'
         
     | 
    
        data/test/case_key_hash.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: hashery
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.1.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Trans
         
     | 
| 
         @@ -14,34 +14,48 @@ authors: 
     | 
|
| 
       14 
14 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
     | 
    
         
            -
            date:  
     | 
| 
      
 17 
     | 
    
         
            +
            date: 2016-05-01 00:00:00.000000000 Z
         
     | 
| 
       18 
18 
     | 
    
         
             
            dependencies:
         
     | 
| 
       19 
19 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       20 
20 
     | 
    
         
             
              name: qed
         
     | 
| 
       21 
21 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       22 
22 
     | 
    
         
             
                requirements:
         
     | 
| 
       23 
     | 
    
         
            -
                - -  
     | 
| 
      
 23 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       24 
24 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       25 
25 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       26 
26 
     | 
    
         
             
              type: :development
         
     | 
| 
       27 
27 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       28 
28 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       29 
29 
     | 
    
         
             
                requirements:
         
     | 
| 
       30 
     | 
    
         
            -
                - -  
     | 
| 
      
 30 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: lemon
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       36 
36 
     | 
    
         
             
                requirements:
         
     | 
| 
       37 
     | 
    
         
            -
                - -  
     | 
| 
      
 37 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       38 
38 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       39 
39 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       40 
40 
     | 
    
         
             
              type: :development
         
     | 
| 
       41 
41 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       42 
42 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       43 
43 
     | 
    
         
             
                requirements:
         
     | 
| 
       44 
     | 
    
         
            -
                - -  
     | 
| 
      
 44 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 46 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 47 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 48 
     | 
    
         
            +
              name: rubytest-cli
         
     | 
| 
      
 49 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 50 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 51 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 53 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 54 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 55 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 56 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 57 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 58 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       45 
59 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       46 
60 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       47 
61 
     | 
    
         
             
            description: The Hashery is a tight collection of Hash-like classes. Included among
         
     | 
| 
         @@ -54,13 +68,29 @@ email: 
     | 
|
| 
       54 
68 
     | 
    
         
             
            executables: []
         
     | 
| 
       55 
69 
     | 
    
         
             
            extensions: []
         
     | 
| 
       56 
70 
     | 
    
         
             
            extra_rdoc_files:
         
     | 
| 
       57 
     | 
    
         
            -
            - NOTICE.txt
         
     | 
| 
       58 
71 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       59 
     | 
    
         
            -
            -  
     | 
| 
      
 72 
     | 
    
         
            +
            - NOTICE.txt
         
     | 
| 
       60 
73 
     | 
    
         
             
            - HISTORY.md
         
     | 
| 
      
 74 
     | 
    
         
            +
            - README.md
         
     | 
| 
       61 
75 
     | 
    
         
             
            files:
         
     | 
| 
       62 
     | 
    
         
            -
            - .index
         
     | 
| 
       63 
     | 
    
         
            -
            - .yardopts
         
     | 
| 
      
 76 
     | 
    
         
            +
            - ".index"
         
     | 
| 
      
 77 
     | 
    
         
            +
            - ".yardopts"
         
     | 
| 
      
 78 
     | 
    
         
            +
            - HISTORY.md
         
     | 
| 
      
 79 
     | 
    
         
            +
            - Index.yml
         
     | 
| 
      
 80 
     | 
    
         
            +
            - LICENSE.txt
         
     | 
| 
      
 81 
     | 
    
         
            +
            - NOTICE.txt
         
     | 
| 
      
 82 
     | 
    
         
            +
            - README.md
         
     | 
| 
      
 83 
     | 
    
         
            +
            - alt/hashery/castinghash.rb
         
     | 
| 
      
 84 
     | 
    
         
            +
            - alt/hashery/fuzzyhash.rb
         
     | 
| 
      
 85 
     | 
    
         
            +
            - alt/hashery/keyhash.rb
         
     | 
| 
      
 86 
     | 
    
         
            +
            - alt/hashery/linkedlist.rb
         
     | 
| 
      
 87 
     | 
    
         
            +
            - alt/hashery/lruhash.rb
         
     | 
| 
      
 88 
     | 
    
         
            +
            - alt/hashery/opencascade.rb
         
     | 
| 
      
 89 
     | 
    
         
            +
            - alt/hashery/openhash.rb
         
     | 
| 
      
 90 
     | 
    
         
            +
            - alt/hashery/orderedhash.rb
         
     | 
| 
      
 91 
     | 
    
         
            +
            - alt/hashery/propertyhash.rb
         
     | 
| 
      
 92 
     | 
    
         
            +
            - alt/hashery/queryhash.rb
         
     | 
| 
      
 93 
     | 
    
         
            +
            - alt/hashery/statichash.rb
         
     | 
| 
       64 
94 
     | 
    
         
             
            - demo/00_introduction.rdoc
         
     | 
| 
       65 
95 
     | 
    
         
             
            - demo/01_open_hash.rdoc
         
     | 
| 
       66 
96 
     | 
    
         
             
            - demo/02_query_hash.rdoc
         
     | 
| 
         @@ -73,6 +103,8 @@ files: 
     | 
|
| 
       73 
103 
     | 
    
         
             
            - demo/10_association.rdoc
         
     | 
| 
       74 
104 
     | 
    
         
             
            - demo/applique/ae.rb
         
     | 
| 
       75 
105 
     | 
    
         
             
            - demo/applique/hashery.rb
         
     | 
| 
      
 106 
     | 
    
         
            +
            - lib/hashery.rb
         
     | 
| 
      
 107 
     | 
    
         
            +
            - lib/hashery.yml
         
     | 
| 
       76 
108 
     | 
    
         
             
            - lib/hashery/association.rb
         
     | 
| 
       77 
109 
     | 
    
         
             
            - lib/hashery/casting_hash.rb
         
     | 
| 
       78 
110 
     | 
    
         
             
            - lib/hashery/core_ext.rb
         
     | 
| 
         @@ -91,8 +123,6 @@ files: 
     | 
|
| 
       91 
123 
     | 
    
         
             
            - lib/hashery/query_hash.rb
         
     | 
| 
       92 
124 
     | 
    
         
             
            - lib/hashery/stash.rb
         
     | 
| 
       93 
125 
     | 
    
         
             
            - lib/hashery/static_hash.rb
         
     | 
| 
       94 
     | 
    
         
            -
            - lib/hashery.rb
         
     | 
| 
       95 
     | 
    
         
            -
            - lib/hashery.yml
         
     | 
| 
       96 
126 
     | 
    
         
             
            - test/case_association.rb
         
     | 
| 
       97 
127 
     | 
    
         
             
            - test/case_casting_hash.rb
         
     | 
| 
       98 
128 
     | 
    
         
             
            - test/case_core_ext.rb
         
     | 
| 
         @@ -108,10 +138,6 @@ files: 
     | 
|
| 
       108 
138 
     | 
    
         
             
            - test/case_query_hash.rb
         
     | 
| 
       109 
139 
     | 
    
         
             
            - test/fixture/example.ini
         
     | 
| 
       110 
140 
     | 
    
         
             
            - test/helper.rb
         
     | 
| 
       111 
     | 
    
         
            -
            - README.md
         
     | 
| 
       112 
     | 
    
         
            -
            - HISTORY.md
         
     | 
| 
       113 
     | 
    
         
            -
            - NOTICE.txt
         
     | 
| 
       114 
     | 
    
         
            -
            - LICENSE.txt
         
     | 
| 
       115 
141 
     | 
    
         
             
            homepage: http://rubyworks.github.com/hashery
         
     | 
| 
       116 
142 
     | 
    
         
             
            licenses:
         
     | 
| 
       117 
143 
     | 
    
         
             
            - BSD-2-Clause
         
     | 
| 
         @@ -122,32 +148,32 @@ require_paths: 
     | 
|
| 
       122 
148 
     | 
    
         
             
            - lib
         
     | 
| 
       123 
149 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       124 
150 
     | 
    
         
             
              requirements:
         
     | 
| 
       125 
     | 
    
         
            -
              - -  
     | 
| 
      
 151 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       126 
152 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       127 
153 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       128 
154 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       129 
155 
     | 
    
         
             
              requirements:
         
     | 
| 
       130 
     | 
    
         
            -
              - -  
     | 
| 
      
 156 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       131 
157 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       132 
158 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       133 
159 
     | 
    
         
             
            requirements: []
         
     | 
| 
       134 
160 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       135 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 161 
     | 
    
         
            +
            rubygems_version: 2.5.1
         
     | 
| 
       136 
162 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       137 
163 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       138 
164 
     | 
    
         
             
            summary: Facets-bread collection of Hash-like classes.
         
     | 
| 
       139 
165 
     | 
    
         
             
            test_files:
         
     | 
| 
       140 
     | 
    
         
            -
            - test/case_ini_hash.rb
         
     | 
| 
       141 
     | 
    
         
            -
            - test/case_casting_hash.rb
         
     | 
| 
       142 
     | 
    
         
            -
            - test/case_open_cascade.rb
         
     | 
| 
       143 
     | 
    
         
            -
            - test/case_crud_hash.rb
         
     | 
| 
       144 
166 
     | 
    
         
             
            - test/case_core_ext.rb
         
     | 
| 
       145 
     | 
    
         
            -
            - test/case_lru_hash.rb
         
     | 
| 
       146 
167 
     | 
    
         
             
            - test/case_open_hash.rb
         
     | 
| 
       147 
     | 
    
         
            -
            - test/ 
     | 
| 
      
 168 
     | 
    
         
            +
            - test/case_ini_hash.rb
         
     | 
| 
       148 
169 
     | 
    
         
             
            - test/case_linked_list.rb
         
     | 
| 
       149 
170 
     | 
    
         
             
            - test/case_association.rb
         
     | 
| 
       150 
     | 
    
         
            -
            - test/case_property_hash.rb
         
     | 
| 
       151 
171 
     | 
    
         
             
            - test/case_key_hash.rb
         
     | 
| 
      
 172 
     | 
    
         
            +
            - test/case_dictionary.rb
         
     | 
| 
      
 173 
     | 
    
         
            +
            - test/case_property_hash.rb
         
     | 
| 
       152 
174 
     | 
    
         
             
            - test/helper.rb
         
     | 
| 
      
 175 
     | 
    
         
            +
            - test/case_lru_hash.rb
         
     | 
| 
       153 
176 
     | 
    
         
             
            - test/case_query_hash.rb
         
     | 
| 
      
 177 
     | 
    
         
            +
            - test/case_crud_hash.rb
         
     | 
| 
      
 178 
     | 
    
         
            +
            - test/case_casting_hash.rb
         
     | 
| 
      
 179 
     | 
    
         
            +
            - test/case_open_cascade.rb
         
     |