Sha256: c8e9d938fc33d7cce1fae5ee536069241ec334530b9bd7785642ebbb53ced1a2
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
require "erb" require "yaml" require "mem" require "active_record" module Otacrawler config = YAML.load(ERB.new(IO.read(ENV["DATABASE_SETTING_PATH"])).result) env = ENV["RAILS_ENV"] || ENV["OTACRAWLER_ENV"] ActiveRecord::Base.establish_connection(config[env]) class << self include Mem def sites [] end memoize :sites end end require "otacrawler/version" require "otacrawler/collector" require "otacrawler/robot" require "otacrawler/models/comic" require "otacrawler/models/author" require "otacrawler/models/story" require "otacrawler/models/writing" require "otacrawler/sites/base" require "otacrawler/sites/tonari_no_yj"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
otacrawler-0.1.3 | lib/otacrawler.rb |
otacrawler-0.1.2 | lib/otacrawler.rb |