Sha256: a44f17642ae4faacaaaaf50742f26166cb69df373ee116f414add3e94eb7e01e
Contents?: true
Size: 945 Bytes
Versions: 1
Compression:
Stored size: 945 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'pumper' options = Hash.new opts = OptionParser.new do |opts| opts.banner = %q[Pumper] opts.on('-p', '--project PROJECT_PATH', 'Path to ruby project where need update current gem') do |project| options[:project] = project end opts.on('-a', '--absolute_path', 'If project path is absolute') do options[:is_absolute_path] = true end opts.on('-c', '--config', 'If use .pumper.yml config') do options[:config] = true end opts.on('-g', '--gemset GEMSET', 'Gemset name (if you use rvm)') do |gemset| options[:gemset] = gemset end opts.on('-e', '--vendor', 'If project gems stored in the vendor/cache') do options[:is_vendor] = true end end opts.parse! config_options = Pumper::Configuration.configure!(options) if options[:config] config_options.each { |options| Pumper::Pump.new(options).perform } else Pumper::Pump.new(config_options).perform end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pumper-1.2.0 | bin/pumper |