git: 35ed666c6825 - main - devel/rubygem-gitlab-experiment: update to 0.7.0

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 09 Mar 2022 10:08:47 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35ed666c6825196d8eb639d1b05d4f26fcd68562

commit 35ed666c6825196d8eb639d1b05d4f26fcd68562
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-02-23 10:06:34 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-03-09 10:07:53 +0000

    devel/rubygem-gitlab-experiment: update to 0.7.0
    
    Required for gitlab-ce 14.8.
    
    0.7.0 Changelog
    
    Added
    
    Add an improved "run" callback interface with before_run, after_run and around_run
    
    Add a configuration for strict experiment registration (disallow anonymous experiments without being backed by a class definition)
    Add class level interface for defining the experiment behaviors
    Add initial capability for rollout strategies to assign control
    Add register_behavior rspec matcher
    
    Fixed
    
    Fixed compatibility for ruby 2.6.x
    Fixed issues with stubbing and the track rspec matcher
    
    Changed
    
    Allow publish to be called without a result argument
    
    Deprecated
    
    The use of use { } and try { } has been deprecated, instead use control { }, candidate { } and variant(:named_variant) { }
    
    Passing a named variant argument to candidate { } (or try { }) has been deprecated, instead use variant(:named_variant) { }
    
    Calling variant (as in variant.name to get, or variant(:assigned_variant) to set) has been deprecated, instead use assigned (as in assigned.name to get the variant that has been assigned, and assigned(:assigned_variant) to manually set one)
    Using public *_behavior methods has been deprecated, instead declare the experiment in the class using control, candidate and variant(:variant_name) registration methods
    Configuration of context_hash_strategy has been deprecated, instead use context_key_secret and context_key_bit_length configuration options
    Configuration variant_resolver, and inclusion_resolver options have been deprecated, instead put this logic into custom rollout strategies
    The experiment_group? method has been deprecated, which may have been overridden in subclasses, instead put this logic into custom rollout strategies
    The flipper_id and session_id methods have been deprecated, which may have been overridden in subclasses, instead put this logic into custom rollout strategies
    
    Removed
    
    Removed scientist as a gem dependency
    
    Other
    
    Project has been moved to https://gitlab.com/gitlab-org/ruby/gems/gitlab-experiment
    
    https://gitlab.com/gitlab-org/ruby/gems/gitlab-experiment/-/releases
---
 devel/rubygem-gitlab-experiment/Makefile | 5 ++---
 devel/rubygem-gitlab-experiment/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/devel/rubygem-gitlab-experiment/Makefile b/devel/rubygem-gitlab-experiment/Makefile
index c0d9781b837e..c3a929f09af9 100644
--- a/devel/rubygem-gitlab-experiment/Makefile
+++ b/devel/rubygem-gitlab-experiment/Makefile
@@ -1,7 +1,7 @@
 # Created by: Matthias Fechner <mfechner@FreeBSD.org>
 
 PORTNAME=	gitlab-experiment
-PORTVERSION=	0.6.5
+PORTVERSION=	0.7.0
 PORTREVISION=	0
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
@@ -13,8 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	rubygem-activesupport61>=3.0:devel/rubygem-activesupport61 \
-		rubygem-request_store>=1.0:devel/rubygem-request_store \
-		rubygem-scientist>=1.6.0<2:devel/rubygem-scientist
+		rubygem-request_store>=1.0:devel/rubygem-request_store
 
 USES=		gem
 USE_RUBY=	yes
diff --git a/devel/rubygem-gitlab-experiment/distinfo b/devel/rubygem-gitlab-experiment/distinfo
index 218133dd337f..ae733f30995b 100644
--- a/devel/rubygem-gitlab-experiment/distinfo
+++ b/devel/rubygem-gitlab-experiment/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640030735
-SHA256 (rubygem/gitlab-experiment-0.6.5.gem) = 42d59d4c793432642e092ce0df4fe71084d81838b352667d676e3bf92ef09118
-SIZE (rubygem/gitlab-experiment-0.6.5.gem) = 26112
+TIMESTAMP = 1645607785
+SHA256 (rubygem/gitlab-experiment-0.7.0.gem) = 7db1a3b7137a0ee8a0125b5d2dfefe85655fe2f2f034a505c051d00a3b1601de
+SIZE (rubygem/gitlab-experiment-0.7.0.gem) = 35328