Module: Kithe

Defined in:
lib/kithe.rb,
lib/kithe/engine.rb,
lib/kithe/version.rb,
app/jobs/kithe/job.rb,
app/indexing/kithe/indexer.rb,
app/models/kithe/derivative.rb,
app/indexing/kithe/indexable.rb,
app/indexing/kithe/solr_util.rb,
app/models/kithe/config_base.rb,
lib/kithe/indexable_settings.rb,
app/jobs/kithe/asset_delete_job.rb,
app/models/kithe/model_contains.rb,
app/jobs/kithe/asset_promote_job.rb,
app/uploaders/kithe/asset_uploader.rb,
app/jobs/kithe/create_derivatives_job.rb,
app/indexing/kithe/indexer/obj_extract.rb,
app/uploaders/kithe/derivative_uploader.rb,
app/indexing/kithe/indexable/thread_settings.rb,
app/indexing/kithe/indexable/record_index_updater.rb,
lib/kithe/blacklight_tools/search_service_bulk_load.rb,
app/derivative_transformers/kithe/ffmpeg_transformer.rb,
lib/kithe/blacklight_tools/bulk_loading_search_service.rb,
app/derivative_transformers/kithe/vips_cli_image_to_jpeg.rb

Defined Under Namespace

Modules: BlacklightTools, FormHelper, Indexable, SolrUtil Classes: Asset, AssetDeleteJob, AssetPromoteJob, AssetUploader, Collection, ConfigBase, CreateDerivativesJob, Derivative, DerivativeUploader, Engine, FfmpegTransformer, FormBuilder, IndexableSettings, Indexer, Model, ModelContains, Parameters, RepeatableInputGenerator, VipsCliImageToJpeg, Work

Constant Summary collapse

STANDARD_PROGRESS_BAR_FORMAT =

for ruby-progressbar

"%a %t: |%B| %R/s %c/%u %p%% %e"
VERSION =
'0.3.0'
Job =

Just a superclass for all kithe jobs, to make it easier to do track them or put them all in a certain queue or whatever. Will inherit from local app ApplicationJob if it exists.

Class.new(app_superclass)

Class Method Summary collapse

Class Method Details

.railtie_namespaceObject

We don’t want an isolated engine, but we do want this, part of what isolated engines do. Will make generators use namespace scope, among other things.



16
17
18
# File 'lib/kithe.rb', line 16

def self.railtie_namespace
  Kithe::Engine
end

.table_name_prefixObject

ActiveRecord will automatically pick this up for all our models. We don’t want an isolated engine, but we do want this, part of what isolated engines do.



10
11
12
# File 'lib/kithe.rb', line 10

def self.table_name_prefix
  'kithe_'
end