Sha256: bfdf8a0c97957630e4b58150d2e8afbc150e7b05b935c44f02cf1d28c4a8466a

Contents?: true

Size: 367 Bytes

Versions: 125

Compression:

Stored size: 367 Bytes

Contents

namespace :forest do
  desc "Synchronize the models/customization with Forest servers"
  task(:send_apimap).clear
  task send_apimap: :environment do
    if ForestLiana.env_secret
      bootstrapper = ForestLiana::Bootstrapper.new
      bootstrapper.synchronize(true)
    else
      puts 'Cannot send the Apimap, Forest cannot find your env_secret'
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
forest_liana-8.0.17 lib/tasks/send_apimap.rake
forest_liana-7.8.2 lib/tasks/send_apimap.rake
forest_liana-8.0.16 lib/tasks/send_apimap.rake
forest_liana-8.0.15 lib/tasks/send_apimap.rake
forest_liana-8.0.14 lib/tasks/send_apimap.rake
forest_liana-8.0.13 lib/tasks/send_apimap.rake
forest_liana-8.0.12 lib/tasks/send_apimap.rake
forest_liana-8.0.11 lib/tasks/send_apimap.rake
forest_liana-8.0.10 lib/tasks/send_apimap.rake
forest_liana-8.0.9 lib/tasks/send_apimap.rake
forest_liana-8.0.8 lib/tasks/send_apimap.rake
forest_liana-8.0.7 lib/tasks/send_apimap.rake
forest_liana-8.0.6 lib/tasks/send_apimap.rake
forest_liana-8.0.5 lib/tasks/send_apimap.rake
forest_liana-8.0.4 lib/tasks/send_apimap.rake
forest_liana-8.0.3 lib/tasks/send_apimap.rake
forest_liana-8.0.2 lib/tasks/send_apimap.rake
forest_liana-8.0.1 lib/tasks/send_apimap.rake
forest_liana-8.0.0 lib/tasks/send_apimap.rake
forest_liana-7.8.1 lib/tasks/send_apimap.rake