Sha256: 943c3a6eb92e52fd008690ab5c926fb1a46186727003abd2e20c4b75fe147240

Contents?: true

Size: 1.08 KB

Versions: 15

Compression:

Stored size: 1.08 KB

Contents

# coding: utf-8

require 'fig/command/action'
require 'fig/command/action/role/list_all_configs'
require 'fig/command/action/role/list_dependencies_flat'
require 'fig/command/action/role/list_walking_dependency_tree'

module  Fig; end
class   Fig::Command; end
module  Fig::Command::Action; end
class   Fig::Command::Action::ListDependencies; end

class Fig::Command::Action::ListDependencies::AllConfigs
  include Fig::Command::Action
  include Fig::Command::Action::Role::ListAllConfigs
  include Fig::Command::Action::Role::ListDependenciesFlat
  include Fig::Command::Action::Role::ListWalkingDependencyTree

  def options()
    return %w<--list-dependencies --list-all-configs>
  end

  def descriptor_requirement()
    return nil
  end

  def load_base_package?()
    return true
  end

  def register_base_package?()
    return nil # don't care
  end

  def apply_config?
    return nil # don't care
  end

  def derive_package_strings(packages)
    return packages.keys.collect do
      |package|

      packages[package].collect {|config| package.to_s_with_config(config)}
    end.flatten
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fig-1.27.10 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.27.8 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.27.5 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.27.4 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.27.3 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.27.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.26.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.26.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.25.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.25.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.24.1.beta.3 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.24.1.beta.2 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.24.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.24.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.23.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb