html_to_prosemirror 0.3.1 → 0.3.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: 15936d0d54eaaa75148d8ef9da299e35c2933904f33e32a61ac89d0199d6dd08
4
- data.tar.gz: 60c292097308090f497bd47c24a1d30f70aea6fd1bf797f260bb9c2717d1de0f
3
+ metadata.gz: d12b016223092813c941045685d6facf42fe30ae9127e993801da3c1b1bc3b01
4
+ data.tar.gz: eaeaef1bb94b6d1fbabff5aaf9adff76b216c991f9792058f335835fe019aa94
5
5
  SHA512:
6
- metadata.gz: 19545ace09ad128d21c0803dd930be789414c4c049ceb93b55f3b439a552b6a7fae9360d14d22d75cee06754cc0e14fe0fef634353ac8e30f558cc08ac0ce5e3
7
- data.tar.gz: f3da452f0b622d24e9c8da25b90583beb56025670f730db596485885548fbbe8324a7d772e1651e42725604f325a49825248450384a158f0894e5c1730a2f3fb
6
+ metadata.gz: d9a3cb1163b0945a7d0ad45237373e6be0765857e2284d1963e2984cb5ac3180810b3fa7ee8c2e74fb6fca80e2c56282d4f204632e0c66fa3ab86693a54b75bb
7
+ data.tar.gz: c485909e7fcb395632209a2b0aaaa1fcb767afed767919221c88bb984861d8b6e4b58c282fc667fcbe04c511e0d0fb3fac0b519f01be5e94e0e8c521540b9e22
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # HtmlToProsemirror
2
2
 
3
+ > [!WARNING]
4
+ > **This gem is deprecated.** Use [`prosemirror`](https://github.com/etaminstudio/prosemirror) instead, from the same maintainers: `Prosemirror.from_html(html).to_h`. Its JSON follows the schema, as Tiptap's `generateJSON` does, it reads more elements and inline styles, and it also imports Markdown and renders HTML with the same schema. See the [migration guide](https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md).
5
+ >
6
+ > This gem won't get new features.
7
+
3
8
  Takes HTML and outputs ProseMirror compatible JSON.
4
9
 
5
10
  A logical port to Ruby from https://github.com/scrumpy/html-to-prosemirror
@@ -6,13 +6,14 @@ require "html_to_prosemirror/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "html_to_prosemirror"
8
8
  spec.version = HtmlToProsemirror::VERSION
9
- spec.authors = ["Brian Kimball"]
10
- spec.email = ["bvkimball@gmail.com"]
9
+ spec.authors = ["Hans Lemuet", "Brian Kimball"]
10
+ spec.email = ["hans@etamin.studio", "bvkimball@gmail.com"]
11
11
 
12
- spec.summary = %q{Takes HTML and outputs ProseMirror compatible JSON.}
13
- spec.description = %q{Takes HTML and outputs ProseMirror compatible JSON.}
12
+ spec.summary = %q{Deprecated: use the prosemirror gem. Takes HTML and outputs ProseMirror compatible JSON.}
13
+ spec.description = %q{Deprecated in favor of the prosemirror gem. Takes HTML and outputs ProseMirror compatible JSON.}
14
14
  spec.homepage = "https://github.com/etaminstudio/html_to_prosemirror"
15
15
  spec.license = "MIT"
16
+ spec.post_install_message = "html_to_prosemirror is deprecated: use the prosemirror gem instead. Migration guide: https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md"
16
17
 
17
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
19
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -1,3 +1,3 @@
1
1
  module HtmlToProsemirror
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_to_prosemirror
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
+ - Hans Lemuet
7
8
  - Brian Kimball
9
+ autorequire:
8
10
  bindir: exe
9
11
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
12
+ date: 2026-10-24 00:00:00.000000000 Z
11
13
  dependencies:
12
14
  - !ruby/object:Gem::Dependency
13
15
  name: bundler
@@ -79,8 +81,10 @@ dependencies:
79
81
  - - ">="
80
82
  - !ruby/object:Gem::Version
81
83
  version: '0'
82
- description: Takes HTML and outputs ProseMirror compatible JSON.
84
+ description: Deprecated in favor of the prosemirror gem. Takes HTML and outputs ProseMirror
85
+ compatible JSON.
83
86
  email:
87
+ - hans@etamin.studio
84
88
  - bvkimball@gmail.com
85
89
  executables: []
86
90
  extensions: []
@@ -126,6 +130,8 @@ homepage: https://github.com/etaminstudio/html_to_prosemirror
126
130
  licenses:
127
131
  - MIT
128
132
  metadata: {}
133
+ post_install_message: 'html_to_prosemirror is deprecated: use the prosemirror gem
134
+ instead. Migration guide: https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md'
129
135
  rdoc_options: []
130
136
  require_paths:
131
137
  - lib
@@ -140,7 +146,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
146
  - !ruby/object:Gem::Version
141
147
  version: '0'
142
148
  requirements: []
143
- rubygems_version: 4.0.3
149
+ rubygems_version: 3.5.22
150
+ signing_key:
144
151
  specification_version: 4
145
- summary: Takes HTML and outputs ProseMirror compatible JSON.
152
+ summary: 'Deprecated: use the prosemirror gem. Takes HTML and outputs ProseMirror
153
+ compatible JSON.'
146
154
  test_files: []