Sha256: 519c7a5922db7e45c368232a477dcfaa3fd81f5a3802ca2d0bdc69796652ce46

Contents?: true

Size: 799 Bytes

Versions: 2

Compression:

Stored size: 799 Bytes

Contents

# encoding: utf-8

module Ryodo

  VERSION_FILE = File.expand_path("../../VERSION", __FILE__)
  VERSION      = File.exist?(VERSION_FILE) ? File.read(VERSION_FILE) : "(could not find VERSION file)"

  RYODO_ROOT   = File.expand_path("../..", __FILE__)

  PUBLIC_SUFFIX_DATA_URI = "http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1"
  PUBLIC_SUFFIX_STORE    = "#{RYODO_ROOT}/data/suffix.dat"

end

require "ryodo/domain"
require "ryodo/parser"
require "ryodo/rule"
require "ryodo/rule_set"
require "ryodo/suffix_list"

require "ryodo/methods"
require "ryodo/ext/string"

# Convenient shorthands
module Ryodo
  extend Ryodo::Methods
  require "ryodo/convenience"
  require "ryodo/convenience/.u" unless Kernel.const_defined?("RYODO_NO_U") || ENV['RYODO_NO_U']
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ryodo-0.0.3 lib/ryodo.rb
ryodo-0.0.2 lib/ryodo.rb