Sha256: 8097cb973dc6478ab09e92aa30a8e132ffdeffe1f9b5123427bd7bfbe77128c7

Contents?: true

Size: 837 Bytes

Versions: 38

Compression:

Stored size: 837 Bytes

Contents

# NOTE: only doing this in development as some production environments (Heroku)
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
# NOTE: to have a dev-mode tool do its thing in production.
if(Rails.env.development?)
  task :set_annotation_options do
    ENV['position_in_class']    = "before"
    ENV['position_in_fixture']  = "before"
    ENV['position_in_factory']  = "before"
    ENV['show_indexes']         = "true"
    ENV['include_version']      = "false"
    ENV['exclude_tests']        = "false"
    ENV['exclude_fixtures']     = "false"
    ENV['ignore_model_sub_dir'] = "false"
    ENV['skip_on_db_migrate']   = "false"
    ENV['format_rdoc']          = "false"
    ENV['format_markdown']      = "false"
    ENV['no_sort']              = "false"
    ENV['force']                = "false"
  end
end

Version data entries

38 entries across 38 versions & 3 rubygems

Version Path
lentil-1.0.5 lib/tasks/auto_annotate_models.rake
lentil-1.0.4 lib/tasks/auto_annotate_models.rake
lentil-1.0.3 lib/tasks/auto_annotate_models.rake
lentil-1.0.2 lib/tasks/auto_annotate_models.rake
lentil-1.0.1 lib/tasks/auto_annotate_models.rake
lentil-1.0.0 lib/tasks/auto_annotate_models.rake
lentil-0.9.1 lib/tasks/auto_annotate_models.rake
lentil-0.9.0 lib/tasks/auto_annotate_models.rake
lentil-0.8.0 lib/tasks/auto_annotate_models.rake
lentil-0.7.1 lib/tasks/auto_annotate_models.rake
lentil-0.6.0 lib/tasks/auto_annotate_models.rake
lentil-0.5.2 lib/tasks/auto_annotate_models.rake
lentil-0.5.1 lib/tasks/auto_annotate_models.rake
lentil-0.5.0 lib/tasks/auto_annotate_models.rake
lentil-0.4.2 lib/tasks/auto_annotate_models.rake
lentil-0.4.0 lib/tasks/auto_annotate_models.rake
lentil-0.3.1 lib/tasks/auto_annotate_models.rake
lentil-0.3.0 lib/tasks/auto_annotate_models.rake
lentil-0.2.3 lib/tasks/auto_annotate_models.rake
lentil-0.2.2 lib/tasks/auto_annotate_models.rake