ascii_tree 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e031ba9a1b346d19bccb1dada35c1221397fc70
4
- data.tar.gz: e45c2c268c7bbfc2e7bc00ac646dc93d3ae2dc05
3
+ metadata.gz: b628af28efd7c35a442d17fcf4ad6e8793956f5a
4
+ data.tar.gz: 6d112ae59e9dc1a4cba3efefdbd25565a1a7264b
5
5
  SHA512:
6
- metadata.gz: 128c1e4d53c452c820c0b966a7d02fb1362b36e8a7a0d34ca1dd9294fbd4318d7921ae566ddd3d2c340967c6214c3b210bec7fb5073517df5c2cb044fb9a51ae
7
- data.tar.gz: ee4ba71fe8e4bbe8866bef686fb87ccd9dda2550e7220f7dde4c52bf678d14f39b909206e6aa27fe1bce51a92d75c161568317cf4330d19f9536866737030d33
6
+ metadata.gz: 05a255d5eb10bbda6fe338e37b6d69a445407fa5db5b020c2bc3ed4baa609da7748f77f81074a3b3d2e53c394e1d91594e837151b836d7857fb44bc4629caa15
7
+ data.tar.gz: de5fa39ee27988af7eae21d64c6159be886b3b202e581f6b52a659136c9508a4ff80975c9cee9c7db4c6940cf632dfe8188ba0b487b7b4c1bf0799193c42f21c
@@ -40,6 +40,7 @@ module AsciiTree
40
40
  chars = remove_parentheses(chars)
41
41
 
42
42
  word = chars.join
43
+ word.strip!
43
44
 
44
45
  if word.end_with?("}")
45
46
  id, tail = word.split("{", 2)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ascii_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Patuzzo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-02 00:00:00.000000000 Z
11
+ date: 2015-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec