Sha256: 8896207b116b817b0a5f118808d0d562cf0d9dbb477bc910bf7f447983bfa8f2
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
require 'net/ssh' require 'open3' require 'class_config' require 'logger' require 'delegate' module Datacenter extend ClassConfig attr_config :logger, Logger.new('/dev/null') attr_config :process_cache_expiration, 2 end Dir.glob(File.expand_path('datacenter/**/*.rb', File.dirname(__FILE__))).sort.each { |f| require f } if RUBY_ENGINE == 'jruby' Net::SSH::Transport::Algorithms::ALGORITHMS.values.each { |algs| algs.reject! { |a| a =~ /^ecd(sa|h)-sha2/ } } Net::SSH::KnownHosts::SUPPORTED_TYPE.reject! { |t| t =~ /^ecd(sa|h)-sha2/ } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datacenter-0.5.1 | lib/datacenter.rb |
datacenter-0.5.0 | lib/datacenter.rb |