bitclust-core 1.2.2 → 1.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a07096751a66168972975f5aa732d470cc72e139e0ac59cf94a29d1dbd1a589e
4
- data.tar.gz: ab596caaca4be81031f7bc326e9ba05f48c1027046788123bcaf049f4e576e7a
3
+ metadata.gz: 94f3a7d84e6ccb0b60fcbcc2e23ca19661aa512d9eb69dda80b32ac29da04ff2
4
+ data.tar.gz: 335894f455649c9a5c187b2a336223d784d1a5102ea69f06048802298cea68b7
5
5
  SHA512:
6
- metadata.gz: 774d173f3ea9e6d0a33beb8e3de32cae7721483b7e7c247680a47f12a22d122379bfddab718eb1ba0d543b2a29d33a72efc945d63ea1ffd83d014cbb590a7db1
7
- data.tar.gz: e04a73ccfb8f960e874957530140f0a3e3ca1a6c13178957640c89d9d0adbeb68e4be4ec9ece7b98c22d6101d9b7bb123595ee476d5cb85131e6c4150a5316df
6
+ metadata.gz: 3d684142323c35f919ba7b2e2d5f708a564c502f39401187cdac0260c96f3601e52cace12aefd27f19ce21cf435eab160a9a1685a8ebde9e5b6d734cbe77704a
7
+ data.tar.gz: d7ac91878f4bd85468a0784f2af3093ebe5162b8174d84a828f5effcd4ad8f2d6655c3a429a2e520fb752d7360aa884039c186a6e32f72b9edbed7d297cc1f1a
@@ -10,6 +10,10 @@ All Functions
10
10
  関数一覧
11
11
  All Libraries
12
12
  ライブラリ一覧
13
+ Ancestor Methods
14
+ 継承しているメソッド
15
+ Ancestor Methods %s
16
+ %sから継承しているメソッド
13
17
  Builtin
14
18
  組み込み
15
19
  Builtin Library
@@ -8,7 +8,7 @@
8
8
  <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
9
9
  <script type="text/javascript" src="<%=h js_url() %>"></script>
10
10
  <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
11
- <title><%=h @title %> (Ruby <%=h ruby_version %>)</title>
11
+ <title><%=h @title %> (Ruby <%=h ruby_version %> リファレンスマニュアル)</title>
12
12
  <meta name="description" content="<%=h @description %>">
13
13
  </head>
14
14
  <body>
@@ -81,6 +81,30 @@
81
81
  <% end %>
82
82
  </dl>
83
83
 
84
+ <%
85
+ _myself, *ancestors = @entry.ancestors.reject { |c| %w[Object Kernel BasicObject].include?(c.name) }
86
+ displayed_methods = Set.new(ents.instance_methods.map(&:name))
87
+ %>
88
+
89
+ <% unless ancestors.empty? %>
90
+ <%= headline(_("Ancestor Methods")) %>
91
+ <dl>
92
+ <% ancestors.each do |c|
93
+ methods = c.partitioned_entries(@alevel).instance_methods
94
+ .reject { |m| displayed_methods.include?(m.name) }
95
+ next if methods.empty? %>
96
+ <dt><%= _('Ancestor Methods %s', c.name) %></dt>
97
+ <dd>
98
+ <% methods.each do |m| %>
99
+ <%= method_link(m.spec_string, m.name) %>
100
+ <% displayed_methods << m.name %>
101
+ <% end %>
102
+ </dd>
103
+ <%
104
+ end
105
+ end %>
106
+ </dl>
107
+
84
108
  <%
85
109
  items.each do |label, entries|
86
110
  unless entries.empty? %>
@@ -5,6 +5,7 @@
5
5
  <%= meta_robots %>
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=<%=h charset() %>">
7
7
  <meta http-equiv="Content-Language" content="ja-JP">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
  <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
9
10
  <link rel="stylesheet" type="text/css" href="<%=h custom_css_url("syntax-highlight.css") %>">
10
11
  <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
@@ -1,3 +1,3 @@
1
1
  module BitClust
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
@@ -123,6 +123,7 @@ pre {
123
123
  background-color: #f2f2f2;
124
124
  padding: 1.1em;
125
125
  font-weight: normal;
126
+ overflow: auto;
126
127
  }
127
128
 
128
129
  pre.highlight {
@@ -312,3 +313,23 @@ hr {
312
313
  top: 15px;
313
314
  right: 10px;
314
315
  }
316
+
317
+ @media only screen and (max-width:425px) {
318
+ table.entries tr {
319
+ display: block;
320
+ }
321
+ td.signature {
322
+ display: block;
323
+ width: inherit;
324
+ text-indent: 0em !important;
325
+ }
326
+ td.description {
327
+ display: block;
328
+ }
329
+ dd {
330
+ margin: 0.3em 0em 1em 1em;
331
+ }
332
+ p {
333
+ overflow-wrap: break-word;
334
+ }
335
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitclust-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://github.com/rurema
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -251,19 +251,19 @@ signing_key:
251
251
  specification_version: 4
252
252
  summary: BitClust is a rurema document processor.
253
253
  test_files:
254
- - test/test_syntax_highlighter.rb
255
- - test/test_libraryentry.rb
254
+ - test/test_nameutils.rb
255
+ - test/run_test.rb
256
+ - test/test_methodsignature.rb
257
+ - test/test_rrdparser.rb
256
258
  - test/test_refsdatabase.rb
259
+ - test/test_libraryentry.rb
257
260
  - test/test_rdcompiler.rb
258
- - test/test_methoddatabase.rb
259
- - test/test_simplesearcher.rb
260
261
  - test/test_functionreferenceparser.rb
261
- - test/test_entry.rb
262
- - test/run_test.rb
263
- - test/test_preprocessor.rb
264
- - test/test_nameutils.rb
265
- - test/test_functiondatabase.rb
266
- - test/test_rrdparser.rb
267
- - test/test_methodsignature.rb
268
262
  - test/test_runner.rb
263
+ - test/test_syntax_highlighter.rb
269
264
  - test/test_bitclust.rb
265
+ - test/test_functiondatabase.rb
266
+ - test/test_entry.rb
267
+ - test/test_methoddatabase.rb
268
+ - test/test_simplesearcher.rb
269
+ - test/test_preprocessor.rb