Sha256: 3d772e93debfe58e25b9b641a2df1f1c1c645dc9f7d80b94c4086d1c256a2fe4

Contents?: true

Size: 313 Bytes

Versions: 19

Compression:

Stored size: 313 Bytes

Contents

module Vpsb
  module Resources
    class DeployToKnownHosts < BaseAskResource
      res :deploy_to_known_hosts
      question 'Enter known hosts (example: bitbucket.org, github.com)?'
      private

      def finalize(answer)
        answer.split(',').join(' ').split(' ').compact.uniq
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
vpsb-1.1.8 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.7 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.6 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.5 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.4 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.3 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.2 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.1 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.1.0 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.9 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.8 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.7 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.6 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.5 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.4 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.3 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.2 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.1 lib/vpsb/resources/deploy_to_known_hosts.rb
vpsb-1.0.0 lib/vpsb/resources/deploy_to_known_hosts.rb