object_tree 1.1.0 → 1.1.1

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: b30cc4942aec265a2dfbf49c18e230832ad33219
4
- data.tar.gz: 178887b73d9d696305a3cc599a5d6ee37acb234a
3
+ metadata.gz: 48a70e1f39f76b5b4d419624b530d39f2c46ad68
4
+ data.tar.gz: bcd13d918131b0e05c5cb8e92d4d99106bcaa73c
5
5
  SHA512:
6
- metadata.gz: b6974ad0855668d3fe755933e8f3db0fa246fab21898d63bb59cc216ea40d4c385cbd78f341e8ea6e06a9ff66540a70be1ad5704cc060198daf7916ddcaa0e34
7
- data.tar.gz: df92457817a93efa8b98437b87d9017e49df00c4533feefdbc12a91ea45b8e4d10a59a30df1016e7dd56dfd0820691fe60d0295c8ee72ba4147522f61611f472
6
+ metadata.gz: 9884f766ad86366782885190ee7c5922044d051be2092fa0a39d542ff06811d8b18d20651d171e036312fea211c14c0fd6bc4e16ba28355e3cb81e4992ceb456
7
+ data.tar.gz: e7bfa5bde66845911bc8c716e3ba95293e8cb9b7f58e6584d562bfabf12686742f492fc670dab131069f765b3fce0a93bb6fdaf7ccd85546077f44e635260d3c
data/README.md CHANGED
@@ -82,7 +82,7 @@ output
82
82
  can use from terminal by using `rotree` command.
83
83
 
84
84
  ```
85
- $ rotree Numeric [master]
85
+ $ rotree Numeric
86
86
  ```
87
87
 
88
88
  Ruby 2.3.3
data/lib/object_tree.rb CHANGED
@@ -46,7 +46,7 @@ class ObjectTree
46
46
 
47
47
  while sub = modules.shift
48
48
  next if OPTIONS[:exclude].include?(sub.to_s)
49
- @tree[path.join('/')] << sub.to_s
49
+ @tree[path.join('/')] << sub
50
50
  @queue << get_line(end_line: modules.empty?, space: space)
51
51
  parse(sub, space + get_space(end_line: modules.empty?), path: path.dup)
52
52
  end
@@ -1,3 +1,3 @@
1
1
  class ObjectTree
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - siman-man