Sha256: 531683cc304924a04fad9fddcd53ee3d3b729c5ebbdbabae4e0450df8091ba14

Contents?: true

Size: 1.07 KB

Versions: 43

Compression:

Stored size: 1.07 KB

Contents

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

43 entries across 43 versions & 1 rubygems

Version Path
fig-1.23.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.22.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.22.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.21.1.beta.2 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.21.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.21.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.20.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.20.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.19.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.18.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.17.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.16.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.16.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.15.1.beta.2 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.15.1.beta.1 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.15.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.14.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.13.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.12.0 lib/fig/command/action/list_dependencies/all_configs.rb
fig-1.11.0 lib/fig/command/action/list_dependencies/all_configs.rb