diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09e92c2..97a9c96 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,9 @@ jobs: - '2.5' - '2.6' - '2.7' + - '3.2' + - '3.1' + - '3.0' - ruby-head - jruby-head - truffleruby-head diff --git a/lib/jsonpath/enumerable.rb b/lib/jsonpath/enumerable.rb index 75fb629..29660ab 100644 --- a/lib/jsonpath/enumerable.rb +++ b/lib/jsonpath/enumerable.rb @@ -154,8 +154,9 @@ def process_function_or_literal(exp, default = nil) return Integer(exp) if exp[0] != '(' return nil unless @_current_node - identifiers = /@?((? Gem::Version::new('2.6') json = '