Class: Spree::MaintenanceTasks::Upgrade::PromotionOptionValueRules

Inherits:
RakeStep show all
Defined in:
app/maintenance_tasks/spree/maintenance_tasks/upgrade/promotion_option_value_rules.rb

Overview

Rewrites Option Value promotion rules so they reference option values directly rather than the join rows they used to point at.

Constant Summary

Constants inherited from RakeStep

RakeStep::ENVIRONMENT_LOCK

Constants inherited from Spree::MaintenanceTask

Spree::MaintenanceTask::DEFAULT_BATCH_SIZE, Spree::MaintenanceTask::MAX_RUN_TIME, Spree::MaintenanceTask::RAKE_LOAD_LOCK

Instance Attribute Summary

Attributes inherited from Spree::MaintenanceTask

#run

Method Summary

Methods inherited from RakeStep

arguments_from_environment, passes_to_environment, #process, runs_rake_task

Methods inherited from Spree::MaintenanceTask

#after_complete, api_type_for, #collection, collection_batch_size, #count, #dry_run?, find_by_api_type, find_registered, #invoke_rake_task, no_collection, #no_collection?, #process, #rake_file_defining, registered_classes, supports_dry_run, #tallies, #tally

Methods included from ApiTyped

#api_type, api_type_for, #api_typed_family, class_name_for, find, registered_class