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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9c81a663455de1a4bc16743a0ec58df8e42ac5d49ec6fa2bf291f131af6772b
4
- data.tar.gz: d803aba6a93b004c5b97da505a0c7021e0a50b0243c31bd537c2a5d811d04f55
3
+ metadata.gz: 3171d908e9cb61c59b265540ca3f8fbfece4ac67081b4fab19b45c5b371994e8
4
+ data.tar.gz: 19a7540e6594434fe227532fcd4a92435c57cb436a945c7b1f8a05d77e3c94bd
5
5
  SHA512:
6
- metadata.gz: 5f4142e84f230f1d82b6601162124ee9e846df08322486c613d6a35c049fc4d40054c7d1266c41929d9ac63a873609fb00d6b9ba50a9cf92c9d4e003bc6cc2a1
7
- data.tar.gz: 0caaa0787fa7fb8e13aeb917221be83b657568fda4a6238df2e523fe0945a9a87a9a163ac638d4040cd9ef277c5a88c3c37612643105c0852d12693d04aff44e
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 The kaal Authors
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_relative 'registry'
4
9
 
5
10
  module Kaal
@@ -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
@@ -6,5 +6,5 @@
6
6
  # LICENSE file in the root directory of this source tree.
7
7
 
8
8
  module Kaal
9
- VERSION = '0.2.0'
9
+ VERSION = '0.2.1'
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nitesh Purohit