oxidized 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.12.1
2
+ - BUGFIX: set term to vty100
3
+ - BUGFIX: MRV model fixes (by @natm)
4
+
1
5
  # 0.12.0
2
6
  - FEATURE: enhance AOSW (by @mikebryant)
3
7
  - FEATURE: F5 TMOS support (by @mikebryant)
data/Rakefile CHANGED
@@ -19,13 +19,6 @@ task :test do
19
19
  end
20
20
  end
21
21
 
22
- desc 'Build gem'
23
- task :build do
24
- system "gem build #{gemspec.name}.gemspec"
25
- FileUtils.mkdir_p 'gems'
26
- FileUtils.mv file, 'gems'
27
- end
28
-
29
22
  desc 'Install gem'
30
23
  task :install => :build do
31
24
  system "sudo -Es sh -c \'umask 022; gem install gems/#{file}\'"
@@ -86,7 +86,7 @@ module Oxidized
86
86
  @output << data
87
87
  @output = @node.model.expects @output
88
88
  end
89
- ch.request_pty do |_ch, success_pty|
89
+ ch.request_pty (opts={:term=>'vt100'}) do |_ch, success_pty|
90
90
  raise NoShell, "Can't get PTY" unless success_pty
91
91
  ch.send_channel_request 'shell' do |_ch, success_shell|
92
92
  raise NoShell, "Can't get shell" unless success_shell
@@ -12,6 +12,7 @@ comment '!'
12
12
 
13
13
  cmd :all do |cfg|
14
14
  cfg.each_line.to_a[1..-2].join
15
+ cfg.gsub! /^(! Configuration ).*/, '!'
15
16
  end
16
17
 
17
18
  cmd 'show inventory' do |cfg|
@@ -43,4 +44,4 @@ comment '!'
43
44
  pre_logout 'exit'
44
45
  end
45
46
 
46
- end
47
+ end
@@ -1,3 +1,3 @@
1
1
  module Oxidized
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
3
3
  end
data/oxidized.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = %w( oxidized )
19
19
  s.require_path = 'lib'
20
20
 
21
- s.required_ruby_version = '>= 1.9.3'
21
+ s.required_ruby_version = '>= 2.0.0'
22
22
  s.add_runtime_dependency 'asetus', '~> 0.1'
23
23
  s.add_runtime_dependency 'slop', '~> 3.5'
24
24
  s.add_runtime_dependency 'net-ssh', '~> 3.0', '>= 3.0.2'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-02-05 00:00:00.000000000 Z
14
+ date: 2016-02-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: asetus
@@ -284,7 +284,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
284
284
  requirements:
285
285
  - - ! '>='
286
286
  - !ruby/object:Gem::Version
287
- version: 1.9.3
287
+ version: 2.0.0
288
288
  required_rubygems_version: !ruby/object:Gem::Requirement
289
289
  none: false
290
290
  requirements: