voloko-sdoc 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/sdoc/merge.rb +2 -2
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 3
3
+ :patch: 4
4
4
  :major: 0
data/lib/sdoc/merge.rb CHANGED
@@ -62,7 +62,7 @@ class SDoc::Merge
62
62
  subtree = JSON.parse data
63
63
  item = [
64
64
  name,
65
- @indexes[name]["index"]["info"][0][2],
65
+ name + '/' + extract_index_path(dir),
66
66
  '',
67
67
  append_path(subtree, name)
68
68
  ]
@@ -97,7 +97,7 @@ class SDoc::Merge
97
97
  searchIndex = subindex["index"]["searchIndex"]
98
98
  longSearchIndex = subindex["index"]["longSearchIndex"]
99
99
  subindex["index"]["info"].each_with_index do |info, j|
100
- info[2] = name + '/' + extract_index_path(dir)
100
+ info[2] = name + '/' + info[2]
101
101
  info[6] = i
102
102
  items << {
103
103
  :info => info,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voloko-sdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodya Kolesnikov