darkmouun 3.2.3 → 3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90ce8f29c215c98168839affefc593f94f3007be3da00fb27104b07b2db1a75d
4
- data.tar.gz: '0283cb484bb9539e23f69e4e973e2a9e29e25a8ee471ca927d541c3913dfbeff'
3
+ metadata.gz: e300596f50a394d2cf2b9b92d1ffb427b0555ab91173fe580e9a4c87cb6b6e39
4
+ data.tar.gz: d8e07c18ba3d43254df352800cda04074d61b9e5bbcd8300eb9560589f7a4e02
5
5
  SHA512:
6
- metadata.gz: 103e1724eca893fca526716009a5776808f56e2167e86ff4c0a5c9851cdd8fda12b95e2bc5451afc6f5b3c7fe728c389a7b74aa2bef4b56e0f79b852a5e1ada0
7
- data.tar.gz: 04dcf274659028ceaefffd838932c8ce4f641dbd93281f27591b7c18ca68e768072cef2ead420c0887de21e92c8b4849a28a720936c8bc86be193039415a38a2
6
+ metadata.gz: 44c3d60ae3c545f537ac8236f94029779a4e1c8f2bb3b5305c6f3bebaedf8bf6d287411de98a7732dfec26f8b55b7b5ace7fbbf550cabd301a217122e1d02894
7
+ data.tar.gz: 543255119c397d36fb7c717be4145488180d795c9fba0153beb16f472b7c23480f40e54456aa9439fb89f176b74af332ab72f7680c88bc4c208a71a7c7cf97fc
data/README.md CHANGED
@@ -92,7 +92,7 @@ BODY #=> <p>The Calculation:</p>
92
92
 
93
93
  Darkmouun has extended to kramdown. Extensions are below;
94
94
 
95
- 1. **Plain span element form.** `[spanned phrase]` is converted to `<span>spanned phrase</span>`.<br/>**ATTENSION:** You must add IAL with it. Without IAL, No conversion is done.<br/>**ex.** `[spanned phrase]{:#some_id .some_class style="color:red;"}`
95
+ 1. **Plain span element form.** `[spanned phrase]` is converted to `<span>spanned phrase</span>`.<br/>**ATTENSION:** You must add IAL with it (the special IAL {::} is available). Without IAL, No conversion is done.<br/>**ex.** `[spanned phrase]{:#some_id .some_class style="color:red;"}`
96
96
 
97
97
  2. **Style IAL form.** `%attritute_name:value;` in IAL is converted to `style="attribute_name:value;"`.<br/>**ex.** `{:%color:#ffffff; %font-weight:bold;}` -> `style="color:#ffffff; font-weight:bold;"`<br/>**ATTENSION:** Every attribute must be started from "`%`" and ended with "`;`".
98
98
 
@@ -7,7 +7,7 @@ module Kramdown
7
7
  class Html
8
8
  def convert_span(el, indent)
9
9
  if el.attr.empty?
10
- "[#{inner(el, indent)}]"
10
+ "<span>#{inner(el, indent)}</span>"
11
11
  else
12
12
  format_as_span_html('span', el.attr, inner(el, indent))
13
13
  end
@@ -60,7 +60,7 @@ module Darkmouun
60
60
  yaml.compact.each do |k, v|
61
61
  obj_spot_template.define_singleton_method(k){ v }
62
62
  end
63
- obj_spot_template.render + "\n"
63
+ obj_spot_template.render + "\n\n"
64
64
  rescue => e
65
65
  e.class.new("**ERROR in Mustache-process:**\n\n#{e.message}\n\nThis was caused by the following defnition.\n\n #{s}\n\n")
66
66
  end
@@ -1,3 +1,3 @@
1
1
  module Darkmouun
2
- VERSION = "3.2.3"
2
+ VERSION = "3.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darkmouun
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akinori Ichigo
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-04-26 00:00:00.000000000 Z
10
+ date: 2025-08-11 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -126,7 +125,6 @@ metadata:
126
125
  homepage_uri: https://github.com/akinori-ichigo/darkmouun
127
126
  source_code_uri: https://github.com/akinori-ichigo/darkmouun
128
127
  changelog_uri: https://github.com/akinori-ichigo/darkmouun
129
- post_install_message:
130
128
  rdoc_options: []
131
129
  require_paths:
132
130
  - lib
@@ -141,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
139
  - !ruby/object:Gem::Version
142
140
  version: '0'
143
141
  requirements: []
144
- rubygems_version: 3.5.9
145
- signing_key:
142
+ rubygems_version: 3.6.3
146
143
  specification_version: 4
147
144
  summary: The Processting tool from Markdown to HTML
148
145
  test_files: []