sdoc 2.3.0 → 2.3.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
  SHA256:
3
- metadata.gz: 70eb2edc18b9ea26f3e275f9e7cbe89b1ce69af8c94fe4e0757ade7d39585d65
4
- data.tar.gz: 9358e5e14fc3e26fd5c39f9ff348c4e5ee0cf569921256de2234006b5055ff68
3
+ metadata.gz: 0e67a1af735e6d99e230315844ab3357adcb2973e8ce5fda71668aad1112ea27
4
+ data.tar.gz: a7fed31e88dc98819ac04f6f694951eaa7f1eef0a2f275322615fb9c34342d0e
5
5
  SHA512:
6
- metadata.gz: d001cb3198db3cdd7db808a56d7c06325d126a73b93de6240e1826abc6a0b7ad7743b21b67e289289ed35346192164e44900702191def749a5c22ec833f39569
7
- data.tar.gz: 731ad61d0e0ac791e02050d173cc97eab604634c3e9252ed691d2714142b97c0e7f19a30fa9eddda56516fc2e3f46f7d393f0c36d3a3aaad49c28dddcbbca14c
6
+ metadata.gz: 42f3981b9109357ae7dfd4390a9c2db0c11ae4c94830105dbbedc69bf03d0dcaff884ea55d210895193e72120550cda0eb5f371cd6b8d3a059e3c6303675eaac
7
+ data.tar.gz: af093018205de17fa0e429d7b6e2b2ce140613609aa93004cda25e14bcd9fb655b5f5c6621fc0136b6faa1604520cb9edace3ffc8f52abdb250d64d05a99564d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  Master
2
2
  ======
3
3
 
4
+ 2.3.1
5
+ =====
6
+
7
+ * #183 Remove unsupported browser detection [@p8](https://github.com/p8)
8
+ * #182 Use window.location instead of Turbolinks.visit if protocol is 'file:' [@p8](https://github.com/p8)
9
+
4
10
  2.3.0
5
11
  =====
6
12
 
@@ -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 prefix = $('meta[name="data-rel-prefix"]').attr("content");
235
- Turbolinks.visit(prefix + src);
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
@@ -1,3 +1,3 @@
1
1
  module SDoc
2
- VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
3
  end
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.0
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-01-05 00:00:00.000000000 Z
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.1.6
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: []