<commit_before>require "propono/version"
require 'propono/configuration'
require 'propono/components/sns'
require 'propono/components/sqs'
require "propono/components/queue"
require "propono/components/topic"

require "propono/services/post_subscriber"
require "propono/services/publisher"
require "propono/services/queue_creator"
require "propono/services/queue_listener"
require "propono/services/queue_subscriber"
require "propono/services/subscriber"
require "propono/services/topic_creator"

module Propono
  def self.config
    Configuration.instance
  end

  def self.publish(*args)
    Publisher.publish(*args)
  end

  def self.subscribe_by_queue(*args)
    Subscriber.subscribe_by_queue(*args)
  end

  def self.subscribe_by_post(*args)
    Subscriber.subscribe_by_post(*args)
  end

end
<commit_msg>Added listen_to_queue to propono.rb<commit_after>require "propono/version"
require 'propono/configuration'
require 'propono/components/sns'
require 'propono/components/sqs'
require "propono/components/queue"
require "propono/components/topic"

require "propono/services/post_subscriber"
require "propono/services/publisher"
require "propono/services/queue_creator"
require "propono/services/queue_listener"
require "propono/services/queue_subscriber"
require "propono/services/subscriber"
require "propono/services/topic_creator"

module Propono
  def self.config
    Configuration.instance
  end

  def self.publish(*args)
    Publisher.publish(*args)
  end

  def self.subscribe_by_queue(*args)
    Subscriber.subscribe_by_queue(*args)
  end

  def self.subscribe_by_post(*args)
    Subscriber.subscribe_by_post(*args)
  end

  def self.listen_to_queue(*args, &block)
    QueueListener.listen(*args, &block)
  end

end

{'fraction_non_alphanumeric': 0.09878682842287695, 'fraction_numerical': 0.0, 'mean_word_length': 5.873015873015873, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5345289', 'n_tokens_mistral': 587, 'n_tokens_neox': 547, 'n_words': 99}