treely 1.0.5 → 1.0.6

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/lib/treely.rb +1 -1
  3. data/lib/treely/tree.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bec0d1ca8e19d52eeff6dbf056518ad4e19cced1abcd8f9d56ade1c0598064f
4
- data.tar.gz: bfe3492ea4e59c7e1224fa60e4253944094ff43a8b87a70609844214833d55c0
3
+ metadata.gz: 3ada2893182b188a97d04a1844edbb4dab5265be041acc9cebbc6fa1c27a94d9
4
+ data.tar.gz: e7eda4c56eb35c0e23089f52ccf3005abfb57b2c67b1597a97c4390a232b1e57
5
5
  SHA512:
6
- metadata.gz: c70eaf3f2ff1bc59168af0d7a3af2f804bc0dfd16ad041872d2cc6596135225e5e72ba8fe236e5ee8724af7320b0e4f759e10b9762b0c11e33df908359a797a6
7
- data.tar.gz: 47e31cb8706f82f9fcfcfe23da012cb2e8e3893f6ae3ba1fb9584061eed6544fd0137de6c9a70e8993302d5b437df4b627c6e0279df976195f6c6bc9ba82f715
6
+ metadata.gz: f54267ed8875380568156048cff035f281c5b635a9f9bfd64dfc783b621dfee1c3c9a5fe5e8973910cb94863447ae80466fad78b7a439608b7d28033495eccf5
7
+ data.tar.gz: 611dec22b0e4cd79db1987658dc59ec4131e2a1ef0fc57fedf71befd5d3d5b5b1c665ad204428e5f428d5e4f415b1cbe246e88721790cbf1264b8e0163f2f937
@@ -12,5 +12,5 @@ module Treely
12
12
  configuration.send(name)
13
13
  end
14
14
 
15
- self.const_set 'version'.upcase, '1.0.5'
15
+ self.const_set 'version'.upcase, '1.0.6'
16
16
  end
@@ -18,12 +18,12 @@ module Treely
18
18
  @contents << @style[index.zero? ? :dot : :bar]
19
19
  @contents << @style[:new_line]
20
20
  @contents << args.map { |name| @style[name] }.join
21
- @contents << @style[source[index + 1] ? :branch : :last_branch]
21
+ @contents << @style[source[index.next] ? :branch : :last_branch]
22
22
  @contents << item.fetch(:name)
23
23
  @contents << @style[:new_line]
24
24
 
25
25
  if item.has_key?(:contents)
26
- treely item[:contents], *args, (source[index + 1] ? :bar : :indent)
26
+ treely item[:contents], *args, (source[index.next] ? :bar : :indent)
27
27
  end
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: treely
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - matark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-19 00:00:00.000000000 Z
11
+ date: 2019-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest