<commit_before># encoding: UTF-8

module EventMachine
  module APN
    class Notification
      DATA_MAX_BYTES = 2048
      ALERT_KEY = "alert"

      class PayloadTooLarge < StandardError; end

      attr_reader :token, :identifier, :transport
      attr_accessor :expiry

      def initialize(token, aps = {}, custom = {}, options = {})
        raise "Bad push token: #{token}" if token.nil? || (token.length != 64)

        @token  = token<commit_msg>Removing APN token length check<commit_after># encoding: UTF-8

module EventMachine
  module APN
    class Notification
      DATA_MAX_BYTES = 2048
      ALERT_KEY = "alert"

      class PayloadTooLarge < StandardError; end

      attr_reader :token, :identifier, :transport
      attr_accessor :expiry

      def initialize(token, aps = {}, custom = {}, options = {})
        raise "Bad push token: #{token}" if token.nil?

        @token  = token
{'fraction_non_alphanumeric': 0.1008869179600887, 'fraction_numerical': 0.013303769401330377, 'mean_word_length': 2.858974358974359, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7430178', 'n_tokens_mistral': 283, 'n_tokens_neox': 262, 'n_words': 79}