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: strategy:
matrix: matrix:
os: ['ubuntu', 'macos'] os: ['ubuntu', 'macos']
ruby: [ '2.6', '2.7', '3.0' ] ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1

View File

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

View File

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

View File

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