From 69f21608fb9518f27bdcca75d8ba51ce63169069 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 7 Aug 2020 12:16:31 +0200 Subject: [PATCH] Bump version to 0.12.2 --- CHANGELOG.md | 3 +++ fregot.cabal | 2 +- tests/golden/cli/repl-input.stderr | 2 +- tests/golden/repl/break-data.stderr | 2 +- tests/golden/repl/break-source.stderr | 2 +- tests/golden/repl/break-unset.stderr | 2 +- tests/golden/repl/debug-cache.stderr | 2 +- tests/golden/repl/debug-context.stderr | 2 +- tests/golden/repl/debug-error.stderr | 2 +- tests/golden/repl/debug-reload.stderr | 2 +- tests/golden/repl/help.stderr | 2 +- tests/golden/repl/input-doc.stderr | 2 +- tests/golden/repl/input-yaml.stderr | 2 +- tests/golden/repl/load-data.stderr | 2 +- tests/golden/repl/load.stderr | 2 +- tests/golden/repl/open.stderr | 2 +- tests/golden/repl/plain-call.stderr | 2 +- tests/golden/repl/prefix-data.stderr | 2 +- tests/golden/repl/pretty.stderr | 2 +- tests/golden/repl/rewind.stderr | 2 +- tests/golden/repl/set.stderr | 2 +- tests/golden/repl/step-into.stderr | 2 +- tests/golden/repl/step-over.stderr | 2 +- tests/golden/repl/test.stderr | 2 +- tests/golden/repl/watch-input.stderr | 2 +- tests/golden/repl/watch-warn.stderr | 2 +- tests/golden/types/comprehensions.stderr | 2 +- tests/golden/types/granular.stderr | 2 +- tests/golden/types/rules.stderr | 2 +- 29 files changed, 31 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6069992..e6f2135d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG + - 0.12.2 (2020-08-07) + * Support using data imports as variables directly + - 0.12.1 (2020-08-06) * Add `object.remove` * Add `object.filter` diff --git a/fregot.cabal b/fregot.cabal index 68d915b9..d4e41b57 100644 --- a/fregot.cabal +++ b/fregot.cabal @@ -1,5 +1,5 @@ Name: fregot -Version: 0.12.1 +Version: 0.12.2 Synopsis: Fugue Rego Toolkit License: Apache-2.0 License-file: LICENSE diff --git a/tests/golden/cli/repl-input.stderr b/tests/golden/cli/repl-input.stderr index 4b030a13..664fd4ec 100644 --- a/tests/golden/cli/repl-input.stderr +++ b/tests/golden/cli/repl-input.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info diff --git a/tests/golden/repl/break-data.stderr b/tests/golden/repl/break-data.stderr index 5a1ef8e3..68b884e6 100644 --- a/tests/golden/repl/break-data.stderr +++ b/tests/golden/repl/break-data.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at step.test_step diff --git a/tests/golden/repl/break-source.stderr b/tests/golden/repl/break-source.stderr index 4afe4160..59ebed64 100644 --- a/tests/golden/repl/break-source.stderr +++ b/tests/golden/repl/break-source.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at step.rego:5 diff --git a/tests/golden/repl/break-unset.stderr b/tests/golden/repl/break-unset.stderr index 61dffdd0..1eed1301 100644 --- a/tests/golden/repl/break-unset.stderr +++ b/tests/golden/repl/break-unset.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at step.rego:5 Removed breakpoint at step.rego:5 no breakpoints set diff --git a/tests/golden/repl/debug-cache.stderr b/tests/golden/repl/debug-cache.stderr index f9971344..33201c16 100644 --- a/tests/golden/repl/debug-cache.stderr +++ b/tests/golden/repl/debug-cache.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading debug-cache.rego... Loaded package fregot.tests.repl.debug_cache Set breakpoint at fregot.tests.repl.debug_cache.test_allow diff --git a/tests/golden/repl/debug-context.stderr b/tests/golden/repl/debug-context.stderr index 8398d41c..6b89ea27 100644 --- a/tests/golden/repl/debug-context.stderr +++ b/tests/golden/repl/debug-context.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at debug_context.valid_security_groups diff --git a/tests/golden/repl/debug-error.stderr b/tests/golden/repl/debug-error.stderr index c77a295a..e0a1e1b6 100644 --- a/tests/golden/repl/debug-error.stderr +++ b/tests/golden/repl/debug-error.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at debug_error.test_crash fregot (eval error): "debug-error.rego" (line 5, column 3): diff --git a/tests/golden/repl/debug-reload.stderr b/tests/golden/repl/debug-reload.stderr index 23509b1c..762939a0 100644 --- a/tests/golden/repl/debug-reload.stderr +++ b/tests/golden/repl/debug-reload.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Rule rule added Set breakpoint at repl.rule Reloading when debugging is not possible as it would modify the code currently running. diff --git a/tests/golden/repl/help.stderr b/tests/golden/repl/help.stderr index e8e47619..68948799 100644 --- a/tests/golden/repl/help.stderr +++ b/tests/golden/repl/help.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Enter an expression to evaluate it. Enter a rule to add it to the current package. diff --git a/tests/golden/repl/input-doc.stderr b/tests/golden/repl/input-doc.stderr index 4b030a13..664fd4ec 100644 --- a/tests/golden/repl/input-doc.stderr +++ b/tests/golden/repl/input-doc.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info diff --git a/tests/golden/repl/input-yaml.stderr b/tests/golden/repl/input-yaml.stderr index 4b030a13..664fd4ec 100644 --- a/tests/golden/repl/input-yaml.stderr +++ b/tests/golden/repl/input-yaml.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info diff --git a/tests/golden/repl/load-data.stderr b/tests/golden/repl/load-data.stderr index 04fb505a..9f69c00c 100644 --- a/tests/golden/repl/load-data.stderr +++ b/tests/golden/repl/load-data.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading data.yaml... OK diff --git a/tests/golden/repl/load.stderr b/tests/golden/repl/load.stderr index 77abfca1..28f89634 100644 --- a/tests/golden/repl/load.stderr +++ b/tests/golden/repl/load.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading load.rego... Loaded package fregot.tests.repl.load diff --git a/tests/golden/repl/open.stderr b/tests/golden/repl/open.stderr index 952db9ae..da8df46e 100644 --- a/tests/golden/repl/open.stderr +++ b/tests/golden/repl/open.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Warning: package mypkg1 contains no rules Rule r added Warning: package mypkg2 contains no rules diff --git a/tests/golden/repl/plain-call.stderr b/tests/golden/repl/plain-call.stderr index 4b030a13..664fd4ec 100644 --- a/tests/golden/repl/plain-call.stderr +++ b/tests/golden/repl/plain-call.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info diff --git a/tests/golden/repl/prefix-data.stderr b/tests/golden/repl/prefix-data.stderr index 5f79dd5b..5076dff7 100644 --- a/tests/golden/repl/prefix-data.stderr +++ b/tests/golden/repl/prefix-data.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading prefix-data.json... OK diff --git a/tests/golden/repl/pretty.stderr b/tests/golden/repl/pretty.stderr index 32274f8e..70f35fa6 100644 --- a/tests/golden/repl/pretty.stderr +++ b/tests/golden/repl/pretty.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading pretty.rego... Loaded package pretty diff --git a/tests/golden/repl/rewind.stderr b/tests/golden/repl/rewind.stderr index b3766ffa..7e63b439 100644 --- a/tests/golden/repl/rewind.stderr +++ b/tests/golden/repl/rewind.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at rewind.crashing_rule fregot (eval error): "rewind.rego" (line 5, column 3): diff --git a/tests/golden/repl/set.stderr b/tests/golden/repl/set.stderr index 4b030a13..664fd4ec 100644 --- a/tests/golden/repl/set.stderr +++ b/tests/golden/repl/set.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info diff --git a/tests/golden/repl/step-into.stderr b/tests/golden/repl/step-into.stderr index 5a1ef8e3..68b884e6 100644 --- a/tests/golden/repl/step-into.stderr +++ b/tests/golden/repl/step-into.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at step.test_step diff --git a/tests/golden/repl/step-over.stderr b/tests/golden/repl/step-over.stderr index 5a1ef8e3..68b884e6 100644 --- a/tests/golden/repl/step-over.stderr +++ b/tests/golden/repl/step-over.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Set breakpoint at step.test_step diff --git a/tests/golden/repl/test.stderr b/tests/golden/repl/test.stderr index 1dd2a520..48d0eb6c 100644 --- a/tests/golden/repl/test.stderr +++ b/tests/golden/repl/test.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading test.rego... Loaded package fregot.tests.repl.test diff --git a/tests/golden/repl/watch-input.stderr b/tests/golden/repl/watch-input.stderr index 98d05c63..524d99bd 100644 --- a/tests/golden/repl/watch-input.stderr +++ b/tests/golden/repl/watch-input.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Reloaded watch-input-2.json diff --git a/tests/golden/repl/watch-warn.stderr b/tests/golden/repl/watch-warn.stderr index 1e16d743..4332874a 100644 --- a/tests/golden/repl/watch-warn.stderr +++ b/tests/golden/repl/watch-warn.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Restart the with `--watch` to enable watching. diff --git a/tests/golden/types/comprehensions.stderr b/tests/golden/types/comprehensions.stderr index 4b030a13..664fd4ec 100644 --- a/tests/golden/types/comprehensions.stderr +++ b/tests/golden/types/comprehensions.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info diff --git a/tests/golden/types/granular.stderr b/tests/golden/types/granular.stderr index 0afae069..0f1428bf 100644 --- a/tests/golden/types/granular.stderr +++ b/tests/golden/types/granular.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading granular.rego... Loaded package granular diff --git a/tests/golden/types/rules.stderr b/tests/golden/types/rules.stderr index d3e06b57..a10359be 100644 --- a/tests/golden/types/rules.stderr +++ b/tests/golden/types/rules.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.12.1 repl - use :help for usage info +fregot v0.12.2 repl - use :help for usage info Loading rules.rego... Loaded package rules