Module: Lcms::Engine

Defined in:
lib/lcms/engine.rb,
lib/lcms/engine/engine.rb,
lib/lcms/engine/version.rb,
app/models/lcms/engine/tag.rb,
app/models/lcms/engine/user.rb,
app/entities/lcms/engine/slug.rb,
app/models/lcms/engine/author.rb,
app/models/lcms/engine/tagging.rb,
app/entities/lcms/engine/grades.rb,
app/models/lcms/engine/document.rb,
app/models/lcms/engine/download.rb,
app/models/lcms/engine/material.rb,
app/models/lcms/engine/resource.rb,
app/models/lcms/engine/settings.rb,
app/models/lcms/engine/standard.rb,
app/forms/lcms/engine/survey_form.rb,
app/models/lcms/engine/curriculum.rb,
app/entities/lcms/engine/filterbar.rb,
app/models/lcms/engine/access_code.rb,
app/queries/lcms/engine/base_query.rb,
app/entities/lcms/engine/pagination.rb,
app/forms/lcms/engine/document_form.rb,
app/forms/lcms/engine/material_form.rb,
app/helpers/lcms/engine/path_helper.rb,
app/helpers/lcms/engine/tags_helper.rb,
app/helpers/lcms/engine/view_helper.rb,
app/models/lcms/engine/staff_member.rb,
app/services/lcms/engine/s3_service.rb,
app/entities/lcms/engine/breadcrumbs.rb,
app/entities/lcms/engine/media_embed.rb,
app/helpers/lcms/engine/media_helper.rb,
app/helpers/lcms/engine/pages_helper.rb,
app/jobs/lcms/engine/application_job.rb,
app/models/lcms/engine/document_part.rb,
app/models/lcms/engine/material_part.rb,
app/models/lcms/engine/standard_link.rb,
app/forms/lcms/engine/curriculum_form.rb,
app/services/lcms/engine/lti_exporter.rb,
lib/lcms/engine/test/resource_helpers.rb,
app/entities/lcms/engine/external_page.rb,
app/models/lcms/engine/document_bundle.rb,
app/models/lcms/engine/leadership_post.rb,
app/models/lcms/engine/search/document.rb,
app/entities/lcms/engine/curriculum_map.rb,
app/entities/lcms/engine/roman_numerals.rb,
app/helpers/lcms/engine/download_helper.rb,
app/helpers/lcms/engine/resource_helper.rb,
app/jobs/lcms/engine/document_parse_job.rb,
app/jobs/lcms/engine/material_parse_job.rb,
app/models/lcms/engine/social_thumbnail.rb,
app/services/lcms/engine/html_sanitizer.rb,
app/helpers/lcms/engine/documents_helper.rb,
app/models/concerns/lcms/engine/partable.rb,
app/models/lcms/engine/download_category.rb,
app/models/lcms/engine/resource_download.rb,
app/models/lcms/engine/resource_standard.rb,
app/models/lcms/engine/search/repository.rb,
app/services/lcms/engine/embed_equations.rb,
app/services/lcms/engine/sketch_compiler.rb,
app/exceptions/lcms/engine/document_error.rb,
app/exceptions/lcms/engine/material_error.rb,
app/models/concerns/lcms/engine/navigable.rb,
app/models/lcms/engine/application_record.rb,
app/presenters/lcms/engine/base_presenter.rb,
app/services/lcms/engine/bundle_generator.rb,
app/helpers/lcms/engine/application_helper.rb,
app/jobs/concerns/lcms/engine/retry_simple.rb,
app/jobs/lcms/engine/document_generate_job.rb,
app/jobs/lcms/engine/material_generate_job.rb,
app/mailers/lcms/engine/application_mailer.rb,
app/models/concerns/lcms/engine/searchable.rb,
app/presenters/lcms/engine/media_presenter.rb,
app/interactors/lcms/engine/base_interactor.rb,
app/jobs/concerns/lcms/engine/retry_delayed.rb,
app/services/lcms/engine/document_generator.rb,
app/models/lcms/engine/copyright_attribution.rb,
app/presenters/lcms/engine/content_presenter.rb,
app/presenters/lcms/engine/generic_presenter.rb,
app/services/lcms/engine/lessons_pdf_bundler.rb,
app/interactors/lcms/engine/search_interactor.rb,
app/presenters/lcms/engine/document_presenter.rb,
app/presenters/lcms/engine/material_presenter.rb,
app/presenters/lcms/engine/resource_presenter.rb,
app/queries/lcms/engine/admin_documents_query.rb,
app/queries/lcms/engine/admin_materials_query.rb,
app/services/lcms/engine/google/drive_service.rb,
app/services/lcms/engine/lessons_gdoc_bundler.rb,
app/controllers/lcms/engine/surveys_controller.rb,
app/controllers/lcms/engine/welcome_controller.rb,
app/entities/lcms/engine/hierarchical_position.rb,
app/jobs/lcms/engine/document_generate_pdf_job.rb,
app/jobs/lcms/engine/material_generate_pdf_job.rb,
app/models/lcms/engine/reading_assignment_text.rb,
app/services/lcms/engine/google/script_service.rb,
app/jobs/concerns/lcms/engine/nested_resque_job.rb,
app/jobs/lcms/engine/document_generate_gdoc_job.rb,
app/jobs/lcms/engine/material_generate_gdoc_job.rb,
app/presenters/lcms/engine/curriculum_presenter.rb,
app/serializers/lcms/engine/material_serializer.rb,
app/serializers/lcms/engine/resource_serializer.rb,
app/services/lcms/engine/document_build_service.rb,
app/services/lcms/engine/material_build_service.rb,
app/controllers/lcms/engine/documents_controller.rb,
app/controllers/lcms/engine/materials_controller.rb,
app/controllers/lcms/engine/resources_controller.rb,
app/models/lcms/engine/reading_assignment_author.rb,
app/models/lcms/engine/resource_related_resource.rb,
app/controllers/concerns/lcms/engine/reimportable.rb,
app/jobs/lcms/engine/document_bundle_generate_job.rb,
app/services/lcms/engine/react_materials_resolver.rb,
app/controllers/lcms/engine/admin/admin_controller.rb,
app/controllers/lcms/engine/admin/users_controller.rb,
app/controllers/lcms/engine/application_controller.rb,
app/models/lcms/engine/resource_reading_assignment.rb,
app/interactors/lcms/engine/find_lessons_interactor.rb,
app/models/lcms/engine/resource_additional_resource.rb,
app/services/lcms/engine/material_preview_generator.rb,
app/controllers/lcms/engine/admin/welcome_controller.rb,
app/controllers/lcms/engine/registrations_controller.rb,
app/services/lcms/engine/bulk_edit_resources_service.rb,
lib/generators/lcms/engine/install/install_generator.rb,
app/controllers/lcms/engine/admin/settings_controller.rb,
app/models/lcms/engine/search/elastic_search_document.rb,
app/services/lcms/engine/related_instructions_service.rb,
app/controllers/concerns/lcms/engine/location_storable.rb,
app/controllers/lcms/engine/admin/documents_controller.rb,
app/controllers/lcms/engine/admin/materials_controller.rb,
app/controllers/lcms/engine/admin/resources_controller.rb,
app/controllers/lcms/engine/admin/standards_controller.rb,
app/serializers/lcms/engine/resource_picker_serializer.rb,
app/serializers/lcms/engine/search_document_serializer.rb,
app/serializers/lcms/engine/search_resource_serializer.rb,
app/controllers/concerns/lcms/engine/google_credentials.rb,
app/serializers/lcms/engine/association_item_serializer.rb,
app/serializers/lcms/engine/resource_details_serializer.rb,
app/controllers/concerns/lcms/engine/nested_reimportable.rb,
app/controllers/lcms/engine/admin/curriculums_controller.rb,
app/serializers/lcms/engine/document_material_serializer.rb,
app/serializers/lcms/engine/previews_material_serializer.rb,
app/services/lcms/engine/generate_hierarchical_positions.rb,
app/controllers/lcms/engine/admin/access_codes_controller.rb,
app/interactors/lcms/engine/explore_curriculum_interactor.rb,
app/interactors/lcms/engine/enhance_instruction_interactor.rb,
app/serializers/lcms/engine/curriculum_resource_serializer.rb,
app/serializers/lcms/engine/resource_instruction_serializer.rb,
app/controllers/lcms/engine/admin/batch_reimports_controller.rb,
app/controllers/lcms/engine/admin/resource_picker_controller.rb,
app/controllers/lcms/engine/admin/sketch_compilers_controller.rb,
app/controllers/lcms/engine/admin/association_picker_controller.rb,
app/controllers/lcms/engine/admin/resource_bulk_edits_controller.rb

