Module: Kithe
- Defined in:
- lib/kithe.rb,
lib/kithe/engine.rb,
lib/kithe/version.rb,
app/jobs/kithe/job.rb,
lib/kithe/sti_preload.rb,
app/indexing/kithe/indexer.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/models/kithe/mediainfo_analyzer.rb,
app/jobs/kithe/create_derivatives_job.rb,
app/indexing/kithe/indexer/obj_extract.rb,
app/models/kithe/timing_promotion_directive.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, StiPreload Classes: Asset, AssetDeleteJob, AssetPromoteJob, AssetUploader, Collection, ConfigBase, CreateDerivativesJob, Engine, FfmpegTransformer, FormBuilder, IndexableSettings, Indexer, MediainfoAnalyzer, Model, ModelContains, Parameters, RepeatableInputGenerator, TimingPromotionDirective, VipsCliImageToJpeg, Work
Constant Summary collapse
- STANDARD_PROGRESS_BAR_FORMAT =
for ruby-progressbar
"%a %t: |%B| %R/s %c/%u %p%% %e"
- VERSION =
not sure why rubygems turned our alphas into 2.0.0.pre.alpha1, inserting “pre”. We need to do same thing with betas to get version orderings appropriate.
'2.0.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 Attribute Summary collapse
-
.indexable_settings ⇒ Object
Returns the value of attribute indexable_settings.
-
.use_mediainfo ⇒ Object
Currently used by Kithe::AssetUploader, a bit of a hacky design, we should improve with better way to customize uploaders.
Class Method Summary collapse
-
.railtie_namespace ⇒ Object
We don’t want an isolated engine, but we do want this, part of what isolated engines do.
-
.table_name_prefix ⇒ Object
ActiveRecord will automatically pick this up for all our models.
Class Attribute Details
.indexable_settings ⇒ Object
Returns the value of attribute indexable_settings.
71 72 73 |
# File 'lib/kithe.rb', line 71 def indexable_settings @indexable_settings end |
.use_mediainfo ⇒ Object
Currently used by Kithe::AssetUploader, a bit of a hacky design, we should improve with better way to customize uploaders.
97 98 99 |
# File 'lib/kithe.rb', line 97 def use_mediainfo @use_mediainfo end |
Class Method Details
.railtie_namespace ⇒ Object
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.
28 29 30 |
# File 'lib/kithe.rb', line 28 def self.railtie_namespace Kithe::Engine end |
.table_name_prefix ⇒ Object
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.
22 23 24 |
# File 'lib/kithe.rb', line 22 def self.table_name_prefix 'kithe_' end |