reverse_adoc 2.0.1 → 2.0.2

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: f001bed15179069c3cf7f80c084eea563df4f8dacff7288fca4294a73e331ed9
4
- data.tar.gz: 381680a22721c5df61c7dce5151a2905bca961146f7c2eae5568c3b80c023b98
3
+ metadata.gz: 8fa9abf7b6bd5201e63656197d5a9cbbfbe0e7ad1853ea1b99b2e159d4b39590
4
+ data.tar.gz: bd77372ba176df06a3b9ff649d65d07ffaf1a52ecda9871908f18639200823cd
5
5
  SHA512:
6
- metadata.gz: 637b51f67c80cb7b0a2b8b36979581553e9072f16bdccffbd92ba1eee85fee939ceb97bbbf88eeba92ec6f5e2c057e89b29dfd4a015a72dd88eb0332e94f3c0d
7
- data.tar.gz: 11b0d2b61a70491a5e9ba921a84e13f781220c97a6302fcd2e7e559156ae90da3518ff7457e4852a7ddc07196cc3623d21e193fc813189ce68fa8b2713b0a8aa
6
+ metadata.gz: 951206107faafd1de2b5de3173a17ee8f2d3510f47f713ba4735f601220eb9f690a8634316e1981512a4d84e5cb6125f9434aac392ef1e10176a6bd95cb31227
7
+ data.tar.gz: 5935e52051ef4014fc4ac1444d4ca2d9591da31d910868b419311d9b425fb18668f742f6785cd41a81a0d8f80eba87afc94760a00aaa6ec899ef333ca0647d9a
data/README.adoc CHANGED
@@ -1,4 +1,10 @@
1
- = AsciiDoc from HTML: reverse_adoc
1
+ = AsciiDoc from HTML: reverse_adoc (DEPRECATED)
2
+
3
+ [DEPRECATED]
4
+ ====
5
+ reverse_adoc is retired. Depend on the `ceradoc` gem and call
6
+ `Ceradoc.convert(input, from: :html, to: :asciidoc)` directly.
7
+ ====
2
8
 
3
9
  reverse_adoc is a compatibility facade over the ceradoc monorepo (the gem
4
10
  formerly known as coradoc, renamed coradoc → coridoc → ceradoc in
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReverseAdoc
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
data/lib/reverse_adoc.rb CHANGED
@@ -4,13 +4,20 @@ require "ceradoc"
4
4
  require "ceradoc/html"
5
5
  require "ceradoc/asciidoc"
6
6
 
7
- # Compatibility entry point of the reverse_adoc gem.
7
+ # DEPRECATED: reverse_adoc is retired. The HTML-to-AsciiDoc engine lives
8
+ # in the ceradoc monorepo — depend on ceradoc and call Ceradoc.convert
9
+ # directly. This shim emits a deprecation warning on load and will be
10
+ # removed; the gem is archived.
8
11
  #
9
12
  # Since 2.0.0 reverse_adoc ships no converter code of its own: the
10
13
  # HTML-to-AsciiDoc engine moved into coradoc and now lives in the ceradoc
11
14
  # monorepo as ceradoc-html (coradoc → coridoc → ceradoc, 2026-11-25).
12
15
  # Requiring "reverse_adoc" loads that engine and delegates to its unified
13
16
  # API, so downstream `require "reverse_adoc"` calls keep working.
17
+ warn "reverse_adoc is DEPRECATED and retired: use ceradoc " \
18
+ "(Ceradoc.convert(input, from: :html, to: :asciidoc)) instead. " \
19
+ "The reverse_adoc gem will not be maintained further."
20
+
14
21
  module ReverseAdoc
15
22
  # Convert HTML to AsciiDoc.
16
23
  #
data/reverse_adoc.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
 
11
11
  s.homepage = "http://github.com/metanorma/reverse_adoc"
12
12
  s.summary = "Compatibility facade for ceradoc: generate AsciiDoc from HTML."
13
- s.description = "Compatibility facade for ceradoc: generate AsciiDoc from HTML. " \
13
+ s.description = "DEPRECATED and retired compatibility shim: the engine lives in the ceradoc gem (Ceradoc.convert). " \
14
14
  "The former reverse_adoc converter lives in the ceradoc monorepo."
15
15
  s.license = "BSD-2-Clause"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reverse_adoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -52,8 +52,8 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.1'
55
- description: 'Compatibility facade for ceradoc: generate AsciiDoc from HTML. The former
56
- reverse_adoc converter lives in the ceradoc monorepo.'
55
+ description: 'DEPRECATED and retired compatibility shim: the engine lives in the ceradoc
56
+ gem (Ceradoc.convert). The former reverse_adoc converter lives in the ceradoc monorepo.'
57
57
  email:
58
58
  - open.source@ribose.com
59
59
  executables: []