<commit_before>############################################################
#                                                          #
# xxtea.rb                                                 #
#                                                          #
# XXTEA encryption algorithm library for Ruby.             #
#                                                          #
# Encryption Algorithm Authors:                            #
#      <NAME>                                    #
#      <NAME>                                    #
#                                                          #
# Code Author: <NAME> <<EMAIL>>            #
# LastModified: Feb 11, 2016                               #
#                                                          #
############################################################

if !defined?(JRUBY_VERSION) then
  require "xxtea/xxtea"
else
  require "xxtea/xxtea_ruby"
end

module XXTEA
  extend self
  VERSION = "1.3.0"
  if RUBY_VERSION >= "1.9.0" then
    def decrypt_utf8(data, key)
      decrypt(data, key).force_encoding(Encoding::UTF_8)
    end
  else
    alias_method :decrypt_utf8, "decrypt"
  end
end<commit_msg>Fixed undefined method `decrypt' for module `XXTEA'<commit_after>############################################################
#                                                          #
# xxtea.rb                                                 #
#                                                          #
# XXTEA encryption algorithm library for Ruby.             #
#                                                          #
# Encryption Algorithm Authors:                            #
#      <NAME>                                    #
#      <NAME>                                    #
#                                                          #
# Code Author: <NAME> <<EMAIL>>            #
# LastModified: Feb 11, 2016                               #
#                                                          #
############################################################

if !defined?(JRUBY_VERSION) then
  require "xxtea/xxtea"
else
  require "xxtea/xxtea_ruby"
end

module XXTEA
  extend self
  VERSION = "1.3.0"
  if RUBY_VERSION >= "1.9.0" then
    def decrypt_utf8(data, key)
      decrypt(data, key).force_encoding(Encoding::UTF_8)
    end
  else
    def decrypt_utf8(data, key)
      decrypt(data, key)
    end
  end
end
{'fraction_non_alphanumeric': 0.16714935870914358, 'fraction_numerical': 0.012412081092263137, 'mean_word_length': 0.9375, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6833043', 'n_tokens_mistral': 547, 'n_tokens_neox': 516, 'n_words': 112}