vtysh 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34af7b512a21982b0dc323bbfc0552909980573621430434dea7906f84c2cf84
4
- data.tar.gz: 9b087692d112485f5dd6adcdff7ac1d9915e4276036c88ecba98860e495e16bb
3
+ metadata.gz: 4d3f9346d18059a1eaf1fda46792cc7c0af2739c83a142655fa3aed5be4c89fa
4
+ data.tar.gz: b0592d6296671e88b50eeb0e78fcee76f2c565bf49c7b4dd54e99525067ed9b0
5
5
  SHA512:
6
- metadata.gz: 4ebe4a05ea96de7d365b4171b97d47e1544b1c6b23c0a81eba074d884af669b6e753732cf5d606aa72bf346d0e382229f913a25401a2328b0c3f4b0aa68d9bcc
7
- data.tar.gz: 4eaa1c86dc0a01e5ba84c4515b8d9ff216511c015a9f4fb0ce865b95f8e6e83eb49ce2a16cfcb08b595ec89ba600bc603dd717c9d21562e0923bd576e4b96972
6
+ metadata.gz: 8df6e7efc8a4f1eb8b3e5917494ce90c257b131cc7d313daba6d9637ad1092cd2ea23e95646e418cc1381d98bd3309cc09b6c2e7ee8741ed1a6584d07bdc2d56
7
+ data.tar.gz: 59fd750b7ca377f69fd1eee1c83595183b464e9ac0d5960279b397a331e15c093843702101cf9b173fa5b1f5fa905c74044c2dea79a8cb25e5e4f1ce9a0abad0
data/lib/vtysh/diff.rb CHANGED
@@ -187,6 +187,7 @@ module Vtysh
187
187
  line = line.strip
188
188
  next if line.empty? || line.start_with?('#', '!')
189
189
  next if line.start_with?('ip route ') # managed by config_db, not vtysh
190
+ next if line.start_with?('hostname ') # managed by system hostname, FRR auto-inherits
190
191
  next if line =~ /^frr (version|defaults)/ || line == 'no service integrated-vtysh-config' || line.start_with?('agentx')
191
192
 
192
193
  if line =~ /^exit(-address-family|-vrf)?$/
data/lib/vtysh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vtysh
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vtysh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Siegel