Skip to content

Commit

Permalink
Prepare v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasmalacofilho committed Jan 9, 2018
1 parent 48a9ae9 commit bcb0ea6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Patch release: v1.1.1

To be released. Expected January 9th, 2018.
January 9th, 2018.

Fix UF handling throughout the request form.

- Trim off extra UF details returned by Correios (see #13)
- Sort UFs alphabetically, not by population (see #14)
Expand Down
2 changes: 1 addition & 1 deletion src/Server.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Server {
public static var requestId(default,null):String;
public static var shortId(default,null):String;
public static var codeVersion(default,null):Float;
public static var serverVersion(default,null) = "1.1.0";
public static var serverVersion(default,null) = "1.1.1";
public static var schemaVersion(default,null) = 2;
#if dev
public static var userAgent = 'LBELCard-dev (localhost) Neko Haxe'; // TODO add neko and haxe versions [automatically]
Expand Down
2 changes: 1 addition & 1 deletion src/tools/Unserialize.hx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Unserialize {
var doc = haxe.rtti.Rtti.getRtti(Unserialize).doc;
assert(doc != null);

var args = org.docopt.Docopt.parse(doc, Sys.args(), "L'BEL Card Unserialize v1.1.0"); // FIXME get serverVersion automatically
var args = org.docopt.Docopt.parse(doc, Sys.args(), "L'BEL Card Unserialize v1.1.0 (Server v1.1.x compatible)");
var unserialize:Array<Int> = args["--fields"] != "all" ? args["--fields"].split(",").map(Std.parseInt) : null;
var timestring:Array<Int> = args["--timestamps"] != "none" ? args["--timestamps"].split(",").map(Std.parseInt) : null;
var separator:String = args["--separator"];
Expand Down

0 comments on commit bcb0ea6

Please sign in to comment.