Defined Under Namespace

Modules: Admin, ApplicationHelper, DocumentsHelper, DownloadHelper, Generators, Google, GoogleCredentials, LocationStorable, MediaHelper, Navigable, NestedReimportable, NestedResqueJob, PagesHelper, Partable, PathHelper, Reimportable, ResourceHelper, RetryDelayed, RetrySimple, Search, Searchable, TagsHelper, Test, ViewHelper Classes: AccessCode, AdminDocumentsQuery, AdminMaterialsQuery, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, AssociationItemSerializer, Author, BaseInteractor, BasePresenter, BaseQuery, Breadcrumbs, BulkEditResourcesService, BundleGenerator, ContentPresenter, CopyrightAttribution, Curriculum, CurriculumForm, CurriculumMap, CurriculumPresenter, CurriculumResourceSerializer, Document, DocumentBuildService, DocumentBundle, DocumentBundleGenerateJob, DocumentError, DocumentForm, DocumentGenerateGdocJob, DocumentGenerateJob, DocumentGeneratePdfJob, DocumentGenerator, DocumentMaterialSerializer, DocumentParseJob, DocumentPart, DocumentPresenter, DocumentsController, Download, DownloadCategory, EmbedEquations, Engine, EnhanceInstructionInteractor, ExploreCurriculumInteractor, ExternalPage, Filterbar, FindLessonsInteractor, GenerateHierarchicalPositions, GenericPresenter, Grades, HierarchicalPosition, HtmlSanitizer, LeadershipPost, LessonsGdocBundler, LessonsPdfBundler, LtiExporter, Material, MaterialBuildService, MaterialError, MaterialForm, MaterialGenerateGdocJob, MaterialGenerateJob, MaterialGeneratePdfJob, MaterialParseJob, MaterialPart, MaterialPresenter, MaterialPreviewGenerator, MaterialSerializer, MaterialsController, MediaEmbed, MediaPresenter, Pagination, PreviewsMaterialSerializer, ReactMaterialsResolver, ReadingAssignmentAuthor, ReadingAssignmentText, RegistrationsController, RelatedInstructionsService, Resource, ResourceAdditionalResource, ResourceDetailsSerializer, ResourceDownload, ResourceInstructionSerializer, ResourcePickerSerializer, ResourcePresenter, ResourceReadingAssignment, ResourceRelatedResource, ResourceSerializer, ResourceStandard, ResourcesController, RomanNumerals, S3Service, SearchDocumentSerializer, SearchInteractor, SearchResourceSerializer, Settings, SketchCompiler, Slug, SocialThumbnail, StaffMember, Standard, StandardLink, SurveyForm, SurveysController, Tag, Tagging, User, WelcomeController

Constant Summary collapse

VERSION =
'0.5.5'
RAILS_5_VERSION =
5.2

Class Method Summary collapse

Class Method Details

.table_name_prefixObject

TODO: Set the correct prefix after renaming all the tables?



7
8
9
# File 'lib/lcms/engine.rb', line 7

def table_name_prefix
  ''
end

.webpackerObject



11
12
13
14
15
16
17
18
19
20
# File 'lib/lcms/engine.rb', line 11

def webpacker
  @webpacker ||=
    begin
      root_path = Pathname.new File.expand_path('../..', __dir__)
      ::Webpacker::Instance.new(
        root_path: root_path,
        config_path: root_path.join('config/webpacker.yml')
      )
    end
end