<commit_before># encoding: utf-8

module Synvert::Core
  # GemSpec checks and compares gem version.
  class Rewriter::GemSpec
    OPERATORS = {eq: '==', lt: '<', gt: '>', lte: '<=', gte: '>=', ne: '!='}

    # Initialize a gem_spec.
    #
    # @param name [String] gem name
    # @param comparator [Hash] comparator to gem version, e.g. {eg: '2.0.0'},
    #   comparator key can be eq, lt, gt, lte, gte or ne.<commit_msg>fix typo<commit_after># encoding: utf-8

module Synvert::Core
  # GemSpec checks and compares gem version.
  class Rewriter::GemSpec
    OPERATORS = {eq: '==', lt: '<', gt: '>', lte: '<=', gte: '>=', ne: '!='}

    # Initialize a gem_spec.
    #
    # @param name [String] gem name
    # @param comparator [Hash] comparator to gem version, e.g. {eq: '2.0.0'},
    #   comparator key can be eq, lt, gt, lte, gte or ne.
{'fraction_non_alphanumeric': 0.18116805721096543, 'fraction_numerical': 0.009535160905840286, 'mean_word_length': 3.1176470588235294, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3937050', 'n_tokens_mistral': 328, 'n_tokens_neox': 315, 'n_words': 98}