<commit_before>require 'money'
require 'money/rates_store/rate_removal_support'
require 'open-uri'

# Fix for https://github.com/RubyMoney/google_currency/issues/38
# Google considers the Chilean Peso to have 100 Centavos, despite
# ISO standards indicating otherwise http://en.wikipedia.org/wiki/ISO_4217
Money::Currency.table[:clp][:subunit_to_unit] = 100

class Money
  module Bank
    # Raised when there is an unexpected error in extracting exchange rates
    # from Google Finance Calculator
    class GoogleCurrencyFetchError < Error
    end

    class GoogleCurrency < Money::Bank::VariableExchange


      SERVICE_HOST = "www.google.com"
      SERVICE_PATH = "/finance/converter"


      # @return [Hash] Stores the currently known rates.
      attr_reader :rates


      class << self
        # @return [Integer] Returns the Time To Live (TTL) in seconds.
        attr_reader :ttl_in_seconds

        # @return [Time] Returns the time when the rates expire.
        attr_reader :rates_expiration

        ##
        # Set the Time To Live (TTL) in seconds.
        #<commit_msg>Removed CLP fix<commit_after>require 'money'
require 'money/rates_store/rate_removal_support'
require 'open-uri'

class Money
  module Bank
    # Raised when there is an unexpected error in extracting exchange rates
    # from Google Finance Calculator
    class GoogleCurrencyFetchError < Error
    end

    class GoogleCurrency < Money::Bank::VariableExchange


      SERVICE_HOST = "www.google.com"
      SERVICE_PATH = "/finance/converter"


      # @return [Hash] Stores the currently known rates.
      attr_reader :rates


      class << self
        # @return [Integer] Returns the Time To Live (TTL) in seconds.
        attr_reader :ttl_in_seconds

        # @return [Time] Returns the time when the rates expire.
        attr_reader :rates_expiration

        ##
        # Set the Time To Live (TTL) in seconds.
        #
{'fraction_non_alphanumeric': 0.07660239708181345, 'fraction_numerical': 0.006253256904637832, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '7299526', 'n_tokens_mistral': 582, 'n_tokens_neox': 533, 'n_words': 178}