Sha256: e094bcf0e00f4b9e7821f524bd3c114cff3d9dd03994e3ff331bd5db2fe50637
Contents?: true
Size: 517 Bytes
Versions: 4
Compression:
Stored size: 517 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rack/test' require 'openvpn-status-web' def status_v1 text = File.open('examples/status.v1', 'rb') do |f| f.read end OpenVPNStatusWeb::Parser::V1.new.parse_status_log text end def status_v2 text = File.open('examples/status.v2', 'rb') do |f| f.read end OpenVPNStatusWeb::Parser::V2.new.parse_status_log text end def status_v3 text = File.open('examples/status.v3', 'rb') do |f| f.read end OpenVPNStatusWeb::Parser::V3.new.parse_status_log text end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
openvpn-status-web-2.0.0 | spec/spec_helper.rb |
openvpn-status-web-1.1.0 | spec/spec_helper.rb |
openvpn-status-web-1.0.1 | spec/spec_helper.rb |
openvpn-status-web-1.0.0 | spec/spec_helper.rb |