lib/elastic_apm/sql/tokenizer.rb in elastic-apm-3.12.1 vs lib/elastic_apm/sql/tokenizer.rb in elastic-apm-3.13.0
- old
+ new
@@ -128,11 +128,11 @@
IDENT
end
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
+ # rubocop:disable Metrics/CyclomaticComplexity
def scan_dollar_sign
while (peek = peek_char)
case peek
when DIGIT
next_char while peek_char =~ DIGIT
@@ -163,10 +163,10 @@
end
end
OTHER
end
- # rubocop:enable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
+ # rubocop:enable Metrics/CyclomaticComplexity
def scan_quoted_indentifier(delimiter)
while (char = next_char)
next unless char == delimiter