Sha256: fb99f04801bac81860b8e3b0f0fffbda19a0751f9202b9de76ba81b05e446631
Contents?: true
Size: 712 Bytes
Versions: 1
Compression:
Stored size: 712 Bytes
Contents
require 'boxy/version' require 'boxy/dsl' require 'bundler' module Boxy def self.load_commands(url) Boxy::Dsl.interpret(url).uniq end def self.validate(commands) commands.map do |command| command.valid = !!@@handlers[command.type] command end end def self.install(commands) commands.each do |command| handler = @@handlers[command.type] Bundler.with_clean_env do handler.install(command.name, command.options) end end end def self.register(type, handler) @@handlers ||= {} @@handlers[type] = handler end end require 'boxy/brew' require 'boxy/brew_cask' require 'boxy/defaulty' require 'boxy/homesick' require 'boxy/luarock'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
boxy-0.1.0 | lib/boxy.rb |