harvest-worklog 0.10.2 → 0.10.3
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/README.md +2 -1
- data/bin/release-plugin +5 -0
- data/bin/verify-plugin-release +6 -9
- data/lib/harvest_worklog/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ebadec10401c8fca85565c29c5a245eb758577ad2322855b1427b17304e527f
|
|
4
|
+
data.tar.gz: 96c6ce8cdde1df637e3ecddcaf94991118908174ad1274a80a359115b362d1f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1da5e36d7491ea01373a1ca00901664bcb99e5375fd3238af541fbf491e16971050261fae11f824015f97776029c46c121a5a87a94ee0971202b8f44f369485
|
|
7
|
+
data.tar.gz: 1cd8d40cebe67b72b94120f6f5d80acf5c63dc5bf6e3426db6f44af1c9b2b06f4fd9b3281909fe0bcbf00f26dd122b91b3e54be06cb74eb00a228782b742a3bd
|
data/README.md
CHANGED
|
@@ -137,8 +137,9 @@ gem push "harvest-worklog-${VERSION}.gem"
|
|
|
137
137
|
gem uninstall harvest-time-off --all --executables --ignore-dependencies
|
|
138
138
|
gem install --clear-sources --source https://rubygems.org harvest-worklog --version "$VERSION" --no-document
|
|
139
139
|
omp plugin uninstall harvest-time-off
|
|
140
|
+
npm run release
|
|
140
141
|
npm run verify:release
|
|
141
142
|
harvest-worklog --help
|
|
142
143
|
```
|
|
143
144
|
|
|
144
|
-
|
|
145
|
+
`npm run release` owns the uninstall/force-install mutation. `npm run verify:release` never changes the installation: it checks the exact installed version and runs a deterministic slash-command smoke test against the installed plugin. It exits after verification. Existing OMP sessions retain startup-loaded extension code; restart them before optional manual autocomplete and slash-command QA.
|
data/bin/release-plugin
ADDED
data/bin/verify-plugin-release
CHANGED
|
@@ -5,14 +5,11 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
5
5
|
cd "$root"
|
|
6
6
|
version="$(node -p 'require("./package.json").version')"
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if [[ "$plugins" != *"harvest-worklog@$version"* ]]; then
|
|
12
|
-
printf 'Expected harvest-worklog@%s after install.\n%s\n' "$version" "$plugins" >&2
|
|
8
|
+
installed_version="$(node -p 'require(process.env.HOME + "/.omp/plugins/node_modules/harvest-worklog/package.json").version')"
|
|
9
|
+
if [[ "$installed_version" != "$version" ]]; then
|
|
10
|
+
printf 'Expected installed harvest-worklog@%s, found %s.\n' "$version" "$installed_version" >&2
|
|
13
11
|
exit 1
|
|
14
12
|
fi
|
|
15
|
-
|
|
16
|
-
printf 'Verified harvest-worklog@%s
|
|
17
|
-
printf 'Existing OMP sessions must
|
|
18
|
-
exec omp --no-session --no-tools --cwd "$root"
|
|
13
|
+
node --test "$HOME/.omp/plugins/node_modules/harvest-worklog/test/"*.test.js
|
|
14
|
+
printf 'Verified harvest-worklog@%s.\n' "$version"
|
|
15
|
+
printf 'Existing OMP sessions must be restarted before manual QA.\n'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harvest-worklog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marlen Brunner
|
|
@@ -60,6 +60,7 @@ extra_rdoc_files: []
|
|
|
60
60
|
files:
|
|
61
61
|
- README.md
|
|
62
62
|
- bin/harvest-worklog
|
|
63
|
+
- bin/release-plugin
|
|
63
64
|
- bin/verify-plugin-release
|
|
64
65
|
- harvest-worklog.rb
|
|
65
66
|
- lib/harvest_worklog.rb
|