commutateurs 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/commutateurs/hp.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7169b4ffc6129dc3f778f246922607fe8959c167
4
- data.tar.gz: f5bf6bb867c867097eb35e5451bdba5fca781e87
3
+ metadata.gz: 1f55b8ad5d249b5d1d1d671d5c30105df56da4cd
4
+ data.tar.gz: 53096d85d6dc191baebdcae715cca624b6696046
5
5
  SHA512:
6
- metadata.gz: dbe1b0df004ee1a170b7f2a5929bc6a9575c0abede2fa512f24ceba706d62aeb64e7a1ed2d61177bfefd2443e8b4146b3f78f5dd8d202d289a73b770f729e6b6
7
- data.tar.gz: 382a9ac0525b8ac6639e75ab55ebc00c83fb715c5ec73edd15533bc5c6761dca00a778049ae1d501dd0b4bbe8564466f8a5bce69cd6720ef3b53dba4e5b690a3
6
+ metadata.gz: 1c113de7cc3d141d70f2d416595e256710f9a13194626bde8013f748d964bda10810e7c3b570a7f21aa7eda3df24a033944056567be3c5055fb663fee166f888
7
+ data.tar.gz: b6abb678c45b600cb34d153db089073730876005c99798dcba7b69c314a1a860822f14100aaf5c21a20053dccd887a59219f05c7299814e60890245a978bdcd6
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commutateurs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Rose