hr_lite 0.68.0 → 0.68.1

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: f8a38970f466f4686d482beb5a705d7356f109d89f118ddff1312165aff8cbef
4
- data.tar.gz: 4fe73cf6bf089bf42c37907293abbe99daa1978e5b5e4116534eef84ce4d6f2b
3
+ metadata.gz: ab802b6ea743100ee2edae138c1af298d2bf94e479c7b89318f573830eb0bd7f
4
+ data.tar.gz: 65f656038862fe47a5504839487118a2a13184ae129ed3ee5ddff8b2342ad066
5
5
  SHA512:
6
- metadata.gz: 134f5836878e991ed42a8c17f082fed1e45fcff2f341c9cf8f0520bbf7c20a70df33c0c5bdf36832b0ee6cff4ea1f1ee3f65557ca64b993e444c458a575558c5
7
- data.tar.gz: 177168117aecabdd14dab7c8ccbed17c1f2364f68f8f84ccef5478dd5ca0c3b080c5195b75e934851401b5e0956368d01f5acadf64cda6e969be96b780743046
6
+ metadata.gz: 6f3290aac37da8961636beabff7d3a405b676a0b2a7b3f79d55175f4900b800cc33bbbccaf7bf0aaf398e8e14d56cc3ca23ec25607bc9d5723330c1f0ff4efca
7
+ data.tar.gz: dde58fd2cbb6743baf51adfd5864d06d05de2dbea92e7fe156e6db4780b372722433241354aabc64c3481f4b7d1bae0d890f7f02f8f43c094387467bfbd2c66b
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.68.1] - 2026-11-08
11
+
12
+ A late check-in no longer takes a second. No migrations.
13
+
14
+ - **Leadership is not told each time the system adds an attendance penalty.** Every late check-in created 1 to 3 penalty rows, and each one emailed leadership and rang a bell for every leadership user (about 18 live notifications per penalty). That made a late check-in take up to 1.2 s. The audit log row is still written, and an HR removal still notifies leadership.
15
+
10
16
  ## [0.68.0] - 2026-11-07
11
17
 
12
18
  HR takes a day out of leave when the person came in. No migrations.
@@ -49,5 +49,11 @@ module HrLite
49
49
  end
50
50
  "#{why} So #{date.strftime('%a %-d %b')} needs #{minutes} min more before checkout."
51
51
  end
52
+
53
+ private
54
+
55
+ # The puncher creates these on every late check-in; telling leadership each time cost ~1 s per punch.
56
+ # The audit row stays, and an HR removal (update) still notifies.
57
+ def hr_lite_publish_policy_change(log) = (super unless log.action == "create")
52
58
  end
53
59
  end
@@ -1,3 +1,3 @@
1
1
  module HrLite
2
- VERSION = "0.68.0"
2
+ VERSION = "0.68.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hr_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.68.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kshitiz sinha