Sha256: 05eba8c9a715737d51c7c3e330df5862749b947a13567e55892e069ed4a0ac95
Contents?: true
Size: 1.91 KB
Versions: 14
Compression:
Stored size: 1.91 KB
Contents
# frozen_string_literal: true # Ruby Standard Library require "digest/sha1" require "fileutils" require "find" require "open-uri" require "pathname" require "ostruct" # Rails require "rails" require "active_record" require "action_controller" require "action_view" require "action_mailer" # Gems require "actionpack/page_caching" require "acts_as_list" require "alba" require "bcrypt" require "country_select" require "delayed_job_active_record" require "dis" require "dynamic_image" require "healthcheck" require "localizable_model" require "lograge" require "nokogiri" require "json" require "pg_search" require "progress_bar" require "rails_i18n" require "RedCloth" require "sass-rails" require "typhoeus" require "will_paginate" # Must be loaded so that PagesCore::LinkRender can resolve the constant. require "will_paginate/view_helpers/action_view" # Assets require "font-awesome-rails" require "react-rails" # Pages require "pages_core/plugin" require "pages_core/admin_menu_item" require "pages_core/archive_finder" require "pages_core/attachment_embedder" require "pages_core/cache_sweeper" require "pages_core/digest_verifier" require "pages_core/configuration" require "pages_core/engine" require "pages_core/extensions" require "pages_core/page_path_constraint" require "pages_core/pages_plugin" require "pages_core/pub_sub" require "pages_core/templates" require "pages_core/version" module PagesCore class NotAuthorized < StandardError; end class << self def version VERSION end def plugin_root Pathname.new(File.dirname(__FILE__)).join("..").expand_path end def configure(_options = {}, &_block) yield configuration if block_given? end def configuration(key = nil, *args) @configuration ||= PagesCore::Configuration::Pages.new if key @configuration.send(key, *args) else @configuration end end alias config configuration end end
Version data entries
14 entries across 14 versions & 1 rubygems