prosemirror_to_html 0.4.0 → 0.4.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: aa4a2d6f0e0e0478ae5eddd0f8024bfee0a3a87af1c7039f2e9b2e42d6b8dfce
4
- data.tar.gz: 39f9b61a9ace8c399beb416e60e78a5b6a42102ebd3d5ae1a3841959d3aa3398
3
+ metadata.gz: 1ca8ddaa7d71d39eb954baaa2c5e512625a4bcb604bbbfbccdeff806cd7720d7
4
+ data.tar.gz: e6322b6bba5bf370b7e7efa471ead3034d7c0661c4989b2b208f413ce37ddb9a
5
5
  SHA512:
6
- metadata.gz: cefafdf1e45d0f76695fc0aafe3b45f9f4d7df3fd4c14c4832f20d1122d813e1a303833084c70e2647d4727bffea5a7a6fe5a984ec3a5deacdf73e262b2b1ea2
7
- data.tar.gz: ac1023217710f151bb0225796e3d1ebe97a3c3b2997d54d3160848411d58394ed5eef4403d90d242ebf1fa4a3dbaea76e7e2fa7546df25ccb588541d43efd646
6
+ metadata.gz: f7e9088612cf95311c521aca3322cf64cf998f09e38d07de2abc1dc51c0506d2c484d9b5bc8c89d79ec45ee213cd1c02e8b23be55e039c70c0db0dbe96e5501f
7
+ data.tar.gz: b83a368520eb3cc22fa4d042d9ec7304410e26282c299dabef2d547f793ed4a78531cb88693429dcc1e0f656536c300d6495d08601b095c777707d36cb188589
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.4.1] - 2026-10-24
2
+
3
+ ### Deprecated
4
+
5
+ - This gem is deprecated in favor of [prosemirror](https://github.com/etaminstudio/prosemirror), from the same maintainers: see the [migration guide](https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md). Installing it shows a message pointing there.
6
+
1
7
  ## [0.4.0] - 2026-08-12
2
8
 
3
9
  ### Security
data/README.md CHANGED
@@ -1,43 +1,18 @@
1
1
  # ProsemirrorToHtml
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/prosemirror_to_html`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ > [!WARNING]
4
+ > **This gem is deprecated.** Use [`prosemirror`](https://github.com/etaminstudio/prosemirror) instead, from the same maintainers. It builds the HTML with Phlex, which escapes text and attribute values as it writes them, types attributes and only allows safe URL schemes, instead of building strings and cleaning them up afterwards. It also imports HTML and Markdown, and exports Markdown and text. See the [migration guide](https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md).
5
+ >
6
+ > This gem won't get new features.
4
7
 
5
- TODO: Delete this and the text above, and describe your gem
8
+ Takes ProseMirror compatible JSON and outputs HTML.
6
9
 
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
+ ## Usage
10
11
 
11
12
  ```ruby
12
- gem 'prosemirror_to_html'
13
+ ProsemirrorToHtml::Renderer.new.render(json)
13
14
  ```
14
15
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install prosemirror_to_html
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/prosemirror_to_html. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
-
37
16
  ## License
38
17
 
39
18
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
-
41
- ## Code of Conduct
42
-
43
- Everyone interacting in the ProsemirrorToHtml project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/prosemirror_to_html/blob/master/CODE_OF_CONDUCT.md).
@@ -1,3 +1,3 @@
1
1
  module ProsemirrorToHtml
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -9,10 +9,11 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Hans Lemuet", "Brian Kimball"]
10
10
  spec.email = ["hans@etamin.studio", "bvkimball@gmail.com"]
11
11
 
12
- spec.summary = %q{Takes ProseMirror compatible JSON and outputs HTML.}
13
- spec.description = %q{Takes ProseMirror compatible JSON and outputs HTML.}
12
+ spec.summary = %q{Deprecated: use the prosemirror gem. Takes ProseMirror compatible JSON and outputs HTML.}
13
+ spec.description = %q{Deprecated in favor of the prosemirror gem. Takes ProseMirror compatible JSON and outputs HTML.}
14
14
  spec.homepage = "https://github.com/etaminstudio/prosemirror_to_html"
15
15
  spec.license = "MIT"
16
+ spec.post_install_message = "prosemirror_to_html is deprecated: use the prosemirror gem instead. Migration guide: https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md"
16
17
 
17
18
 
18
19
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prosemirror_to_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hans Lemuet
8
8
  - Brian Kimball
9
+ autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 1980-01-02 00:00:00.000000000 Z
12
+ date: 2026-10-24 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -94,7 +95,8 @@ dependencies:
94
95
  - - ">="
95
96
  - !ruby/object:Gem::Version
96
97
  version: '0'
97
- description: Takes ProseMirror compatible JSON and outputs HTML.
98
+ description: Deprecated in favor of the prosemirror gem. Takes ProseMirror compatible
99
+ JSON and outputs HTML.
98
100
  email:
99
101
  - hans@etamin.studio
100
102
  - bvkimball@gmail.com
@@ -148,6 +150,8 @@ homepage: https://github.com/etaminstudio/prosemirror_to_html
148
150
  licenses:
149
151
  - MIT
150
152
  metadata: {}
153
+ post_install_message: 'prosemirror_to_html is deprecated: use the prosemirror gem
154
+ instead. Migration guide: https://github.com/etaminstudio/prosemirror/blob/main/MIGRATING.md'
151
155
  rdoc_options: []
152
156
  require_paths:
153
157
  - lib
@@ -162,7 +166,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
166
  - !ruby/object:Gem::Version
163
167
  version: '0'
164
168
  requirements: []
165
- rubygems_version: 4.0.16
169
+ rubygems_version: 3.5.22
170
+ signing_key:
166
171
  specification_version: 4
167
- summary: Takes ProseMirror compatible JSON and outputs HTML.
172
+ summary: 'Deprecated: use the prosemirror gem. Takes ProseMirror compatible JSON and
173
+ outputs HTML.'
168
174
  test_files: []