mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Merge branch 'v0.4.1'
This commit is contained in:
commit
d49a11bb7a
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user