summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2019-02-16 04:12:52 -0800
committerCaleb Bassi <calebjbassi@gmail.com>2019-02-22 11:52:07 -0800
commit27a9ea080b7b9169c86f8839a536c98cc1f85b52 (patch)
tree64df36fc80dbddc5e58dca796a5ca323aaf4873b
parent334f08bc5ae225c3f3b9ec01c143d135b83f3a5b (diff)
Switch back to using distatus/battery upstream repo
Got PR merged upstream https://github.com/distatus/battery/pull/10
-rw-r--r--go.mod2
-rw-r--r--go.sum4
-rw-r--r--src/widgets/battery.go2
-rw-r--r--vendor/github.com/distatus/battery/.gitignore (renamed from vendor/github.com/cjbassi/battery/.gitignore)0
-rw-r--r--vendor/github.com/distatus/battery/.travis.yml (renamed from vendor/github.com/cjbassi/battery/.travis.yml)0
-rw-r--r--vendor/github.com/distatus/battery/LICENSE.md (renamed from vendor/github.com/cjbassi/battery/LICENSE.md)0
-rw-r--r--vendor/github.com/distatus/battery/README.md (renamed from vendor/github.com/cjbassi/battery/README.md)0
-rw-r--r--vendor/github.com/distatus/battery/battery.go (renamed from vendor/github.com/cjbassi/battery/battery.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_darwin.go (renamed from vendor/github.com/cjbassi/battery/battery_darwin.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_freebsd_dragonfly_.go (renamed from vendor/github.com/cjbassi/battery/battery_freebsd_dragonfly_.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_linux.go (renamed from vendor/github.com/cjbassi/battery/battery_linux.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_netbsd.go (renamed from vendor/github.com/cjbassi/battery/battery_netbsd.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_openbsd.go (renamed from vendor/github.com/cjbassi/battery/battery_openbsd.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_solaris.go (renamed from vendor/github.com/cjbassi/battery/battery_solaris.go)0
-rw-r--r--vendor/github.com/distatus/battery/battery_windows.go (renamed from vendor/github.com/cjbassi/battery/battery_windows.go)0
-rw-r--r--vendor/github.com/distatus/battery/errors.go (renamed from vendor/github.com/cjbassi/battery/errors.go)0
-rw-r--r--vendor/github.com/distatus/battery/ioctl.go (renamed from vendor/github.com/cjbassi/battery/ioctl.go)0
-rw-r--r--vendor/modules.txt4
18 files changed, 6 insertions, 6 deletions
diff --git a/go.mod b/go.mod
index 74c00c2..fa05462 100644
--- a/go.mod
+++ b/go.mod
@@ -2,8 +2,8 @@ module github.com/cjbassi/gotop
require (
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
- github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f
github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/distatus/battery v0.9.0
github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815
github.com/gizak/termui v0.0.0-20190124041613-958a28575d74
github.com/go-ole/go-ole v1.2.1 // indirect
diff --git a/go.sum b/go.sum
index bf091ea..cca1ebd 100644
--- a/go.sum
+++ b/go.sum
@@ -1,9 +1,9 @@
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
-github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f h1:XtDkrKpWZomFY5YY7vjj/n024Ei/cpLrnrKvXrHI+2s=
-github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f/go.mod h1:2n8ndIjf01nC3TA2E53AuA1fERGEwTEp/g354pR1T/I=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/distatus/battery v0.9.0 h1:8NS5o00/j3Oh2xgocA6pQROTp5guoR+s8CZlWzHC4QM=
+github.com/distatus/battery v0.9.0/go.mod h1:gGO7GxHTi1zlRT+cAj8uGG0/8HFiqAeH0TJvoipnuPs=
github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815 h1:HMAfwOa33y82IaQEKQDfUCiwNlxtM1iw7HLM9ru0RNc=
github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:l7JNRynTRuqe45tpIyItHNqZWTxywYjp87MWTOnU5cg=
github.com/gizak/termui v0.0.0-20190124041613-958a28575d74 h1:gQbT+IgWIflxp7EQaxWGgGoHAxEFzvP36DyxiBGEV9g=
diff --git a/src/widgets/battery.go b/src/widgets/battery.go
index fb88b1d..2d59849 100644
--- a/src/widgets/battery.go
+++ b/src/widgets/battery.go
@@ -8,7 +8,7 @@ import (
"sync"
"time"
- "github.com/cjbassi/battery"
+ "github.com/distatus/battery"
ui "github.com/cjbassi/gotop/src/termui"
)
diff --git a/vendor/github.com/cjbassi/battery/.gitignore b/vendor/github.com/distatus/battery/.gitignore
index e00af61..e00af61 100644
--- a/vendor/github.com/cjbassi/battery/.gitignore
+++ b/vendor/github.com/distatus/battery/.gitignore
diff --git a/vendor/github.com/cjbassi/battery/.travis.yml b/vendor/github.com/distatus/battery/.travis.yml
index 0ff5803..0ff5803 100644
--- a/vendor/github.com/cjbassi/battery/.travis.yml
+++ b/vendor/github.com/distatus/battery/.travis.yml
diff --git a/vendor/github.com/cjbassi/battery/LICENSE.md b/vendor/github.com/distatus/battery/LICENSE.md
index fb07713..fb07713 100644
--- a/vendor/github.com/cjbassi/battery/LICENSE.md
+++ b/vendor/github.com/distatus/battery/LICENSE.md
diff --git a/vendor/github.com/cjbassi/battery/README.md b/vendor/github.com/distatus/battery/README.md
index 0ba46fa..0ba46fa 100644
--- a/vendor/github.com/cjbassi/battery/README.md
+++ b/vendor/github.com/distatus/battery/README.md
diff --git a/vendor/github.com/cjbassi/battery/battery.go b/vendor/github.com/distatus/battery/battery.go
index 54fc59b..54fc59b 100644
--- a/vendor/github.com/cjbassi/battery/battery.go
+++ b/vendor/github.com/distatus/battery/battery.go
diff --git a/vendor/github.com/cjbassi/battery/battery_darwin.go b/vendor/github.com/distatus/battery/battery_darwin.go
index e6e24b0..e6e24b0 100644
--- a/vendor/github.com/cjbassi/battery/battery_darwin.go
+++ b/vendor/github.com/distatus/battery/battery_darwin.go
diff --git a/vendor/github.com/cjbassi/battery/battery_freebsd_dragonfly_.go b/vendor/github.com/distatus/battery/battery_freebsd_dragonfly_.go
index a89b986..a89b986 100644
--- a/vendor/github.com/cjbassi/battery/battery_freebsd_dragonfly_.go
+++ b/vendor/github.com/distatus/battery/battery_freebsd_dragonfly_.go
diff --git a/vendor/github.com/cjbassi/battery/battery_linux.go b/vendor/github.com/distatus/battery/battery_linux.go
index 25d58ee..25d58ee 100644
--- a/vendor/github.com/cjbassi/battery/battery_linux.go
+++ b/vendor/github.com/distatus/battery/battery_linux.go
diff --git a/vendor/github.com/cjbassi/battery/battery_netbsd.go b/vendor/github.com/distatus/battery/battery_netbsd.go
index 91c7fea..91c7fea 100644
--- a/vendor/github.com/cjbassi/battery/battery_netbsd.go
+++ b/vendor/github.com/distatus/battery/battery_netbsd.go
diff --git a/vendor/github.com/cjbassi/battery/battery_openbsd.go b/vendor/github.com/distatus/battery/battery_openbsd.go
index 13f70d7..13f70d7 100644
--- a/vendor/github.com/cjbassi/battery/battery_openbsd.go
+++ b/vendor/github.com/distatus/battery/battery_openbsd.go
diff --git a/vendor/github.com/cjbassi/battery/battery_solaris.go b/vendor/github.com/distatus/battery/battery_solaris.go
index f508b07..f508b07 100644
--- a/vendor/github.com/cjbassi/battery/battery_solaris.go
+++ b/vendor/github.com/distatus/battery/battery_solaris.go
diff --git a/vendor/github.com/cjbassi/battery/battery_windows.go b/vendor/github.com/distatus/battery/battery_windows.go
index ead2f5d..ead2f5d 100644
--- a/vendor/github.com/cjbassi/battery/battery_windows.go
+++ b/vendor/github.com/distatus/battery/battery_windows.go
diff --git a/vendor/github.com/cjbassi/battery/errors.go b/vendor/github.com/distatus/battery/errors.go
index 6c76562..6c76562 100644
--- a/vendor/github.com/cjbassi/battery/errors.go
+++ b/vendor/github.com/distatus/battery/errors.go
diff --git a/vendor/github.com/cjbassi/battery/ioctl.go b/vendor/github.com/distatus/battery/ioctl.go
index aa6793c..aa6793c 100644
--- a/vendor/github.com/cjbassi/battery/ioctl.go
+++ b/vendor/github.com/distatus/battery/ioctl.go
diff --git a/vendor/modules.txt b/vendor/modules.txt
index b848bcd..2cffedd 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -1,7 +1,7 @@
# github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6
github.com/StackExchange/wmi
-# github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f
-github.com/cjbassi/battery
+# github.com/distatus/battery v0.9.0
+github.com/distatus/battery
# github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815
github.com/docopt/docopt.go
# github.com/gizak/termui v0.0.0-20190124041613-958a28575d74