From 96d4f407e399928e6dd37958856b98fa0ae82b48 Mon Sep 17 00:00:00 2001 From: Gleb Sinyavskiy Date: Tue, 15 Aug 2023 12:51:11 +0200 Subject: [PATCH] Fix TextP predicates (#139) --- Gemfile.lock | 2 +- lib/grumlin/expressions/text_p.rb | 2 +- lib/grumlin/version.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 87f4875..2a0be3b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - grumlin (1.0.3) + grumlin (1.0.4) async-pool (~> 0.3.0) async-websocket (~> 0.22.0) ibsciss-middleware (~> 0.4.0) diff --git a/lib/grumlin/expressions/text_p.rb b/lib/grumlin/expressions/text_p.rb index e9e2270..e5f8a23 100644 --- a/lib/grumlin/expressions/text_p.rb +++ b/lib/grumlin/expressions/text_p.rb @@ -4,7 +4,7 @@ class Grumlin::Expressions::TextP < Grumlin::Expressions::P class << self [:containing, :endingWith, :notContaining, :notEndingWith, :notStartingWith, :startingWith].each do |predicate| define_method predicate do |*args| - P::Predicate.new("TextP", predicate, value: args[0]) + Grumlin::Expressions::P::Predicate.new("TextP", predicate, value: args[0]) end end end diff --git a/lib/grumlin/version.rb b/lib/grumlin/version.rb index 20b10a6..88406c9 100644 --- a/lib/grumlin/version.rb +++ b/lib/grumlin/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Grumlin - VERSION = "1.0.3" + VERSION = "1.0.4" end