harvest-worklog 0.10.1 → 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: 59f6ddf4acd09bb36f6f508719fccdd81db151107203367cd85deec4fb4bb6da
4
- data.tar.gz: ebabb8af8524ca17fa2e1972582853eaaef6c721a62df4ad68671091cd63a65f
3
+ metadata.gz: 5ebadec10401c8fca85565c29c5a245eb758577ad2322855b1427b17304e527f
4
+ data.tar.gz: 96c6ce8cdde1df637e3ecddcaf94991118908174ad1274a80a359115b362d1f4
5
5
  SHA512:
6
- metadata.gz: 637f2eebaad54a58e481b9b860f6af18af769fb573c0af55843e7197a6e02101b4b8aeea998f99a0a2b81bde1d4606c0725715bcf676d51fabe9a025b58fb688
7
- data.tar.gz: 2ce2096247b4b779a6e88615748d9df27c67841ffaf2dc6f8d70874deaa8ceafc8e7f4ff84f196bb970863932f2ad8eb5c97b314c5564667a068ae93119f0a1c
6
+ metadata.gz: d1da5e36d7491ea01373a1ca00901664bcb99e5375fd3238af541fbf491e16971050261fae11f824015f97776029c46c121a5a87a94ee0971202b8f44f369485
7
+ data.tar.gz: 1cd8d40cebe67b72b94120f6f5d80acf5c63dc5bf6e3426db6f44af1c9b2b06f4fd9b3281909fe0bcbf00f26dd122b91b3e54be06cb74eb00a228782b742a3bd
data/README.md CHANGED
@@ -137,7 +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
- omp plugin install --force github:klondikemarlen/harvest-worklog
141
- omp plugin list
140
+ npm run release
141
+ npm run verify:release
142
142
  harvest-worklog --help
143
143
  ```
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.
@@ -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
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ cd "$root"
6
+ version="$(node -p 'require("./package.json").version')"
7
+
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
11
+ exit 1
12
+ fi
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.1"
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.1
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marlen Brunner
@@ -60,6 +60,8 @@ extra_rdoc_files: []
60
60
  files:
61
61
  - README.md
62
62
  - bin/harvest-worklog
63
+ - bin/release-plugin
64
+ - bin/verify-plugin-release
63
65
  - harvest-worklog.rb
64
66
  - lib/harvest_worklog.rb
65
67
  - lib/harvest_worklog/aggregate_cli.rb