trivet 1.3 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -3
  3. data/lib/trivet.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fbcf1a7c9514f12a41ecaa45f4f1ba5bec3ccec08a2ea1d9c080d4d93f3e363
4
- data.tar.gz: cf1e7334a9aa7184622c1dac9c55df342e72187390fce5d01de4772095ff91e1
3
+ metadata.gz: 263f4467c73c785dc2cf6ed719853b48074b9342346e8e55b024f198210ac404
4
+ data.tar.gz: 562a15f15e48250768261e488b550a1642cbbc008a3cca6b041fa768b59c3e20
5
5
  SHA512:
6
- metadata.gz: 8826eedd9ca3b47f572bee245675bee71629be643066151579b62dc461982f94f26e919891e53b4c258870eb5d5ce57293c647338c4ec3aa50e5e153b924240a
7
- data.tar.gz: 6df953e0bfd143563ebfe50de94635940eb8066037f14ef5f0777e21671d9e889a2dd51fb57491c4ec34154290dbdc21118d79f279097f53bb7766da24e0157d
6
+ metadata.gz: d5c92d225e545824c0c15735d282c64d6f874e8d0a10d857aeeb22e8d61ba71964cdd053d21789b8315e72568560bca8a4a94cea267ea2f0a302a1945c200ad0
7
+ data.tar.gz: eacc18b19851d20e539da922ed70afc1241af40ab171c3f0f8126c9d8ca01a357bd4c85524c25b64d1aa1a8fc43df671516f4cd5815d5484f46c57589730f24f
data/README.md CHANGED
@@ -25,10 +25,10 @@ Trivet is a generic class for organizing a hierarchy.
25
25
  19.
26
26
  20. puts food.to_tree
27
27
 
28
- Line {#start#} creates a `Trivet::Node` object and assigns it the id "food".
29
- Lines {#spices#} to {#fruit-end#} use the `node()` method to create child nodes.
28
+ Line 1 creates a `Trivet::Node` object and assigns it the id "food".
29
+ Lines 3 to 18 use the `node()` method to create child nodes.
30
30
 
31
- Line {#end#} uses the `to_tree()` method to display the tree as text, which
31
+ Line 20 uses the `to_tree()` method to display the tree as text, which
32
32
  looks like this:
33
33
 
34
34
  food
@@ -109,5 +109,13 @@ mike@idocs.com
109
109
  Renamed have_child? to have_object?. Renamed remove_child() to remove_object().
110
110
  </td>
111
111
  </tr>
112
+
113
+ <tr>
114
+ <td>1.4</td>
115
+ <td>January 4, 2021</td>
116
+ <td>
117
+ Fixed documentation. No changes to code.
118
+ </td>
119
+ </tr>
112
120
 
113
121
  </table>
@@ -11,7 +11,7 @@ require 'lx'
11
11
  # Trivet::Node to learn about this package.
12
12
  module Trivet
13
13
  # Version
14
- VERSION = '1.3'
14
+ VERSION = '1.4'
15
15
 
16
16
  #---------------------------------------------------------------------------
17
17
  # query control constants
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trivet
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike O'Sullivan