From 13a46da42f89a549b8fa785be21f00deb389992a Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 10 Sep 2016 06:51:14 -0700 Subject: [PATCH] Gx publish 0.1.0 --- .gx/lastpubver | 1 + floodsub.go | 10 +++++----- floodsub_test.go | 4 ++-- notify.go | 4 ++-- package.json | 8 ++++---- 5 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .gx/lastpubver diff --git a/.gx/lastpubver b/.gx/lastpubver new file mode 100644 index 0000000..2f3ec3d --- /dev/null +++ b/.gx/lastpubver @@ -0,0 +1 @@ +0.1.0: QmUvA4goPKAHLrTcePzzCDHqCpqtzdKAVdMPdrdw45Z2FM diff --git a/floodsub.go b/floodsub.go index 0cea178..63efb52 100644 --- a/floodsub.go +++ b/floodsub.go @@ -8,11 +8,11 @@ import ( "sync" "time" - logging "gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log" - peer "gx/ipfs/QmWtbQU15LaB5B1JC2F7TV9P4K88vD3PpA4AJrwfCjhML8/go-libp2p-peer" - host "gx/ipfs/Qmf4ETeAWXuThBfWwonVyFqGFSgTWepUDEr1txcctvpTXS/go-libp2p/p2p/host" - inet "gx/ipfs/Qmf4ETeAWXuThBfWwonVyFqGFSgTWepUDEr1txcctvpTXS/go-libp2p/p2p/net" - protocol "gx/ipfs/Qmf4ETeAWXuThBfWwonVyFqGFSgTWepUDEr1txcctvpTXS/go-libp2p/p2p/protocol" + peer "github.com/ipfs/go-libp2p-peer" + logging "github.com/ipfs/go-log" + host "github.com/libp2p/go-libp2p/p2p/host" + inet "github.com/libp2p/go-libp2p/p2p/net" + protocol "github.com/libp2p/go-libp2p/p2p/protocol" ) const ID = protocol.ID("/floodsub/1.0.0") diff --git a/floodsub_test.go b/floodsub_test.go index e9d9720..4f45aa5 100644 --- a/floodsub_test.go +++ b/floodsub_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - host "gx/ipfs/Qmf4ETeAWXuThBfWwonVyFqGFSgTWepUDEr1txcctvpTXS/go-libp2p/p2p/host" - netutil "gx/ipfs/Qmf4ETeAWXuThBfWwonVyFqGFSgTWepUDEr1txcctvpTXS/go-libp2p/p2p/test/util" + host "github.com/libp2p/go-libp2p/p2p/host" + netutil "github.com/libp2p/go-libp2p/p2p/test/util" ) func getNetHosts(t *testing.T, n int) []host.Host { diff --git a/notify.go b/notify.go index 6bcaab6..60d9b59 100644 --- a/notify.go +++ b/notify.go @@ -3,8 +3,8 @@ package floodsub import ( "context" - ma "gx/ipfs/QmYzDkkgAEmrcNzFCiYo6L1dTX4EAG1gZkbtdbd9trL4vd/go-multiaddr" - inet "gx/ipfs/Qmf4ETeAWXuThBfWwonVyFqGFSgTWepUDEr1txcctvpTXS/go-libp2p/p2p/net" + ma "github.com/jbenet/go-multiaddr" + inet "github.com/libp2p/go-libp2p/p2p/net" ) var _ inet.Notifiee = (*PubSub)(nil) diff --git a/package.json b/package.json index 328c6ff..0a5ae2d 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "author": "whyrusleeping", "bugs": { - "url": "https://github.com/whyrusleeping/dumbsub" + "url": "https://github.com/whyrusleeping/go-floodsub" }, "gx": { - "dvcsimport": "github.com/whyrusleeping/dumbsub" + "dvcsimport": "github.com/whyrusleeping/go-floodsub" }, "gxDependencies": [ { @@ -17,6 +17,6 @@ "gxVersion": "0.9.0", "language": "go", "license": "", - "name": "dumbsub", - "version": "0.0.0" + "name": "floodsub", + "version": "0.1.0" } -- GitLab