Skip to content

Commit

Permalink
Fix TextP predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulik committed Aug 15, 2023
1 parent 380d54a commit f28c7b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/grumlin/expressions/text_p.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/grumlin/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Grumlin
VERSION = "1.0.3"
VERSION = "1.0.4"
end

0 comments on commit f28c7b4

Please sign in to comment.