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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +7 -32
- data/lib/prosemirror_to_html/version.rb +1 -1
- data/prosemirror_to_html.gemspec +3 -2
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ca8ddaa7d71d39eb954baaa2c5e512625a4bcb604bbbfbccdeff806cd7720d7
|
|
4
|
+
data.tar.gz: e6322b6bba5bf370b7e7efa471ead3034d7c0661c4989b2b208f413ce37ddb9a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
8
|
+
Takes ProseMirror compatible JSON and outputs HTML.
|
|
6
9
|
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
Add this line to your application's Gemfile:
|
|
10
|
+
## Usage
|
|
10
11
|
|
|
11
12
|
```ruby
|
|
12
|
-
|
|
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).
|
data/prosemirror_to_html.gemspec
CHANGED
|
@@ -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.
|
|
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:
|
|
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:
|
|
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:
|
|
169
|
+
rubygems_version: 3.5.22
|
|
170
|
+
signing_key:
|
|
166
171
|
specification_version: 4
|
|
167
|
-
summary: Takes ProseMirror compatible JSON and
|
|
172
|
+
summary: 'Deprecated: use the prosemirror gem. Takes ProseMirror compatible JSON and
|
|
173
|
+
outputs HTML.'
|
|
168
174
|
test_files: []
|