ascii_tree 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edd4a091f0389f3142009d7f90e2f92e28bda572
4
- data.tar.gz: afb677ecd9caa5908a140a1a80d359d3c92bd790
3
+ metadata.gz: 98ccffa0747e6642b106241a0aa1cf9fe9d9a406
4
+ data.tar.gz: 72d58407cf20d8e0b73392a7a7171ede26429036
5
5
  SHA512:
6
- metadata.gz: d3955dee1d7ae9b8478a464b933520b0a6b665a3c66c45ef3cadd1295c16e09a65108ba9e2bcaf88433fac05df014e99885527bbcfe4c6510929f78e5e1d6f87
7
- data.tar.gz: 2570e3503e783e753716ee586b476367963250e93a75e32ac2196807ed5da5eb03b49958ea147eca13ce654401b03149aaec2a39d68e98efef9fff9813139929
6
+ metadata.gz: 245281f5e9393ca8358799e6b41abda704bbe8af808be7e4787a561da8ca0673467c45a21d5b9dfc83de2964198c3b6acd2271750976a00a8b04ad013073f75a
7
+ data.tar.gz: 91508434cd16cd1b9baa05ce183ade2f1e698f564e3a5233dcec784e279847ed64fcefebb6ffe4bed819caae3889cfcc59005321e0625479a9c9eed2f55c8abe
data/README.md CHANGED
@@ -41,14 +41,14 @@ Use parenthesis to group words into a single node:
41
41
  ```ruby
42
42
  root = AsciiTree.parse('
43
43
 
44
- (this is a single node)
44
+ ( single node )
45
45
  / | | | \
46
46
  (so is this) but these are separate
47
47
 
48
48
  ')
49
49
 
50
50
  root.id
51
- #=> "this is a single node"
51
+ #=> "single node"
52
52
  ```
53
53
 
54
54
  ## Values
@@ -8,7 +8,7 @@ module AsciiTree
8
8
  id, value = id_value(word_with_coords)
9
9
 
10
10
  Word.new(
11
- id: id,
11
+ id: id.strip,
12
12
  value: value,
13
13
  start_coordinate: word_with_coords.first.last,
14
14
  end_coordinate: word_with_coords.last.last
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ascii_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Patuzzo