web47core 1.0.14 → 1.0.15

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: ef5eb2bf315d0be4a596a440d855e049ce11ebd0834d9598c81ae674551fd9d5
4
- data.tar.gz: 833d99f9b33348a8d4b9a61584d61cd6dae5d9a1b44a0d4b3046b48b68369f7d
3
+ metadata.gz: 20fa4ad255499f3d899ca64125951b60e7502d5e129f4989680bf84182e3671c
4
+ data.tar.gz: c47a90846316d62d4e63bf9f198912806c637f3a586b2b5441c0962ec22ce9b5
5
5
  SHA512:
6
- metadata.gz: 9b84594fa18bf1f612fb4312002c1b9913b8d3ae70d3848f1c612b858fc3a808a33759d82ffd79f8e9011e5e063d11833917d96a05d7a795dfef4529f08d8ca8
7
- data.tar.gz: cebbbc92c09cd7459fcc1ea2c6f087fff240e8c1eb74b339206b36e6f1297d59e957a0906be3fd087a4a1e473ca9d650dc8edec5c806489e692732e403fa8114
6
+ metadata.gz: f2e502d727e5b177adf2a4b22d09ab54f0281b4f0fa2106d4f1dbf18064f10e2c99d0644d99e96e6d44468a5a35c5918ae3ec2c164db8a782195d22419c230a8
7
+ data.tar.gz: 9b9ae4ea919b1f63a87bc144f9db10a65e047fbca2f28517b0eaf3ef2c4ea510d6b595931d65e1e845dd8f32e940fea07227adc75dc7c4bdfccd0c98498765c6
@@ -28,7 +28,7 @@ module Cron
28
28
  time = if item.is_a?(EmailNotification) && template?(item)
29
29
  5.years.ago.utc
30
30
  else
31
- allowed_time
31
+ allowed_time_for_item(item)
32
32
  end
33
33
  item.updated_at < time
34
34
  end
@@ -68,8 +68,10 @@ module CoreSystemConfiguration
68
68
  field :switchboard_stack_id, type: String
69
69
  field :switchboard_stack_api_token, type: String
70
70
  field :switchboard_last_sync_at, type: Time
71
- # Audit Logs TTL
71
+ # TTLs
72
72
  field :user_model_audit_log_ttl, type: Integer, default: 365
73
+ field :slack_notification_ttl, type: Integer, default: 5
74
+ field :email_notification_ttl, type: Integer, default: 180
73
75
  #
74
76
  # Validations
75
77
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '1.0.14'
4
+ VERSION = '1.0.15'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web47core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schroeder