This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.git

commit d2d23392abc89d33a77ca79a27c5f9539f2388bd
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
AuthorDate: Sun Dec 16 02:20:47 2018 +0530

    vendor: update dependencies
    
    Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
---
 go.mod                                             |  6 +-
 go.sum                                             |  6 ++
 vendor/github.com/briandowns/spinner/README.md     | 92 +++++++++++-----------
 vendor/github.com/briandowns/spinner/spinner.go    |  3 +
 vendor/github.com/mattn/go-tty/tty_windows.go      |  7 +-
 vendor/github.com/olekukonko/tablewriter/README.md |  2 +-
 vendor/github.com/olekukonko/tablewriter/table.go  |  4 +-
 vendor/modules.txt                                 |  6 +-
 8 files changed, 68 insertions(+), 58 deletions(-)

diff --git a/go.mod b/go.mod
index 99642a2..40e9fe0 100644
--- a/go.mod
+++ b/go.mod
@@ -18,7 +18,7 @@
 module github.com/apache/cloudstack-cloudmonkey
 
 require (
-       github.com/briandowns/spinner v0.0.0-20181018151057-dd69c579ff20
+       github.com/briandowns/spinner v0.0.0-20181029155426-195c31b675a7
        github.com/c-bata/go-prompt v0.2.3
        github.com/fatih/color v1.7.0 // indirect
        github.com/gofrs/flock v0.7.0
@@ -29,9 +29,9 @@ require (
        github.com/mattn/go-colorable v0.0.9 // indirect
        github.com/mattn/go-isatty v0.0.4 // indirect
        github.com/mattn/go-runewidth v0.0.3 // indirect
-       github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104 // indirect
+       github.com/mattn/go-tty v0.0.0-20181127064339-e4f871175a2f // indirect
        github.com/mitchellh/go-homedir v1.0.0
-       github.com/olekukonko/tablewriter v0.0.0-20180912035003-be2c049b30cc
+       github.com/olekukonko/tablewriter v0.0.1
        github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5 // indirect
        github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d 
// indirect
        github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // 
indirect
diff --git a/go.sum b/go.sum
index e19de37..2a890b1 100644
--- a/go.sum
+++ b/go.sum
@@ -1,5 +1,7 @@
 github.com/briandowns/spinner v0.0.0-20181018151057-dd69c579ff20 
h1:kWWOFAhyzkpi4/+L3++mYiZbuxh1TqYkDMHfFjk6ZfE=
 github.com/briandowns/spinner v0.0.0-20181018151057-dd69c579ff20/go.mod 
h1:hw/JEQBIE+c/BLI4aKM8UU8v+ZqrD3h7HC27kKt8JQU=
+github.com/briandowns/spinner v0.0.0-20181029155426-195c31b675a7 
h1:IvbBe4mOtBLz3X8n95FV5FzQqGWkrkCrfKdQxj7DkUg=
+github.com/briandowns/spinner v0.0.0-20181029155426-195c31b675a7/go.mod 
h1:hw/JEQBIE+c/BLI4aKM8UU8v+ZqrD3h7HC27kKt8JQU=
 github.com/c-bata/go-prompt v0.2.3 
h1:jjCS+QhG/sULBhAaBdjb2PlMRVaKXQgn+4yzaauvs2s=
 github.com/c-bata/go-prompt v0.2.3/go.mod 
h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34=
 github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
@@ -25,10 +27,14 @@ github.com/mattn/go-runewidth v0.0.3 
h1:a+kO+98RDGEfo6asOGMmpodZq4FNtnGP54yps8Bz
 github.com/mattn/go-runewidth v0.0.3/go.mod 
h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
 github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104 
h1:d8RFOZ2IiFtFWBcKEHAFYJcPTf0wY5q0exFNJZVWa1U=
 github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod 
h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE=
+github.com/mattn/go-tty v0.0.0-20181127064339-e4f871175a2f 
h1:4P7Ul+TAnk92vTeVkXs6VLjmf1EhrYtDRa03PCYY6VM=
+github.com/mattn/go-tty v0.0.0-20181127064339-e4f871175a2f/go.mod 
h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE=
 github.com/mitchellh/go-homedir v1.0.0 
h1:vKb8ShqSby24Yrqr/yDYkuFz8d0WUjys40rvnGC8aR0=
 github.com/mitchellh/go-homedir v1.0.0/go.mod 
h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
 github.com/olekukonko/tablewriter v0.0.0-20180912035003-be2c049b30cc 
h1:rQ1O4ZLYR2xXHXgBCCfIIGnuZ0lidMQw2S5n1oOv+Wg=
 github.com/olekukonko/tablewriter v0.0.0-20180912035003-be2c049b30cc/go.mod 
h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
+github.com/olekukonko/tablewriter v0.0.1 
h1:b3iUnf1v+ppJiOfNX4yxxqfWKMQPZR5yoh8urCTFX88=
+github.com/olekukonko/tablewriter v0.0.1/go.mod 
h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
 github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5 
h1:tFwafIEMf0B7NlcxV/zJ6leBIa81D3hgGSgsE5hCkOQ=
 github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod 
h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ=
 github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d 
h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
diff --git a/vendor/github.com/briandowns/spinner/README.md 
b/vendor/github.com/briandowns/spinner/README.md
index 214af8b..d23f4da 100644
--- a/vendor/github.com/briandowns/spinner/README.md
+++ b/vendor/github.com/briandowns/spinner/README.md
@@ -17,52 +17,52 @@ go get github.com/briandowns/spinner
 ## Available Character Sets
 (Numbered by their slice index)
 
-index | character set
-------|---------------
-0  | ```←↖↑↗→↘↓↙```
-1  | ```▁▃▄▅▆▇█▇▆▅▄▃▁```
-2  | ```▖▘▝▗```
-3  | ```┤┘┴└├┌┬┐```
-4  | ```◢◣◤◥```
-5  | ```◰◳◲◱```
-6  | ```◴◷◶◵```
-7  | ```◐◓◑◒```
-8  | ```.oO@*```
-9  | ```|/-\```
-10 | ```◡◡⊙⊙◠◠```
-11 | ```⣾⣽⣻⢿⡿⣟⣯⣷```
-12 | ```>))'> >))'>  >))'>   >))'>    >))'>   <'((<  <'((< <'((<```
-13 | ```⠁⠂⠄⡀⢀⠠⠐⠈```
-14 | ```⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏```
-15 | ```abcdefghijklmnopqrstuvwxyz```
-16 | ```▉▊▋▌▍▎▏▎▍▌▋▊▉```
-17 | ```■□▪▫```
-18 | ```←↑→↓```
-19 | ```╫╪```
-20 | ```⇐⇖⇑⇗⇒⇘⇓⇙```
-21 | ```⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈```
-22 | ```⠈⠉⠋⠓⠒⠐⠐⠒⠖⠦⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈```
-23 | ```⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠴⠲⠒⠂⠂⠒⠚⠙⠉⠁```
-24 | ```⠋⠙⠚⠒⠂⠂⠒⠲⠴⠦⠖⠒⠐⠐⠒⠓⠋```
-25 | ```ヲァィゥェォャュョッアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン```
-26 | ```. .. ...```
-27 | ```▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁```
-28 | ```.oO°Oo.```
-29 | ```+x```
-30 | ```v<^>```
-31 | ```>>---> >>--->  >>--->   >>--->    >>--->    <---<<    <---<<   <---<<  
<---<< <---<<```
-32 | ```| || ||| |||| ||||| |||||| ||||| |||| ||| || |```
-33 | ```[] [=] [==] [===] [====] [=====] [======] [=======] [========] 
[=========] [==========]```
-34 | ```(*---------) (-*--------) (--*-------) (---*------) (----*-----) 
(-----*----) (------*---) (-------*--) (--------*-) (---------*)```
-35 | ```█▒▒▒▒▒▒▒▒▒ ███▒▒▒▒▒▒▒ █████▒▒▒▒▒ ███████▒▒▒ ██████████```
-36 | ```[                    ] [=>                  ] [===>                ] 
[=====>              ] [======>             ] [========>           ] 
[==========>         ] [============>       ] [==============>     ] 
[================>   ] [==================> ] [===================>]```
-37 | ```🕐 🕑 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 🕛```
-38 | ```🕐 🕜 🕑 🕝 🕒 🕞 🕓 🕟 🕔 🕠 🕕 🕡 🕖 🕢 🕗 🕣 🕘 🕤 🕙 🕥 🕚 🕦 🕛 🕧```
-39 | ```🌍 🌎 🌏```
-40 | ```◜ ◝ ◞ ◟```
-41 | ```⬒ ⬔ ⬓ ⬕```
-42 | ```⬖ ⬘ ⬗ ⬙```
-43 | ```[>>>          >] []>>>>        [] []  >>>>      [] []    >>>>    [] [] 
     >>>>  [] []        >>>>[] [>>          >>]```
+index | character set | sample gif
+------|---------------|---------------
+0  | ```←↖↑↗→↘↓↙``` | ![Sample Gif](gifs/0.gif)
+1  | ```▁▃▄▅▆▇█▇▆▅▄▃▁``` | ![Sample Gif](gifs/1.gif)
+2  | ```▖▘▝▗``` | ![Sample Gif](gifs/2.gif)
+3  | ```┤┘┴└├┌┬┐``` | ![Sample Gif](gifs/3.gif)
+4  | ```◢◣◤◥``` | ![Sample Gif](gifs/4.gif)
+5  | ```◰◳◲◱``` | ![Sample Gif](gifs/5.gif)
+6  | ```◴◷◶◵``` | ![Sample Gif](gifs/6.gif)
+7  | ```◐◓◑◒``` | ![Sample Gif](gifs/7.gif)
+8  | ```.oO@*``` | ![Sample Gif](gifs/8.gif)
+9  | ```|/-\``` | ![Sample Gif](gifs/9.gif)
+10 | ```◡◡⊙⊙◠◠``` | ![Sample Gif](gifs/10.gif)
+11 | ```⣾⣽⣻⢿⡿⣟⣯⣷``` | ![Sample Gif](gifs/11.gif)
+12 | ```>))'> >))'>  >))'>   >))'>    >))'>   <'((<  <'((< <'((<``` | ![Sample 
Gif](gifs/12.gif)
+13 | ```⠁⠂⠄⡀⢀⠠⠐⠈``` | ![Sample Gif](gifs/13.gif)
+14 | ```⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏``` | ![Sample Gif](gifs/14.gif)
+15 | ```abcdefghijklmnopqrstuvwxyz``` | ![Sample Gif](gifs/15.gif)
+16 | ```▉▊▋▌▍▎▏▎▍▌▋▊▉``` | ![Sample Gif](gifs/16.gif)
+17 | ```■□▪▫``` | ![Sample Gif](gifs/17.gif)
+18 | ```←↑→↓``` | ![Sample Gif](gifs/18.gif)
+19 | ```╫╪``` | ![Sample Gif](gifs/19.gif)
+20 | ```⇐⇖⇑⇗⇒⇘⇓⇙``` | ![Sample Gif](gifs/20.gif)
+21 | ```⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈``` | ![Sample Gif](gifs/21.gif)
+22 | ```⠈⠉⠋⠓⠒⠐⠐⠒⠖⠦⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈``` | ![Sample Gif](gifs/22.gif)
+23 | ```⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠴⠲⠒⠂⠂⠒⠚⠙⠉⠁``` | ![Sample Gif](gifs/23.gif)
+24 | ```⠋⠙⠚⠒⠂⠂⠒⠲⠴⠦⠖⠒⠐⠐⠒⠓⠋``` | ![Sample Gif](gifs/24.gif)
+25 | ```ヲァィゥェォャュョッアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン``` | ![Sample 
Gif](gifs/25.gif)
+26 | ```. .. ...``` | ![Sample Gif](gifs/26.gif)
+27 | ```▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁``` | ![Sample Gif](gifs/27.gif)
+28 | ```.oO°Oo.``` | ![Sample Gif](gifs/28.gif)
+29 | ```+x``` | ![Sample Gif](gifs/29.gif)
+30 | ```v<^>``` | ![Sample Gif](gifs/30.gif)
+31 | ```>>---> >>--->  >>--->   >>--->    >>--->    <---<<    <---<<   <---<<  
<---<< <---<<``` | ![Sample Gif](gifs/31.gif)
+32 | ```| || ||| |||| ||||| |||||| ||||| |||| ||| || |``` | ![Sample 
Gif](gifs/32.gif)
+33 | ```[] [=] [==] [===] [====] [=====] [======] [=======] [========] 
[=========] [==========]``` | ![Sample Gif](gifs/33.gif)
+34 | ```(*---------) (-*--------) (--*-------) (---*------) (----*-----) 
(-----*----) (------*---) (-------*--) (--------*-) (---------*)``` | ![Sample 
Gif](gifs/34.gif)
+35 | ```█▒▒▒▒▒▒▒▒▒ ███▒▒▒▒▒▒▒ █████▒▒▒▒▒ ███████▒▒▒ ██████████``` | ![Sample 
Gif](gifs/35.gif)
+36 | ```[                    ] [=>                  ] [===>                ] 
[=====>              ] [======>             ] [========>           ] 
[==========>         ] [============>       ] [==============>     ] 
[================>   ] [==================> ] [===================>]``` | 
![Sample Gif](gifs/36.gif)
+37 | ```🕐 🕑 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 🕛``` | ![Sample Gif](gifs/37.gif)
+38 | ```🕐 🕜 🕑 🕝 🕒 🕞 🕓 🕟 🕔 🕠 🕕 🕡 🕖 🕢 🕗 🕣 🕘 🕤 🕙 🕥 🕚 🕦 🕛 🕧``` | ![Sample 
Gif](gifs/38.gif)
+39 | ```🌍 🌎 🌏``` | ![Sample Gif](gifs/39.gif)
+40 | ```◜ ◝ ◞ ◟``` | ![Sample Gif](gifs/40.gif)
+41 | ```⬒ ⬔ ⬓ ⬕``` | ![Sample Gif](gifs/41.gif)
+42 | ```⬖ ⬘ ⬗ ⬙``` | ![Sample Gif](gifs/42.gif)
+43 | ```[>>>          >] []>>>>        [] []  >>>>      [] []    >>>>    [] [] 
     >>>>  [] []        >>>>[] [>>          >>]``` | ![Sample Gif](gifs/43.gif)
 
 ## Features
 
diff --git a/vendor/github.com/briandowns/spinner/spinner.go 
b/vendor/github.com/briandowns/spinner/spinner.go
index 3f1ffdb..d7e315b 100644
--- a/vendor/github.com/briandowns/spinner/spinner.go
+++ b/vendor/github.com/briandowns/spinner/spinner.go
@@ -237,10 +237,13 @@ func (s *Spinner) Active() bool {
 
 // Start will start the indicator
 func (s *Spinner) Start() {
+       s.lock.Lock()
        if s.active {
+               s.lock.Unlock()
                return
        }
        s.active = true
+       s.lock.Unlock()
 
        go func() {
                for {
diff --git a/vendor/github.com/mattn/go-tty/tty_windows.go 
b/vendor/github.com/mattn/go-tty/tty_windows.go
index a7db0e0..db53718 100644
--- a/vendor/github.com/mattn/go-tty/tty_windows.go
+++ b/vendor/github.com/mattn/go-tty/tty_windows.go
@@ -143,11 +143,12 @@ func open() (*TTY, error) {
        if false && isatty.IsTerminal(os.Stdin.Fd()) {
                tty.in = os.Stdin
        } else {
-               conin, err := os.Open("CONIN$")
+               in, err := syscall.Open("CONIN$", syscall.O_RDWR, 0)
                if err != nil {
                        return nil, err
                }
-               tty.in = conin
+
+               tty.in = os.NewFile(uintptr(in), "/dev/tty")
        }
 
        if isatty.IsTerminal(os.Stdout.Fd()) {
@@ -177,7 +178,7 @@ func open() (*TTY, error) {
        st &^= enableWindowInput
        st &^= enableExtendedFlag
        st &^= enableQuickEditMode
-       st |= enableProcessedInput
+       st &^= enableProcessedInput
 
        // ignore error
        procSetConsoleMode.Call(h, uintptr(st))
diff --git a/vendor/github.com/olekukonko/tablewriter/README.md 
b/vendor/github.com/olekukonko/tablewriter/README.md
index d44d31a..9c2b139 100644
--- a/vendor/github.com/olekukonko/tablewriter/README.md
+++ b/vendor/github.com/olekukonko/tablewriter/README.md
@@ -7,7 +7,7 @@ ASCII Table Writer
 
 Generate ASCII table on the fly ...  Installation is simple as
 
-    go get  github.com/olekukonko/tablewriter
+    go get github.com/olekukonko/tablewriter
 
 
 #### Features
diff --git a/vendor/github.com/olekukonko/tablewriter/table.go 
b/vendor/github.com/olekukonko/tablewriter/table.go
index 6bbef96..dec0385 100644
--- a/vendor/github.com/olekukonko/tablewriter/table.go
+++ b/vendor/github.com/olekukonko/tablewriter/table.go
@@ -36,8 +36,8 @@ const (
 )
 
 var (
-       decimal = regexp.MustCompile(`^-*\d*\.?\d*$`)
-       percent = regexp.MustCompile(`^-*\d*\.?\d*$%$`)
+       decimal = regexp.MustCompile(`^-?(?:\d{1,3}(?:,\d{3})*|\d+)(?:\.\d+)?$`)
+       percent = regexp.MustCompile(`^-?\d+\.?\d*$%$`)
 )
 
 type Border struct {
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 97e0038..2495f04 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -1,4 +1,4 @@
-# github.com/briandowns/spinner v0.0.0-20181018151057-dd69c579ff20
+# github.com/briandowns/spinner v0.0.0-20181029155426-195c31b675a7
 github.com/briandowns/spinner
 # github.com/c-bata/go-prompt v0.2.3
 github.com/c-bata/go-prompt
@@ -14,11 +14,11 @@ github.com/mattn/go-colorable
 github.com/mattn/go-isatty
 # github.com/mattn/go-runewidth v0.0.3
 github.com/mattn/go-runewidth
-# github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104
+# github.com/mattn/go-tty v0.0.0-20181127064339-e4f871175a2f
 github.com/mattn/go-tty
 # github.com/mitchellh/go-homedir v1.0.0
 github.com/mitchellh/go-homedir
-# github.com/olekukonko/tablewriter v0.0.0-20180912035003-be2c049b30cc
+# github.com/olekukonko/tablewriter v0.0.1
 github.com/olekukonko/tablewriter
 # github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5
 github.com/pkg/term/termios

Reply via email to