Sha256: cc7e5f1ff5b417f16982bf9aa41d0b00afeafac931cffb1a4d17bd5fe2c4cce9

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

# -*- encoding : utf-8 -*-
module HttpUtilities
  VERSION = "1.2.5.1"
  
  require File.join(File.dirname(__FILE__), 'http_utilities/railtie') if defined?(Rails)

  require File.join(File.dirname(__FILE__), 'http_utilities/http/proxy_support')
  require File.join(File.dirname(__FILE__), 'http_utilities/http/user_agent')
  require File.join(File.dirname(__FILE__), 'http_utilities/http/logger')

  require File.join(File.dirname(__FILE__), 'http_utilities/http/request')
  require File.join(File.dirname(__FILE__), 'http_utilities/http/response')

  require File.join(File.dirname(__FILE__), 'http_utilities/http/client')

  require File.join(File.dirname(__FILE__), 'http_utilities/http/mechanize/client')

  if defined?(ActiveRecord)
    require File.join(File.dirname(__FILE__), 'http_utilities/proxies/mysql/proxy_module')
    require File.join(File.dirname(__FILE__), 'http_utilities/proxies/proxy_seeder')
  end
  
  if defined?(Mongoid)
    require File.join(File.dirname(__FILE__), 'http_utilities/proxies/mongo/proxy_module')
  end
  
  require File.join(File.dirname(__FILE__), 'http_utilities/proxies/proxy_checker')
  
  if defined?(Resque)
    require File.join(File.dirname(__FILE__), 'http_utilities/jobs/resque/proxies/check_proxies_job')
    require File.join(File.dirname(__FILE__), 'http_utilities/jobs/resque/proxies/check_proxy_job')
  end
  
  if defined?(Sidekiq)
    require File.join(File.dirname(__FILE__), 'http_utilities/jobs/sidekiq/proxies/check_proxies_job')
    require File.join(File.dirname(__FILE__), 'http_utilities/jobs/sidekiq/proxies/check_proxy_job')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
http_utilities-1.2.5.1 lib/http_utilities.rb