From a23b2d07535596b00087a40be387d92a43208f1a Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 30 Aug 2020 12:44:07 -0600 Subject: [PATCH 1/2] Workaround for https://gitlab.com/arctic-fox/spectator/-/issues/53 --- src/spectator_test.cr | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/spectator_test.cr b/src/spectator_test.cr index ca0e2e0..a0a202d 100644 --- a/src/spectator_test.cr +++ b/src/spectator_test.cr @@ -16,4 +16,10 @@ class SpectatorTest def initialize(@spectator_test_values : ::Spectator::TestValues) end + + # Prevent leaking internal values since their types may differ. + # Workaround for: https://gitlab.com/arctic-fox/spectator/-/issues/53 + def inspect(io) + io << self.class + end end From 4a7e0c8bd730d0aeefd26ec04cccc3825824d7d3 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 30 Aug 2020 12:44:37 -0600 Subject: [PATCH 2/2] Bump version to 0.9.23 --- shard.yml | 2 +- src/spectator.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shard.yml b/shard.yml index a6ba14f..ed86687 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: spectator -version: 0.9.22 +version: 0.9.23 description: | A feature-rich spec testing framework for Crystal with similarities to RSpec. diff --git a/src/spectator.cr b/src/spectator.cr index 77c333e..0b5d7ff 100644 --- a/src/spectator.cr +++ b/src/spectator.cr @@ -6,7 +6,7 @@ module Spectator extend self # Current version of the Spectator library. - VERSION = "0.9.22" + VERSION = "0.9.23" # Top-level describe method. # All specs in a file must be wrapped in this call.