omp-worklog 0.14.0 → 0.14.2
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/bin/release-plugin +15 -1
- data/lib/omp_worklog/version.rb +1 -1
- data/lib/omp_worklog.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b05c82fe1bf8833eb39cc940fa6b90e81bc3a22d5b0c915568b27f77a31bf98
|
|
4
|
+
data.tar.gz: 7770f8184dac93c9fc9db2a2370cd18a89a194415445d72d53e4649bd7886887
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac20ce28e1bd2df4e27c102a864fd3a21abb32f4945508029a28c596b577536f388edc2828e1f1a56ff90f5f89b2ab8c2663e59ab2838cc39ab57f7c26ca70b9
|
|
7
|
+
data.tar.gz: c89d0c6025f1dca4830c60e1aac47f8b4ca603c924ee1bbb30b33eda1480160cf638c1684b3a51321dd099cc0e151391386b8fd39e905cb2a36dffe04abb3378
|
data/bin/release-plugin
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
installed_plugin() {
|
|
5
|
+
omp plugin list --json | node -e '
|
|
6
|
+
const plugins = JSON.parse(require("fs").readFileSync(0, "utf8")).npm ?? []
|
|
7
|
+
process.exit(plugins.some(plugin => plugin.name === process.argv[1]) ? 0 : 1)
|
|
8
|
+
' "$1"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if installed_plugin omp-worklog; then
|
|
12
|
+
omp plugin uninstall omp-worklog
|
|
13
|
+
fi
|
|
14
|
+
|
|
15
|
+
if installed_plugin harvest-worklog; then
|
|
16
|
+
omp plugin uninstall harvest-worklog
|
|
17
|
+
fi
|
|
18
|
+
|
|
5
19
|
omp plugin install --force github:klondikemarlen/omp-worklog
|
data/lib/omp_worklog/version.rb
CHANGED
data/lib/omp_worklog.rb
CHANGED