knockapi 1.27.0 → 1.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1287e8e4e7ee53452c005cb081435ef6251310c43307469359bad026d09b732f
4
- data.tar.gz: 941ec7dbc60682683d3be6480b984c633a48c731481d44524993f682be3812ac
3
+ metadata.gz: 64a442736b2460b038455a36525edbb82ed5c11e17e026aaa909ec0e6cb0a1f1
4
+ data.tar.gz: e007cb42e465cfadcddac8988508d456bc260fe956adcc490a0d665f5b20c129
5
5
  SHA512:
6
- metadata.gz: 052b5942886666ea0bc2277f00a4ee764bfd47d18c2ccc7a2dccf8d4dddbb416dae7a097f030ad563a922f4ffa40d95b7393939271b0344edb3ffc9b387a9aea
7
- data.tar.gz: b57820120b1e051579e15eb32a3dbc32d686b0f89a14fed434fa2edd58deb8613fcee44f388f8020816be127f9a275d17c80fbbe1e2fe80afde1e7f3f05136a6
6
+ metadata.gz: 1159248a48a06c4e456157b3a335bd71984979a2c4d5a5956f3eb6505a29653b01c5f35c768d04adb6285882e9b4f4a06d7d6760bb030d1e1174abc78e5b1f01
7
+ data.tar.gz: 0ba8d28798f8222322b4fde1a681fa12d8650d3e236fec5f934a80ece6d9c731ff0348ec7a5a2719246e33b64a69b5bc34f075cf9e1312ff781fc1d9d87ddd9b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.28.0 (2026-01-23)
4
+
5
+ Full Changelog: [v1.27.0...v1.28.0](https://github.com/knocklabs/knock-ruby/compare/v1.27.0...v1.28.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([8fd8c5d](https://github.com/knocklabs/knock-ruby/commit/8fd8c5dd92d04a9ec371653b62128bd0eeb3e21a))
10
+ * **api:** api update ([fd20e56](https://github.com/knocklabs/knock-ruby/commit/fd20e5651bacf9e0c647276ebf0f6e5f06b87597))
11
+ * **api:** api update ([16b0064](https://github.com/knocklabs/knock-ruby/commit/16b0064ad29264698aea070dc5efc45b8345bc08))
12
+
3
13
  ## 1.27.0 (2026-01-20)
4
14
 
5
15
  Full Changelog: [v1.26.0...v1.27.0](https://github.com/knocklabs/knock-ruby/compare/v1.26.0...v1.27.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "knockapi", "~> 1.27.0"
20
+ gem "knockapi", "~> 1.28.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -49,8 +49,10 @@ module Knockapi
49
49
  CONTAINS_ALL = :contains_all
50
50
  IS_TIMESTAMP = :is_timestamp
51
51
  IS_NOT_TIMESTAMP = :is_not_timestamp
52
- IS_TIMESTAMP_AFTER = :is_timestamp_after
52
+ IS_TIMESTAMP_ON_OR_AFTER = :is_timestamp_on_or_after
53
53
  IS_TIMESTAMP_BEFORE = :is_timestamp_before
54
+ IS_TIMESTAMP_ON_OR_AFTER_DATE = :is_timestamp_on_or_after_date
55
+ IS_TIMESTAMP_BEFORE_DATE = :is_timestamp_before_date
54
56
  IS_TIMESTAMP_BETWEEN = :is_timestamp_between
55
57
  IS_AUDIENCE_MEMBER = :is_audience_member
56
58
  IS_NOT_AUDIENCE_MEMBER = :is_not_audience_member
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Knockapi
4
- VERSION = "1.27.0"
4
+ VERSION = "1.28.0"
5
5
  end
@@ -85,9 +85,9 @@ module Knockapi
85
85
  T.let(:is_timestamp, Knockapi::Condition::Operator::TaggedSymbol)
86
86
  IS_NOT_TIMESTAMP =
87
87
  T.let(:is_not_timestamp, Knockapi::Condition::Operator::TaggedSymbol)
88
- IS_TIMESTAMP_AFTER =
88
+ IS_TIMESTAMP_ON_OR_AFTER =
89
89
  T.let(
90
- :is_timestamp_after,
90
+ :is_timestamp_on_or_after,
91
91
  Knockapi::Condition::Operator::TaggedSymbol
92
92
  )
93
93
  IS_TIMESTAMP_BEFORE =
@@ -95,6 +95,16 @@ module Knockapi
95
95
  :is_timestamp_before,
96
96
  Knockapi::Condition::Operator::TaggedSymbol
97
97
  )
98
+ IS_TIMESTAMP_ON_OR_AFTER_DATE =
99
+ T.let(
100
+ :is_timestamp_on_or_after_date,
101
+ Knockapi::Condition::Operator::TaggedSymbol
102
+ )
103
+ IS_TIMESTAMP_BEFORE_DATE =
104
+ T.let(
105
+ :is_timestamp_before_date,
106
+ Knockapi::Condition::Operator::TaggedSymbol
107
+ )
98
108
  IS_TIMESTAMP_BETWEEN =
99
109
  T.let(
100
110
  :is_timestamp_between,
@@ -40,8 +40,10 @@ module Knockapi
40
40
  | :contains_all
41
41
  | :is_timestamp
42
42
  | :is_not_timestamp
43
- | :is_timestamp_after
43
+ | :is_timestamp_on_or_after
44
44
  | :is_timestamp_before
45
+ | :is_timestamp_on_or_after_date
46
+ | :is_timestamp_before_date
45
47
  | :is_timestamp_between
46
48
  | :is_audience_member
47
49
  | :is_not_audience_member
@@ -62,8 +64,10 @@ module Knockapi
62
64
  CONTAINS_ALL: :contains_all
63
65
  IS_TIMESTAMP: :is_timestamp
64
66
  IS_NOT_TIMESTAMP: :is_not_timestamp
65
- IS_TIMESTAMP_AFTER: :is_timestamp_after
67
+ IS_TIMESTAMP_ON_OR_AFTER: :is_timestamp_on_or_after
66
68
  IS_TIMESTAMP_BEFORE: :is_timestamp_before
69
+ IS_TIMESTAMP_ON_OR_AFTER_DATE: :is_timestamp_on_or_after_date
70
+ IS_TIMESTAMP_BEFORE_DATE: :is_timestamp_before_date
67
71
  IS_TIMESTAMP_BETWEEN: :is_timestamp_between
68
72
  IS_AUDIENCE_MEMBER: :is_audience_member
69
73
  IS_NOT_AUDIENCE_MEMBER: :is_not_audience_member
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knockapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Knock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-20 00:00:00.000000000 Z
11
+ date: 2026-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi