<commit_before>require "rack/attack"
require "rack/attack/recaptcha/version"
require "rack/attack/recaptcha/client_helper"
require "rack/attack/recaptcha/verification_helper"

module Rack
  class Attack
    module Recaptcha
      class << self

        def new(app)
          @rack_attack = Rack::Attack.new(app).tap { |attack|
            attack.class.throttled_response = lambda{|env|
              env["rack.attack.use_recaptcha"] = true
              app.call(env)
            }
          }

          self
        end

        def call(env)
          @rack_attack.call(env)
        end
      end
    end
  end
end<commit_msg>Fix lack of spaces on lambda<commit_after>require "rack/attack"
require "rack/attack/recaptcha/version"
require "rack/attack/recaptcha/client_helper"
require "rack/attack/recaptcha/verification_helper"

module Rack
  class Attack
    module Recaptcha
      class << self

        def new(app)
          @rack_attack = Rack::Attack.new(app).tap { |attack|
            attack.class.throttled_response = lambda { |env|
              env["rack.attack.use_recaptcha"] = true
              app.call(env)
            }
          }

          self
        end

        def call(env)
          @rack_attack.call(env)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.09397024275646046, 'fraction_numerical': 0.0, 'mean_word_length': 1.9583333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7459332', 'n_tokens_mistral': 430, 'n_tokens_neox': 388, 'n_words': 77}