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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f1908df098837d21f4966ce8f56800ecdece9226b78a7ce2739aa154a926a61
4
- data.tar.gz: '083aab29fd401584e987413bcfd9a08e3a25bf20a87e5c94fd6830f9ced89d7d'
3
+ metadata.gz: 5ebadec10401c8fca85565c29c5a245eb758577ad2322855b1427b17304e527f
4
+ data.tar.gz: 96c6ce8cdde1df637e3ecddcaf94991118908174ad1274a80a359115b362d1f4
5
5
  SHA512:
6
- metadata.gz: 5b914fac7e561a5d6c08c3015d9fad0870b4e1b7bc71a709d014f07de4a1f2f271439c73cc26ccc3bf37868e8322c06329f5a36e88f3ca502276f57db73af921
7
- data.tar.gz: 76f3b76c1d27cde0dcc90f92f956f8e47c12f6788f08f9cf60c303543ebe08363f13d2197d5bbc9dddd4ffb53c36b04e36c5a5772660fdd72065fa3995ff311e
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
- OMP loads extensions at process startup; reinstalling a plugin does not update already-running sessions. Confirm `harvest-worklog@<VERSION>` in `omp plugin list`, then start a fresh OMP process for autocomplete and slash-command QA. Exit and restart every older OMP session before relying on the released behavior.
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.
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ omp plugin uninstall harvest-worklog
5
+ omp plugin install --force github:klondikemarlen/harvest-worklog
@@ -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
- omp plugin uninstall harvest-worklog
9
- omp plugin install --force github:klondikemarlen/harvest-worklog
10
- plugins="$(omp plugin list)"
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. Starting fresh OMP for slash-command QA.\n' "$version"
17
- printf 'Existing OMP sessions must also be restarted.\n'
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'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HarvestWorklog
4
- VERSION = "0.10.2"
4
+ VERSION = "0.10.3"
5
5
  end
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.2
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