Sha256: 2f556fc2bedca99529c1ec80b29a81cae5e7c4dd0b845b80b61098569f1c9251

Contents?: true

Size: 951 Bytes

Versions: 6

Compression:

Stored size: 951 Bytes

Contents

=begin
    Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

class Arachni::Plugins::Distributable < Arachni::Plugin::Base

    is_distributable

    def run
        wait_while_framework_running
        register_results( 'stuff' => 1 )
    end

    def self.merge( results )
        { 'stuff' => results.map { |res| res['stuff'] }.inject( :+ ) }
    end

    def self.info
        {
            name:        'Distributable',
            description: %q{},
            author:      'Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>',
            version:     '0.1',
            issue:       {
                tags: [ 'distributable_string', :distributable_sym ]
            }
        }
    end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 spec/support/fixtures/plugins/distributable.rb
arachni-1.3.1 spec/support/fixtures/plugins/distributable.rb
arachni-1.3 spec/support/fixtures/plugins/distributable.rb
arachni-1.2.1 spec/support/fixtures/plugins/distributable.rb
arachni-1.2 spec/support/fixtures/plugins/distributable.rb
arachni-1.1 spec/support/fixtures/plugins/distributable.rb