omp-worklog 0.19.1 → 0.19.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/README.md +10 -1
- data/lib/omp_worklog/batch_cli.rb +3 -5
- data/lib/omp_worklog/version.rb +1 -1
- data/omp-worklog.rb +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72ad13433158b49f216ffe38be0ed161225870fa47b37eadd6d3c2b8894890f5
|
|
4
|
+
data.tar.gz: 5a281e824e6185cdc75bd71201bae38934aba96080730d6e5e497ebbe77a6896
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ef97e337e7d1db724f8c1728001936deea6ef7b7395bfcb9cc4ee17d5b518c82731bb3157464a87faf0f3439a1dc7054da4ad0d2887c2a2f4138543cf4d1d74
|
|
7
|
+
data.tar.gz: a211d467c1dec13b17ed5c874da613c1c3a5fd21e921ec0edd403f3e27cbdf525721a428a384703ee787fae1da8423dcfbe8fc846ddb6ef17bc0c50e41816349
|
data/README.md
CHANGED
|
@@ -54,7 +54,7 @@ The `work-entry` command checks for existing or locked entries for its project,
|
|
|
54
54
|
|
|
55
55
|
### Live thread time
|
|
56
56
|
|
|
57
|
-
With OMP Project Time 9.7.0 or newer installed, Worklog shows
|
|
57
|
+
With OMP Project Time 9.7.0 or newer installed, Worklog shows separate Dev and Agent counters. Each shows today’s hours and the retained total for this thread and project. **Dev** measures prompt-active time; **Agent** measures agent-run elapsed time. Values use at most one decimal place and show positive durations below the rounding threshold as `<0.1h`.
|
|
58
58
|
|
|
59
59
|
Worklog receives versioned live snapshots from Project Time through OMP's extension event bus. It does not run a second activity clock or alter the evidence ledger. Project Time hides its standalone status while Worklog owns presentation, and keeps its standalone display when Worklog is absent. Missing or incompatible daily evidence shows unavailable counters, never lifetime hours relabelled as today. Developer and agent observations remain separate, not a combined total, desk-time certification, cost estimate, or billing approval.
|
|
60
60
|
|
|
@@ -206,6 +206,15 @@ Version `0.14.3` renames the OMP slash command from `/omp-worklog` to `/worklog`
|
|
|
206
206
|
- Reject impossible calendar dates in transform ranges.
|
|
207
207
|
- Document configuration activation limits, runtime ownership, and private calibration.
|
|
208
208
|
|
|
209
|
+
## Lint changed files
|
|
210
|
+
|
|
211
|
+
Install development dependencies with `npm ci` and `bundle install`. Pass the files you changed to the matching non-fixing checker:
|
|
212
|
+
|
|
213
|
+
```sh
|
|
214
|
+
npm exec -- oxlint test/live-status.test.js
|
|
215
|
+
bundle exec rubocop lib/omp_worklog/version.rb
|
|
216
|
+
```
|
|
217
|
+
|
|
209
218
|
## Release
|
|
210
219
|
|
|
211
220
|
Before merging a release PR, self-review its complete diff, address every actionable review comment, and rerun focused QA after fixups. Record the review and QA evidence on the PR. Then merge to `main`, build and publish the Ruby gem, install the released OMP plugin from GitHub, and verify it:
|
|
@@ -76,10 +76,7 @@ module OmpWorklog
|
|
|
76
76
|
|
|
77
77
|
emit_result(result)
|
|
78
78
|
successful_result?(result) ? 0 : 1
|
|
79
|
-
rescue InputError => error
|
|
80
|
-
emit_failure(@dry_run ? "preflight" : "submit", error.code)
|
|
81
|
-
1
|
|
82
|
-
rescue ProviderFailure => error
|
|
79
|
+
rescue InputError, ProviderFailure => error
|
|
83
80
|
emit_failure(@dry_run ? "preflight" : "submit", error.code)
|
|
84
81
|
1
|
|
85
82
|
rescue OptionParser::ParseError
|
|
@@ -545,7 +542,8 @@ module OmpWorklog
|
|
|
545
542
|
end
|
|
546
543
|
|
|
547
544
|
def numeric_hours?(hours, milliseconds)
|
|
548
|
-
|
|
545
|
+
# A near match must not reconcile a different provider entry.
|
|
546
|
+
hours.is_a?(Numeric) && hours == milliseconds / 3_600_000.0 # rubocop:disable Lint/FloatComparison
|
|
549
547
|
end
|
|
550
548
|
|
|
551
549
|
def id_string(value)
|
data/lib/omp_worklog/version.rb
CHANGED
data/omp-worklog.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omp-worklog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.19.
|
|
4
|
+
version: 0.19.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marlen Brunner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: marlens-harvest-api-v2
|