summaryrefslogtreecommitdiff
path: root/lib/tasks/task_helper.rb
blob: 81dcbe423bf49e4feb9fe5aa48514f739d94f3dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require File.expand_path('../../../lib/leap_web/version', __FILE__)

module TaskHelper

  ENGINES = %w(users certs help billing)

  def putsys(cmd)
    puts cmd
    system cmd
  end

  def each_gem
    ENGINES.each do |gem_name|
      puts "########################### #{gem_name} #########################"
      yield gem_name
    end
  end
end