alarmable 2.12.0 → 2.14.0
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/CHANGELOG.md +8 -0
- data/Makefile +5 -4
- data/lib/alarmable/version.rb +1 -1
- data/lib/alarmable.rb +1 -2
- 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: ed8db34cc3e5b97304aae1eb4e43b24506ed3cd856576d22a29f8b27646ccb31
|
|
4
|
+
data.tar.gz: 4e6be6792c9249b4b2e6c821547755fe0a52c3eaecb3db9157a6bcf0a9424c83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0f4c42d65907056ae1792a253af05038d3024dd3586c39bb8c4bf0e8e7b32041aad111c8ca17defc7532161faf3e98e7539d332f4eac94042957f69a6e0e1ef
|
|
7
|
+
data.tar.gz: 647aa9f689735fa6fc6303f699582446eb9845e174d5da35881fe733137b5cc142b803959140aac0f5b419310455471c0d3a21b1d158175f61eae19d8ab63331
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
|
4
4
|
|
|
5
|
+
### 2.14.0 (27 August 2026)
|
|
6
|
+
|
|
7
|
+
* Corrected some RuboCop glitches ([#42](https://github.com/hausgold/alarmable/pull/42))
|
|
8
|
+
|
|
9
|
+
### 2.13.0 (20 May 2026)
|
|
10
|
+
|
|
11
|
+
* Corrected some RuboCop glitches ([#41](https://github.com/hausgold/alarmable/pull/41))
|
|
12
|
+
|
|
5
13
|
### 2.12.0 (15 May 2026)
|
|
6
14
|
|
|
7
15
|
* Upgraded PostgreSQL to 18.4 ([#40](https://github.com/hausgold/alarmable/pull/40))
|
data/Makefile
CHANGED
|
@@ -139,11 +139,12 @@ endif
|
|
|
139
139
|
|
|
140
140
|
clean-images:
|
|
141
141
|
# Clean build images
|
|
142
|
-
|
|
143
142
|
ifeq ($(MAKE_ENV),docker)
|
|
144
|
-
|
|
145
|
-
| $(
|
|
146
|
-
| $(
|
|
143
|
+
@$(DOCKER) images --format '{{.ID}} {{.Repository}}:{{.Tag}}' \
|
|
144
|
+
| $(GREP) $(shell basename "`pwd`") \
|
|
145
|
+
| $(AWK) '{ print $$0 }' \
|
|
146
|
+
| $(XARGS) -P4 -rn1 $(DOCKER) rmi -f \
|
|
147
|
+
| $(GREP) -vP 'cannot be forced|invalid reference' || true
|
|
147
148
|
endif
|
|
148
149
|
|
|
149
150
|
distclean: clean clean-containers clean-images
|
data/lib/alarmable/version.rb
CHANGED
data/lib/alarmable.rb
CHANGED
|
@@ -103,7 +103,7 @@ module Alarmable
|
|
|
103
103
|
# of the specified class. Also validate the +alarm_base_date_property+
|
|
104
104
|
# setting.
|
|
105
105
|
#
|
|
106
|
-
# rubocop:disable Style/GuardClause -- because its fine like this
|
|
106
|
+
# rubocop:disable-next Style/GuardClause -- because its fine like this
|
|
107
107
|
def validate_alarm_settings
|
|
108
108
|
raise 'Alarmable +alarm_job+ is not configured' if alarm_job.nil?
|
|
109
109
|
unless alarm_job.is_a? Class
|
|
@@ -116,7 +116,6 @@ module Alarmable
|
|
|
116
116
|
raise 'Alarmable +alarm_base_date_property+ is not usable'
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
|
-
# rubocop:enable Style/GuardClause
|
|
120
119
|
|
|
121
120
|
# Generate a unique and recalculatable identifier for a given alarm
|
|
122
121
|
# object. We build a hash of the primary keys (before_minutes and
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alarmable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hermann Mayer
|
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
168
|
version: '0'
|
|
169
169
|
requirements: []
|
|
170
|
-
rubygems_version: 4.0.
|
|
170
|
+
rubygems_version: 4.0.16
|
|
171
171
|
specification_version: 4
|
|
172
172
|
summary: A reusable alarm extension to Active Record models
|
|
173
173
|
test_files: []
|