Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmomogwai committed Feb 25, 2019
1 parent ee432d4 commit 0b01e07
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ preGenerateCommands "packageversion || dub run packageversion"
sourceFiles "out/generated/packageversion/asciitable/packageversion.d"
sourcePaths "source" "out/generated/packageversion"
importPaths "source" "out/generated/packageversion"
dependency "packageversion" version="~>0.0.15"
dependency "colored" version="~>0.0.1"
dependency "packageversion" version="~>0.0.18"
dependency "colored" version="~>0.0.19"

configuration "library" {
targetType "library"
Expand All @@ -24,15 +24,15 @@ configuration "ut" {
targetPath "out/test"

versions "unitThreadedLight"
dependency "unit-threaded" version="~>0.7.45"
dependency "unit-threaded" version="~>0.8.0"
}

configuration "unittest" {
targetType "executable"
targetName "unittest"
targetPath "out/test"

dependency "unit-threaded" version="~>0.7.45"
dependency "unit-threaded" version="~>0.8.0"
preBuildCommands "dub run unit-threaded -c gen_ut_main -- -f out/generated/unit-threaded/testsuite.d"
mainSourceFile "out/generated/unit-threaded/testsuite.d"
}
Expand Down
4 changes: 2 additions & 2 deletions dub.selections.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"fileVersion": 1,
"versions": {
"colored": "0.0.18",
"colored": "0.0.20",
"packageversion": "0.0.18",
"unit-threaded": "0.7.53"
"unit-threaded": "0.8.0"
}
}
12 changes: 7 additions & 5 deletions readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ import std.stdio;
new AsciiTable(2)
.row.add("hello").add("world")
.row.add("here").add("we are")
.table
.format
.columnSeparator(" | ")
.parts(new UnicodeParts)
.columnSeparator(true)
.writeln;

->

| hello | world |
| here | we are |
|hello|world |
|here |we are|

#+END_SRC

** Usage
Please see the [[https://gizmomogwai.github.io/asciitable/asciitable/AsciiTable.html][online docs]] for an example.

** TODO
horizontalPadding for cells
** TODOs
*** TODO horizontalPadding for cells
1 change: 0 additions & 1 deletion source/asciitable/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class Cell

string render(ulong row)
{

return colored.leftJustifyFormattedString(row < lines.length ? lines[row] : "", width);
}

Expand Down

0 comments on commit 0b01e07

Please sign in to comment.