Skip to content

Commit

Permalink
bump __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh0719 committed Dec 14, 2023
1 parent 33b4465 commit 89c8ae4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Output -

{
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "5dbca846-5e59-4b6c-bdbf-9602d68c79ff",
"created": "2023-12-15 04:49:45.183531",
Expand All @@ -145,7 +145,7 @@ Output -
"if": {
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "14950c65-3741-40da-ac13-e5cf1a0c49ce",
"created": "2023-12-15 04:49:45.183438",
Expand Down Expand Up @@ -221,7 +221,7 @@ assert complex_rule == json_rule == yaml_rule

{
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "8330dd39-a0a4-4f21-aab4-0f8e35924c74",
"created": "2023-12-15 04:54:00.349206",
Expand All @@ -237,7 +237,7 @@ assert complex_rule == json_rule == yaml_rule
{
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "16a74acf-3dfd-4c8f-a280-50dc3970455c",
"created": "2023-12-15 04:54:00.349063",
Expand Down Expand Up @@ -269,7 +269,7 @@ assert complex_rule == json_rule == yaml_rule
{
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "137af61f-16af-44b9-8c49-a1c61912704b",
"created": "2023-12-15 04:54:00.349134",
Expand Down Expand Up @@ -301,7 +301,7 @@ assert complex_rule == json_rule == yaml_rule
},
"else": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "41ad9aa7-d072-49d1-9336-4186a3a6b69c",
"created": "2023-12-15 04:54:00.349189",
Expand All @@ -314,7 +314,7 @@ assert complex_rule == json_rule == yaml_rule
"if": {
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "16a74acf-3dfd-4c8f-a280-50dc3970455c",
"created": "2023-12-15 04:54:00.349063",
Expand Down Expand Up @@ -363,7 +363,7 @@ assert complex_rule == json_rule == yaml_rule
```yaml

metadata:
version: 0.1.0
version: 0.2.0
type: Rule
id: 8330dd39-a0a4-4f21-aab4-0f8e35924c74
created: '2023-12-15 04:54:00.349206'
Expand All @@ -376,7 +376,7 @@ if:
and:
- condition:
metadata:
version: 0.1.0
version: 0.2.0
type: Condition
id: 16a74acf-3dfd-4c8f-a280-50dc3970455c
created: '2023-12-15 04:54:00.349063'
Expand All @@ -395,7 +395,7 @@ if:
value: 3
- condition:
metadata:
version: 0.1.0
version: 0.2.0
type: Condition
id: 137af61f-16af-44b9-8c49-a1c61912704b
created: '2023-12-15 04:54:00.349134'
Expand All @@ -416,7 +416,7 @@ then:
value: xyz
else:
metadata:
version: 0.1.0
version: 0.2.0
type: Rule
id: 41ad9aa7-d072-49d1-9336-4186a3a6b69c
created: '2023-12-15 04:54:00.349189'
Expand All @@ -427,7 +427,7 @@ else:
if:
condition:
metadata:
version: 0.1.0
version: 0.2.0
type: Condition
id: 16a74acf-3dfd-4c8f-a280-50dc3970455c
created: '2023-12-15 04:54:00.349063'
Expand Down Expand Up @@ -489,7 +489,7 @@ Here's the equivalent rule in JSON format:
```json
{
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "7f2a4893-322c-4973-8e41-c3930e37648b",
"created": "2023-12-15 04:57:33.071026",
Expand All @@ -500,7 +500,7 @@ Here's the equivalent rule in JSON format:
"if": {
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "515a3a0e-6a45-4848-9ea9-8202e66372cf",
"created": "2023-12-15 04:57:33.070916",
Expand All @@ -513,7 +513,7 @@ Here's the equivalent rule in JSON format:
},
"then": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "7c045ec9-c262-4c6c-8b0f-34cc773d4f41",
"created": "2023-12-15 04:57:33.071017",
Expand All @@ -524,7 +524,7 @@ Here's the equivalent rule in JSON format:
"if": {
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "ddc1e0f2-54a5-4c4f-aedd-2f6db69741dc",
"created": "2023-12-15 04:57:33.070964",
Expand Down
10 changes: 5 additions & 5 deletions examples/rule.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "9ddb7f6e-a730-413e-92aa-975325c701d1",
"created": "2023-12-15 04:28:40.252054",
Expand All @@ -16,7 +16,7 @@
{
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "78f77078-44eb-42c2-9dbb-21fa2248647d",
"created": "2023-12-15 04:28:40.251929",
Expand Down Expand Up @@ -48,7 +48,7 @@
{
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "c8de2c87-eb3d-4f1f-b0ec-5bf5d77ce424",
"created": "2023-12-15 04:28:40.251982",
Expand Down Expand Up @@ -80,7 +80,7 @@
},
"else": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Rule",
"id": "b3e968cc-ff1d-4fe2-a720-aa3b0ebf0548",
"created": "2023-12-15 04:28:40.252036",
Expand All @@ -93,7 +93,7 @@
"if": {
"condition": {
"metadata": {
"version": "0.1.0",
"version": "0.2.0",
"type": "Condition",
"id": "78f77078-44eb-42c2-9dbb-21fa2248647d",
"created": "2023-12-15 04:28:40.251929",
Expand Down
10 changes: 5 additions & 5 deletions examples/rule.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
metadata:
version: 0.1.0
version: 0.2.0
type: Rule
id: 9ddb7f6e-a730-413e-92aa-975325c701d1
created: '2023-12-15 04:28:40.252054'
Expand All @@ -12,7 +12,7 @@ if:
and:
- condition:
metadata:
version: 0.1.0
version: 0.2.0
type: Condition
id: 78f77078-44eb-42c2-9dbb-21fa2248647d
created: '2023-12-15 04:28:40.251929'
Expand All @@ -31,7 +31,7 @@ if:
value: 3
- condition:
metadata:
version: 0.1.0
version: 0.2.0
type: Condition
id: c8de2c87-eb3d-4f1f-b0ec-5bf5d77ce424
created: '2023-12-15 04:28:40.251982'
Expand All @@ -52,7 +52,7 @@ then:
value: xyz
else:
metadata:
version: 0.1.0
version: 0.2.0
type: Rule
id: b3e968cc-ff1d-4fe2-a720-aa3b0ebf0548
created: '2023-12-15 04:28:40.252036'
Expand All @@ -63,7 +63,7 @@ else:
if:
condition:
metadata:
version: 0.1.0
version: 0.2.0
type: Condition
id: 78f77078-44eb-42c2-9dbb-21fa2248647d
created: '2023-12-15 04:28:40.251929'
Expand Down
2 changes: 1 addition & 1 deletion py_rules/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.0'
__version__ = '0.2.0'

0 comments on commit 89c8ae4

Please sign in to comment.