Sha256: 1dee4832b09fa6024d05575437964056ba63e8477b119bb8efaa75b50cca2638

Contents?: true

Size: 339 Bytes

Versions: 23

Compression:

Stored size: 339 Bytes

Contents

module AppDrone
class Bundle < Drone
  desc "Manages gem installations"
  category :base
  owns_generator_method :gemfile

  attr_accessor :gems
  @@gem = Struct.new('Gem', :name, :opts)

  def setup
    self.gems = []
  end

  def add(g,*opts)
    self.gems << @@gem.new(g,*opts)
  end

  def execute
     do! :gem_entries
  end

end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
app_drone-0.5.1 lib/app_drone/drones/bundle/bundle.rb
app_drone-0.5.0 lib/app_drone/drones/bundle/bundle.rb
app_drone-0.4.0 lib/app_drone/drones/bundle/bundle.rb