sdoc 2.3.0 → 2.3.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rdoc/generator/template/rails/resources/js/searchdoc.js +6 -3
- data/lib/sdoc/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e67a1af735e6d99e230315844ab3357adcb2973e8ce5fda71668aad1112ea27
|
|
4
|
+
data.tar.gz: a7fed31e88dc98819ac04f6f694951eaa7f1eef0a2f275322615fb9c34342d0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42f3981b9109357ae7dfd4390a9c2db0c11ae4c94830105dbbedc69bf03d0dcaff884ea55d210895193e72120550cda0eb5f371cd6b8d3a059e3c6303675eaac
|
|
7
|
+
data.tar.gz: af093018205de17fa0e429d7b6e2b2ce140613609aa93004cda25e14bcd9fb655b5f5c6621fc0136b6faa1604520cb9edace3ffc8f52abdb250d64d05a99564d
|
data/CHANGELOG.md
CHANGED
|
@@ -89,7 +89,6 @@ Searchdoc.Navigation = new function() {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
this.startMoveTimeout = function(isDown) {
|
|
92
|
-
if (!$.browser.mozilla && !$.browser.opera) return;
|
|
93
92
|
if (this.moveTimeout) this.clearMoveTimeout();
|
|
94
93
|
var _this = this;
|
|
95
94
|
|
|
@@ -231,8 +230,12 @@ Searchdoc.Panel.prototype = $.extend({}, Searchdoc.Navigation, new function() {
|
|
|
231
230
|
};
|
|
232
231
|
|
|
233
232
|
this.open = function(src) {
|
|
234
|
-
var
|
|
235
|
-
|
|
233
|
+
var location = $('meta[name="data-rel-prefix"]').attr("content") + src;
|
|
234
|
+
if (window.location.protocol === "file:") {
|
|
235
|
+
window.location.href = location;
|
|
236
|
+
} else {
|
|
237
|
+
Turbolinks.visit(location);
|
|
238
|
+
}
|
|
236
239
|
if (this.highlight) this.highlight(src);
|
|
237
240
|
};
|
|
238
241
|
|
data/lib/sdoc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sdoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vladimir Kolesnikov
|
|
8
8
|
- Nathan Broadbent
|
|
9
9
|
- Jean Mertz
|
|
10
10
|
- Zachary Scott
|
|
11
|
-
autorequire:
|
|
11
|
+
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2022-
|
|
14
|
+
date: 2022-02-13 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rdoc
|
|
@@ -113,7 +113,7 @@ homepage: https://github.com/zzak/sdoc
|
|
|
113
113
|
licenses:
|
|
114
114
|
- MIT
|
|
115
115
|
metadata: {}
|
|
116
|
-
post_install_message:
|
|
116
|
+
post_install_message:
|
|
117
117
|
rdoc_options:
|
|
118
118
|
- "--charset=UTF-8"
|
|
119
119
|
require_paths:
|
|
@@ -129,8 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
130
|
version: 1.3.6
|
|
131
131
|
requirements: []
|
|
132
|
-
rubygems_version: 3.
|
|
133
|
-
signing_key:
|
|
132
|
+
rubygems_version: 3.0.3
|
|
133
|
+
signing_key:
|
|
134
134
|
specification_version: 4
|
|
135
135
|
summary: rdoc html with javascript search index.
|
|
136
136
|
test_files: []
|