kaal 0.2.0 → 0.2.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 +4 -4
- data/LICENSE +1 -1
- data/app/models/kaal/cron_definition.rb +5 -0
- data/lib/generators/kaal/install/install_generator.rb +5 -0
- data/lib/kaal/definition/database_engine.rb +5 -0
- data/lib/kaal/definition/memory_engine.rb +5 -0
- data/lib/kaal/definition/redis_engine.rb +5 -0
- data/lib/kaal/definition/registry.rb +5 -0
- data/lib/kaal/idempotency_key_generator.rb +5 -0
- data/lib/kaal/railtie.rb +2 -2
- data/lib/kaal/register_conflict_support.rb +5 -0
- data/lib/kaal/scheduler_config_error.rb +5 -0
- data/lib/kaal/scheduler_file_loader.rb +5 -0
- data/lib/kaal/scheduler_hash_transform.rb +5 -0
- data/lib/kaal/scheduler_placeholder_support.rb +5 -0
- data/lib/kaal/version.rb +1 -1
- 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: 3171d908e9cb61c59b265540ca3f8fbfece4ac67081b4fab19b45c5b371994e8
|
|
4
|
+
data.tar.gz: 19a7540e6594434fe227532fcd4a92435c57cb436a945c7b1f8a05d77e3c94bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b28d2b723591834f9425b0ae9044a73e83fc8aa61c9b186a283c18e7282d91d461b8601b59c62e536c2fdc9d27c4a64b518fa438802577556166b8a529e996a
|
|
7
|
+
data.tar.gz: 5a1ea96d68f3e8b482b0e9d28639e390e2af5764a8a82138a8a5cd5e7c60c1d8ef7acf0fe808471066f5f3f462dbaab4c3cb96e12fca33d2ba13ffd46cbb797b
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2025
|
|
3
|
+
Copyright (c) 2025-present Codevedas Inc. and the Kaal Authors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
# Persistent scheduler definition model.
|
|
5
10
|
class CronDefinition < ApplicationRecord
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
require 'rails/generators'
|
|
4
9
|
require 'rails/generators/active_record'
|
|
5
10
|
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
require 'active_support/core_ext/object/deep_dup'
|
|
4
9
|
require_relative 'registry'
|
|
5
10
|
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
require 'json'
|
|
4
9
|
require 'time'
|
|
5
10
|
require_relative 'registry'
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
module Definition
|
|
5
10
|
# Base abstraction for cron definition storage.
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
##
|
|
5
10
|
# Utility class for generating idempotency keys.
|
data/lib/kaal/railtie.rb
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require 'pathname'
|
|
4
|
-
|
|
5
3
|
# Copyright Codevedas Inc. 2025-present
|
|
6
4
|
#
|
|
7
5
|
# This source code is licensed under the MIT license found in the
|
|
8
6
|
# LICENSE file in the root directory of this source tree.
|
|
9
7
|
|
|
8
|
+
require 'pathname'
|
|
9
|
+
|
|
10
10
|
module Kaal
|
|
11
11
|
##
|
|
12
12
|
# Railtie class to integrate Kaal with Rails applications.
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
# Register conflict handling helpers shared by Kaal singleton methods.
|
|
5
10
|
module RegisterConflictSupport
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
# Raised when scheduler file configuration is invalid or cannot be loaded.
|
|
5
10
|
class SchedulerConfigError < StandardError; end
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
require 'erb'
|
|
4
9
|
require 'pathname'
|
|
5
10
|
require 'yaml'
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
# Shared deep hash key transformation helpers for scheduler payloads.
|
|
5
10
|
module SchedulerHashTransform
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Copyright Codevedas Inc. 2025-present
|
|
4
|
+
#
|
|
5
|
+
# This source code is licensed under the MIT license found in the
|
|
6
|
+
# LICENSE file in the root directory of this source tree.
|
|
7
|
+
|
|
3
8
|
module Kaal
|
|
4
9
|
# Placeholder parsing/resolution for scheduler args and kwargs.
|
|
5
10
|
module SchedulerPlaceholderSupport
|
data/lib/kaal/version.rb
CHANGED