Sha256: 73667c7e45b4022cb0b4c072641b3a2a9d2b1dac4c3cd431320151517d1c9428

Contents?: true

Size: 584 Bytes

Versions: 13

Compression:

Stored size: 584 Bytes

Contents

require 'rake_factory'

require_relative '../tasks'

module RakeSSH
  module TaskSets
    class Key < RakeFactory::TaskSet
      prepend RakeFactory::Namespaceable

      parameter :path, required: true
      parameter :name_prefix, default: 'ssh'
      parameter :type, default: "RSA"
      parameter :bits, default: 4096
      parameter :comment
      parameter :passphrase

      parameter :generate_task_name, default: :generate

      task Tasks::Key::Generate,
          name: RakeFactory::DynamicValue.new { |ts|
            ts.generate_task_name
          }
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rake_ssh-0.7.0.pre.6 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.7.0.pre.5 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.7.0.pre.4 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.7.0.pre.3 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.7.0.pre.2 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.7.0.pre.1 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.6.0 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.5.0.pre.2 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.5.0.pre.1 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.4.0 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.3.0.pre.1 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.2.0 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.1.0.pre.5 lib/rake_ssh/task_sets/key.rb