Sha256: cbf16966dfb6a89326b74f1ea0e7181069dd67b38ce54b466a19d6f4853a8757

Contents?: true

Size: 837 Bytes

Versions: 1

Compression:

Stored size: 837 Bytes

Contents

require 'rubygems'
require 'curb'
require 'hpricot'
require 'erb'

module Crags
  VERSION = '1.4.3'
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR

  def self.version
    VERSION
  end

  def self.libpath( *args )
    args.empty? ? LIBPATH : ::File.join(LIBPATH, *args)
  end

  def self.path( *args )
    args.empty? ? PATH : ::File.join(PATH, *args)
  end

  COUNTRIES = [
    'jp',
    'ar',
    'bd',
    'br',
    'ca',
    'cl',
    'co',
    'cr',
    'cz',
    'de',
    'eg',
    'hu',
    'id',
    'ie',
    'il',
    'lb',
    'my',
    'nl',
    'nz',
    'no',
    'pk',
    'pa',
    'ru',
    'th',
    'ae',
    'us',
    've',
    'vn'
  ]
end

require 'crags/fetch'
require 'crags/proxy'
require 'crags/searcher'
require 'crags/runner'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gotascii-crags-1.4.3 lib/crags.rb