Sha256: 578e798452d8d1a9f870e5d9e4751438ffa8852eb8cbf89d3e9633263250537a

Contents?: true

Size: 808 Bytes

Versions: 60

Compression:

Stored size: 808 Bytes

Contents

require 'ivy/target'

module Ivy
  class Listmodules < Ivy::Target
    def parameter
      [
        Parameter.new(:organisation, true),
        Parameter.new(:module, true),
        Parameter.new(:branch, false),
        Parameter.new(:revision, true),
        Parameter.new(:matcher, false),
        Parameter.new(:property, true),
        Parameter.new(:value, true),
        Parameter.new(:settingsRef, false),
      ]
    end

    protected
    def before_hook
      @cached_property_names = ant_properties.map {|key, value| key }
    end

    def after_hook
      @cached_property_names = nil
    end

    def execute_ivy
      call_nested :ivy_listmodules => params
    end

    def create_return_values
      ant_properties.reject { |key, value| @cached_property_names.member? key }
    end
  end
end

Version data entries

60 entries across 60 versions & 3 rubygems

Version Path
pepijnve-ivy4r-0.12.11 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.1.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.2.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.3.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.4.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.5.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.5.1 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.5.2 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.5.3 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.6.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.7.0 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.7.1 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.7.2 lib/ivy/listmodules.rb
klaas1979-ivy4r-0.7.3 lib/ivy/listmodules.rb
ivy4r-0.12.10 lib/ivy/listmodules.rb
ivy4r-0.12.9 lib/ivy/listmodules.rb
ivy4r-0.12.8 lib/ivy/listmodules.rb
ivy4r-0.12.7 lib/ivy/listmodules.rb
ivy4r-0.12.6 lib/ivy/listmodules.rb
ivy4r-0.12.5 lib/ivy/listmodules.rb