Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Heromyth committed May 21, 2020
1 parent ad063e5 commit 8dbd19a
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 28 deletions.
53 changes: 39 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,44 @@
# Visual Studio Code
#.vscode/
.suo

# Compiled Object files
*.o
*.obj

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.a
*.lib

# Executables
*.exe

# DUB
.dub
dub.*.json
docs.json
__dummy.html
docs/
hunt-console.so
hunt-console.dylib
hunt-console.dll
hunt-console.a
hunt-console.lib
hunt-console-test-*
hunt-console.exe
console-test
*.exe
*.o
*.obj


# Code coverage
*.lst

# others
*-test-*
.DS_Store
*.zip
*-test-*
mixin_output.d

# meson build directories
build
_build

# idea
.idea
/libhunt-console.a
/dub.selections.json
*.iml
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://www.huntlabs.net",
"license": "Apache-2.0",
"dependencies": {
"hunt": "~>1.4.8"
"hunt-extra": "~>1.0.0"
},
"configurations":[
{
Expand Down
4 changes: 2 additions & 2 deletions source/hunt/console/Console.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import hunt.console.output;
import hunt.console.util.StringUtils;
import hunt.console.util.ThrowableUtils;

import hunt.io.Common;
import hunt.stream.Common;
import hunt.collection.Map;
import hunt.collection.HashMap;
import hunt.collection.List;
Expand All @@ -31,11 +31,11 @@ import hunt.collection.Set;
import hunt.collection.HashSet;
import hunt.Exceptions;
import hunt.logging.ConsoleLogger;
import hunt.text.StringBuilder;
import hunt.Integer;

import core.stdc.stdlib;
import std.string;
import hunt.util.StringBuilder;

class Console
{
Expand Down
2 changes: 1 addition & 1 deletion source/hunt/console/formatter/DefaultOutputFormatter.d
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import hunt.console.formatter.OutputFormatter;
import hunt.console.formatter.OutputFormatterStyle;
import hunt.console.formatter.OutputFormatterStyleStack;
import hunt.console.formatter.DefaultOutputFormatterStyle;
import hunt.text.StringBuilder;
import hunt.text.Common;
import hunt.logging;
import std.regex;
import std.string;
import hunt.util.StringBuilder;

class DefaultOutputFormatter : OutputFormatter
{
Expand Down
5 changes: 2 additions & 3 deletions source/hunt/console/helper/ProgressBar.d
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ import hunt.collection.HashMap;
import hunt.collection.Map;
import hunt.console.helper.PlaceholderFormatter;
import hunt.util.DateTime;
import hunt.text.StringBuilder;
import hunt.collection.StringBuffer;
import hunt.math.Helper;
import hunt.console.helper.AbstractHelper;
import hunt.console.output.Verbosity;

import std.regex;
import std.string;
import std.conv;
import hunt.util.StringBuilder;

class ProgressBar
{
Expand Down Expand Up @@ -307,7 +306,7 @@ class ProgressBar

int startPos = 0;
string text = "";
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
foreach(matcher ; matchers) {
string format = matcher.captures[1];
PlaceholderFormatter formatter = getPlaceholderFormatter(format);
Expand Down
4 changes: 2 additions & 2 deletions source/hunt/console/helper/QuestionHelper.d
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import hunt.console.question.Question;
import hunt.console.helper.AbstractHelper;

import hunt.Exceptions;
import hunt.io.Common;
import hunt.io.FileInputStream;
import hunt.stream.Common;
import hunt.stream.FileInputStream;

import std.stdio;

Expand Down
2 changes: 1 addition & 1 deletion source/hunt/console/input/InputDefinition.d
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import hunt.console.input.InputOption;
import hunt.collection.Collection;
import hunt.collection.List;
import hunt.collection.ArrayList;
import hunt.text.StringBuilder;
import hunt.util.StringBuilder;
import hunt.Integer;
import std.string;

Expand Down
4 changes: 2 additions & 2 deletions source/hunt/console/output/StreamOutput.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module hunt.console.output.StreamOutput;

import hunt.console.formatter.OutputFormatter;

import hunt.io.Common;
import hunt.io.FileOutputStream;
import hunt.stream.Common;
import hunt.stream.FileOutputStream;
// import hunt.io.PrintWriter;
import hunt.console.output.AbstractOutput;
import hunt.console.output.Verbosity;
Expand Down
2 changes: 1 addition & 1 deletion source/hunt/console/output/SystemOutput.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module hunt.console.output.SystemOutput;

import hunt.console.formatter.OutputFormatter;
import std.stdio;
import hunt.io.FileOutputStream;
import hunt.stream.FileOutputStream;
import hunt.console.output.StreamOutput;
import hunt.console.output.Verbosity;
import hunt.console.output.Output;
Expand Down
2 changes: 1 addition & 1 deletion source/hunt/console/util/StringUtils.d
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

module hunt.console.util.StringUtils;

import hunt.text.StringBuilder;
import std.string;
import std.conv;
import hunt.text.Common;
import hunt.util.StringBuilder;

alias Character = char;
class StringUtils
Expand Down

0 comments on commit 8dbd19a

Please sign in to comment.