aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli.rb
blob: 5eecf62be69c2c95d4aff6c47c017f245607ba4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module LeapCli; end

require 'leap_cli/version.rb'
require 'leap_cli/requirements.rb'
require 'core_ext/hash'
require 'core_ext/boolean'
require 'core_ext/nil'

require 'leap_cli/init'
require 'leap_cli/path'
require 'leap_cli/util'
require 'leap_cli/util/secret'
require 'leap_cli/util/remote_command'
require 'leap_cli/util/x509'

require 'leap_cli/log'
require 'leap_cli/ssh_key'
require 'leap_cli/config/object'
require 'leap_cli/config/object_list'
require 'leap_cli/config/manager'

#
# make 1.8 act like ruby 1.9
#
unless String.method_defined?(:to_a)
  class String
    def to_a; [self]; end
  end
end

unless String.method_defined?(:any?)
  class String
    def any?; self.chars.any?; end
  end
end