1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2025-06-28 14:30:23 +02:00

gems: update rubocop to version 1.24.0

This commit is contained in:
depfu[bot]
2021-12-24 12:20:14 +00:00
committed by Christian Nicolai
parent d401074524
commit 55aecedef7
2 changed files with 4 additions and 4 deletions

View File

@ -7,16 +7,16 @@ require 'rack/test'
require 'openvpn-status-web'
def status_v1
text = File.open('examples/status.v1', 'rb', &:read)
text = File.binread('examples/status.v1')
OpenVPNStatusWeb::Parser::V1.new.parse_status_log text
end
def status_v2
text = File.open('examples/status.v2', 'rb', &:read)
text = File.binread('examples/status.v2')
OpenVPNStatusWeb::Parser::V2.new.parse_status_log text
end
def status_v3
text = File.open('examples/status.v3', 'rb', &:read)
text = File.binread('examples/status.v3')
OpenVPNStatusWeb::Parser::V3.new.parse_status_log text
end