commutateurs 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commutateurs/hp.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f55b8ad5d249b5d1d1d671d5c30105df56da4cd
|
4
|
+
data.tar.gz: 53096d85d6dc191baebdcae715cca624b6696046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c113de7cc3d141d70f2d416595e256710f9a13194626bde8013f748d964bda10810e7c3b570a7f21aa7eda3df24a033944056567be3c5055fb663fee166f888
|
7
|
+
data.tar.gz: b6abb678c45b600cb34d153db089073730876005c99798dcba7b69c314a1a860822f14100aaf5c21a20053dccd887a59219f05c7299814e60890245a978bdcd6
|
data/lib/commutateurs/hp.rb
CHANGED
@@ -8,7 +8,7 @@ module Commutateurs
|
|
8
8
|
# hpuifilter.c used by rancid - https://github.com/dotwaffle/rancid-git/blob/master/bin/hpuifilter.c#L534
|
9
9
|
@transport.filter = Proc.new do |line|
|
10
10
|
line.gsub(/\e\[2K|\e\[2J|\e\[\?7l|\e\[\?6l|\e\[[0-9]+;[0-9]+r|\e\[[0-9]+;[0-9]+H|\e\[\?25l|\e\[\?25h/, "")
|
11
|
-
.gsub(/\eE/, "\n")
|
11
|
+
.gsub(/\eE|\n\r|\r\n/, "\n")
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|