Merge branch 'v0.4.1'

This commit is contained in:
kojix2 2021-06-03 11:01:20 +09:00
commit d49a11bb7a
4 changed files with 13 additions and 15 deletions

View File

@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu', 'macos']
ruby: [ '2.6', '2.7', '3.0' ]
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1

View File

@ -14,7 +14,7 @@ module YouPlot
# Remove blank lines
arr.delete_if do |i|
i == [] or i.all? nil
i == [] or i.all?(&:nil?)
end
# get header

View File

@ -13,7 +13,6 @@ module YouPlot
:encoding,
:reverse, # count
:color_names, # color
:debug,
keyword_init: true
:debug
)
end

View File

@ -15,17 +15,16 @@ module YouPlot
@command = nil
@options = Options.new(
delimiter: "\t",
transpose: false,
headers: nil,
pass: false,
output: $stderr,
fmt: 'xyy',
progressive: false,
encoding: nil,
reverse: false,
color_names: false,
debug: false
"\t", # elimiter:
false, # transpose:
nil, # headers:
false, # pass:
$stderr, # output:
'xyy', # fmt:
false, # progressive:
nil, # encoding:
false, # color_names:
false # debug:
)
@params = Parameters.new