html_to_prosemirror 0.3.0 → 0.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 +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/RELEASE.md +2 -2
- data/html_to_prosemirror.gemspec +1 -1
- data/lib/html_to_prosemirror/nodes/blockquote.rb +16 -0
- data/lib/html_to_prosemirror/version.rb +1 -1
- data/lib/html_to_prosemirror.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15936d0d54eaaa75148d8ef9da299e35c2933904f33e32a61ac89d0199d6dd08
|
|
4
|
+
data.tar.gz: 60c292097308090f497bd47c24a1d30f70aea6fd1bf797f260bb9c2717d1de0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19545ace09ad128d21c0803dd930be789414c4c049ceb93b55f3b439a552b6a7fae9360d14d22d75cee06754cc0e14fe0fef634353ac8e30f558cc08ac0ce5e3
|
|
7
|
+
data.tar.gz: f3da452f0b622d24e9c8da25b90583beb56025670f730db596485885548fbbe8324a7d772e1651e42725604f325a49825248450384a158f0894e5c1730a2f3fb
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
html_to_prosemirror (0.3.
|
|
4
|
+
html_to_prosemirror (0.3.1)
|
|
5
5
|
nokogiri
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -60,7 +60,7 @@ DEPENDENCIES
|
|
|
60
60
|
|
|
61
61
|
CHECKSUMS
|
|
62
62
|
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
63
|
-
html_to_prosemirror (0.3.
|
|
63
|
+
html_to_prosemirror (0.3.1)
|
|
64
64
|
nokogiri (1.19.1-aarch64-linux-gnu) sha256=cfdb0eafd9a554a88f12ebcc688d2b9005f9fce42b00b970e3dc199587b27f32
|
|
65
65
|
nokogiri (1.19.1-aarch64-linux-musl) sha256=1e2150ab43c3b373aba76cd1190af7b9e92103564063e48c474f7600923620b5
|
|
66
66
|
nokogiri (1.19.1-arm-linux-gnu) sha256=0a39ed59abe3bf279fab9dd4c6db6fe8af01af0608f6e1f08b8ffa4e5d407fa3
|
data/README.md
CHANGED
|
@@ -36,7 +36,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
36
36
|
|
|
37
37
|
## Contributing
|
|
38
38
|
|
|
39
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
39
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/etaminstudio/html_to_prosemirror. 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.
|
|
40
40
|
|
|
41
41
|
## License
|
|
42
42
|
|
data/RELEASE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Releasing a new version of html_to_prosemirror
|
|
2
2
|
|
|
3
3
|
1. Create a list of all the changes since the prior release
|
|
4
|
-
1. Compare the latest release to master using https://github.com/
|
|
4
|
+
1. Compare the latest release to master using https://github.com/etaminstudio/html_to_prosemirror/compare/`${latest}`...master
|
|
5
5
|
1. Open the linked pull requests from all the `Merge pull request #...` commits
|
|
6
6
|
1. For all non-documentation PRs, copy title (including pull request number) into markdown list items
|
|
7
7
|
1. (optional, but nice) Sort into logical buckets, like "support for additional endpoints", "enhancements", "bugfixes"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
1. Update the constant in `lib/html_to_prosemirror/version.rb`
|
|
12
12
|
1. Commit and push directly to master
|
|
13
13
|
1. Run the `script/release` script to cut a release
|
|
14
|
-
1. Draft a new release at https://github.com/
|
|
14
|
+
1. Draft a new release at https://github.com/etaminstudio/html_to_prosemirror.rb/releases/new containing the curated changelog
|
|
15
15
|
|
|
16
16
|
## Prerequisites
|
|
17
17
|
|
data/html_to_prosemirror.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{Takes HTML and outputs ProseMirror compatible JSON.}
|
|
13
13
|
spec.description = %q{Takes HTML and outputs ProseMirror compatible JSON.}
|
|
14
|
-
spec.homepage = "https://github.com/
|
|
14
|
+
spec.homepage = "https://github.com/etaminstudio/html_to_prosemirror"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
data/lib/html_to_prosemirror.rb
CHANGED
|
@@ -5,6 +5,7 @@ require "html_to_prosemirror/marks/code"
|
|
|
5
5
|
require "html_to_prosemirror/marks/italic"
|
|
6
6
|
require "html_to_prosemirror/marks/link"
|
|
7
7
|
require "html_to_prosemirror/nodes/node"
|
|
8
|
+
require "html_to_prosemirror/nodes/blockquote"
|
|
8
9
|
require "html_to_prosemirror/nodes/bullet_list"
|
|
9
10
|
require "html_to_prosemirror/nodes/code_block_wrapper"
|
|
10
11
|
require "html_to_prosemirror/nodes/code_block"
|
|
@@ -31,6 +32,7 @@ module HtmlToProsemirror
|
|
|
31
32
|
HtmlToProsemirror::Marks::Link
|
|
32
33
|
]
|
|
33
34
|
@nodes = [
|
|
35
|
+
HtmlToProsemirror::Nodes::Blockquote,
|
|
34
36
|
HtmlToProsemirror::Nodes::BulletList,
|
|
35
37
|
HtmlToProsemirror::Nodes::CodeBlockWrapper,
|
|
36
38
|
HtmlToProsemirror::Nodes::CodeBlock,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html_to_prosemirror
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Kimball
|
|
@@ -106,6 +106,7 @@ files:
|
|
|
106
106
|
- lib/html_to_prosemirror/marks/italic.rb
|
|
107
107
|
- lib/html_to_prosemirror/marks/link.rb
|
|
108
108
|
- lib/html_to_prosemirror/marks/mark.rb
|
|
109
|
+
- lib/html_to_prosemirror/nodes/blockquote.rb
|
|
109
110
|
- lib/html_to_prosemirror/nodes/bullet_list.rb
|
|
110
111
|
- lib/html_to_prosemirror/nodes/code_block.rb
|
|
111
112
|
- lib/html_to_prosemirror/nodes/code_block_wrapper.rb
|
|
@@ -121,7 +122,7 @@ files:
|
|
|
121
122
|
- lib/html_to_prosemirror/version.rb
|
|
122
123
|
- scripts/package
|
|
123
124
|
- scripts/release
|
|
124
|
-
homepage: https://github.com/
|
|
125
|
+
homepage: https://github.com/etaminstudio/html_to_prosemirror
|
|
125
126
|
licenses:
|
|
126
127
|
- MIT
|
|
127
128
|
metadata: {}
|