Sha256: f937d0bc721c21084e4bf6a1a6f3a68f808df0b05ce4c792c102bfd61790562b

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

require 'rest-client'
require 'trackman'

namespace :trackman do
  desc "Syncs your assets with the server, this is what gets executed when you deploy to heroku."
  task :sync => :environment do 
    RestClient.log = Logger.new(STDOUT) if Debugger.debug_mode?
    Trackman::Assets::Asset.sync
  end

  desc "Sets up the heroku configs required by Trackman"
  task :setup, :app do |t, args|
    
    heroku_version = Gem.loaded_specs["heroku"].version.to_s
    Trackman::ConfigurationHandler.new(heroku_version, app: args[:app]).setup
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trackman-0.3.5 rails_generators/trackman/templates/trackman.rake
trackman-0.3.4 rails_generators/trackman/templates/trackman.rake
trackman-0.3.2 rails_generators/trackman/templates/trackman.rake
trackman-0.3.1 rails_generators/trackman/templates/trackman.rake