Sha256: 4c7caef5e78e7ae32092ee423322a4eea80832e3b0a710c86a9a7e98eed3ca1d

Contents?: true

Size: 354 Bytes

Versions: 9

Compression:

Stored size: 354 Bytes

Contents

namespace :config do
  desc "Copy the config of the active admin poro decorator"
  task :copy do
    source = File.join(Gem.loaded_specs["activeadmin-poro-decorator"].full_gem_path, "activeadmin-poro-decorator.yml.example")
    target = File.join(Rails.root, "config", "activeadmin-poro-decorator.yml.example")
    FileUtils.cp_r source, target
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activeadmin-poro-decorator-0.2.0 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.1.0 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.9 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.8 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.6 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.5 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.4 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.3 lib/tasks/copy_config.rake
activeadmin-poro-decorator-0.0.2 lib/tasks/copy_config.rake