html_to_prosemirror 0.1.0 → 0.1.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/.document +5 -0
- data/RELEASE.md +28 -0
- data/lib/html_to_prosemirror.rb +0 -1
- data/lib/html_to_prosemirror/version.rb +1 -1
- data/scripts/package +6 -0
- data/scripts/release +16 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b5af058ad7514fd19c6c84dc683e2f9deadcb7a50a5bd36210d0177e481995c
|
4
|
+
data.tar.gz: 0bee0c99a34d5a424a5fa8272b1880f6ea6294ceb40438554da838bcd1b1daee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a522f04a6d0e30cbf7204ed943c2c8c691a0961c505ca35af994bf06322799eac40bbd6201690101e0d04a217b9edcb6543ead128698879430f9e335de05a2f
|
7
|
+
data.tar.gz: 31c226082188c7e41061b37f69625540efafefe57f74fa3054a4299223f47b1cd79c2fb13b45cf0df5015b507859b30ce90db1ff69f68c5a0c96d5c92c261218
|
data/.document
ADDED
data/RELEASE.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Releasing a new version of html_to_prosemirror
|
2
|
+
|
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/inputhq/html_to_prosemirror/compare/`${latest}`...master
|
5
|
+
1. Open the linked pull requests from all the `Merge pull request #...` commits
|
6
|
+
1. For all non-documentation PRs, copy title (including pull request number) into markdown list items
|
7
|
+
1. (optional, but nice) Sort into logical buckets, like "support for additional endpoints", "enhancements", "bugfixes"
|
8
|
+
1. Reorganize to put the pull request number at the start of the line
|
9
|
+
1. Ensure there are no breaking changes _(if there are breaking changes you'll need to create a release branch without those changes or bump the major version)_
|
10
|
+
1. Update the version
|
11
|
+
1. Update the constant in `lib/html_to_prosemirror/version.rb`
|
12
|
+
1. Commit and push directly to master
|
13
|
+
1. Run the `script/release` script to cut a release
|
14
|
+
1. Draft a new release at https://github.com/inputhq/html_to_prosemirror.rb/releases/new containing the curated changelog
|
15
|
+
|
16
|
+
## Prerequisites
|
17
|
+
|
18
|
+
In order to create a release, you will need to be an owner of the html_to_prosemirror gem on Rubygems.
|
19
|
+
|
20
|
+
Verify with:
|
21
|
+
```
|
22
|
+
gem owner html_to_prosemirror
|
23
|
+
```
|
24
|
+
|
25
|
+
An existing owner can add new owners with:
|
26
|
+
```
|
27
|
+
gem owner html_to_prosemirror --add EMAIL
|
28
|
+
```
|
data/lib/html_to_prosemirror.rb
CHANGED
data/scripts/package
ADDED
data/scripts/release
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
# Usage: script/release
|
3
|
+
# Build the package, tag a commit, push it to origin, and then release the
|
4
|
+
# package publicly.
|
5
|
+
|
6
|
+
set -e
|
7
|
+
|
8
|
+
version="$(script/package | grep Version: | awk '{print $2}')"
|
9
|
+
[ -n "$version" ] || exit 1
|
10
|
+
|
11
|
+
echo $version
|
12
|
+
git commit --allow-empty -a -m "Release $version"
|
13
|
+
git tag "v$version"
|
14
|
+
git push origin
|
15
|
+
git push origin "v$version"
|
16
|
+
gem push pkg/*-${version}.gem
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html_to_prosemirror
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Kimball
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,6 +87,7 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- ".document"
|
90
91
|
- ".gitignore"
|
91
92
|
- ".rspec"
|
92
93
|
- ".travis.yml"
|
@@ -95,6 +96,7 @@ files:
|
|
95
96
|
- Gemfile.lock
|
96
97
|
- LICENSE.txt
|
97
98
|
- README.md
|
99
|
+
- RELEASE.md
|
98
100
|
- Rakefile
|
99
101
|
- bin/console
|
100
102
|
- bin/setup
|
@@ -118,6 +120,8 @@ files:
|
|
118
120
|
- lib/html_to_prosemirror/nodes/text.rb
|
119
121
|
- lib/html_to_prosemirror/nodes/user.rb
|
120
122
|
- lib/html_to_prosemirror/version.rb
|
123
|
+
- scripts/package
|
124
|
+
- scripts/release
|
121
125
|
homepage: https://github.com/inputhq/html_to_prosemirror
|
122
126
|
licenses:
|
123
127
|
- MIT
|