diff options
-rw-r--r-- | bittorrent.cabal | 4 | ||||
-rw-r--r-- | src/Data/Torrent.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Core.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Core/NodeInfo.hs (renamed from src/Network/BitTorrent/Core/Node.hs) | 2 | ||||
-rw-r--r-- | tests/Data/Torrent/MetainfoSpec.hs | 2 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Core/NodeInfoSpec.hs (renamed from tests/Network/BitTorrent/Core/NodeSpec.hs) | 2 | ||||
-rw-r--r-- | tests/Network/BitTorrent/CoreSpec.hs | 6 |
7 files changed, 10 insertions, 10 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal index 9e63c227..912af6a7 100644 --- a/bittorrent.cabal +++ b/bittorrent.cabal | |||
@@ -58,7 +58,7 @@ library | |||
58 | Network.BitTorrent.Client.Swarm | 58 | Network.BitTorrent.Client.Swarm |
59 | Network.BitTorrent.Core | 59 | Network.BitTorrent.Core |
60 | Network.BitTorrent.Core.Fingerprint | 60 | Network.BitTorrent.Core.Fingerprint |
61 | Network.BitTorrent.Core.Node | 61 | Network.BitTorrent.Core.NodeInfo |
62 | Network.BitTorrent.Core.PeerId | 62 | Network.BitTorrent.Core.PeerId |
63 | Network.BitTorrent.Core.PeerAddr | 63 | Network.BitTorrent.Core.PeerAddr |
64 | Network.BitTorrent.DHT | 64 | Network.BitTorrent.DHT |
@@ -181,7 +181,7 @@ test-suite spec | |||
181 | Data.Torrent.ProgressSpec | 181 | Data.Torrent.ProgressSpec |
182 | Network.BitTorrent.CoreSpec | 182 | Network.BitTorrent.CoreSpec |
183 | Network.BitTorrent.Core.FingerprintSpec | 183 | Network.BitTorrent.Core.FingerprintSpec |
184 | Network.BitTorrent.Core.NodeSpec | 184 | Network.BitTorrent.Core.NodeInfoSpec |
185 | Network.BitTorrent.Core.PeerAddrSpec | 185 | Network.BitTorrent.Core.PeerAddrSpec |
186 | Network.BitTorrent.Core.PeerIdSpec | 186 | Network.BitTorrent.Core.PeerIdSpec |
187 | Network.BitTorrent.DHT.MessageSpec | 187 | Network.BitTorrent.DHT.MessageSpec |
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs index 497a96d3..7d3917f2 100644 --- a/src/Data/Torrent.hs +++ b/src/Data/Torrent.hs | |||
@@ -94,7 +94,7 @@ import Data.Torrent.InfoHash as IH | |||
94 | import Data.Torrent.JSON | 94 | import Data.Torrent.JSON |
95 | import Data.Torrent.Layout | 95 | import Data.Torrent.Layout |
96 | import Data.Torrent.Piece | 96 | import Data.Torrent.Piece |
97 | import Network.BitTorrent.Core.Node | 97 | import Network.BitTorrent.Core.NodeInfo |
98 | 98 | ||
99 | {----------------------------------------------------------------------- | 99 | {----------------------------------------------------------------------- |
100 | -- Info dictionary | 100 | -- Info dictionary |
diff --git a/src/Network/BitTorrent/Core.hs b/src/Network/BitTorrent/Core.hs index 5717e4de..b9b3c065 100644 --- a/src/Network/BitTorrent/Core.hs +++ b/src/Network/BitTorrent/Core.hs | |||
@@ -31,7 +31,7 @@ import Text.PrettyPrint as PP hiding ((<>)) | |||
31 | import Text.PrettyPrint.Class | 31 | import Text.PrettyPrint.Class |
32 | 32 | ||
33 | import Network.BitTorrent.Core.Fingerprint as Core | 33 | import Network.BitTorrent.Core.Fingerprint as Core |
34 | import Network.BitTorrent.Core.Node as Core | 34 | import Network.BitTorrent.Core.NodeInfo as Core |
35 | import Network.BitTorrent.Core.PeerId as Core | 35 | import Network.BitTorrent.Core.PeerId as Core |
36 | import Network.BitTorrent.Core.PeerAddr as Core | 36 | import Network.BitTorrent.Core.PeerAddr as Core |
37 | 37 | ||
diff --git a/src/Network/BitTorrent/Core/Node.hs b/src/Network/BitTorrent/Core/NodeInfo.hs index febaacac..fe2357a4 100644 --- a/src/Network/BitTorrent/Core/Node.hs +++ b/src/Network/BitTorrent/Core/NodeInfo.hs | |||
@@ -19,7 +19,7 @@ | |||
19 | {-# LANGUAGE TemplateHaskell #-} | 19 | {-# LANGUAGE TemplateHaskell #-} |
20 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} | 20 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} |
21 | {-# LANGUAGE DeriveDataTypeable #-} | 21 | {-# LANGUAGE DeriveDataTypeable #-} |
22 | module Network.BitTorrent.Core.Node | 22 | module Network.BitTorrent.Core.NodeInfo |
23 | ( -- * Node ID | 23 | ( -- * Node ID |
24 | NodeId | 24 | NodeId |
25 | , testIdBit | 25 | , testIdBit |
diff --git a/tests/Data/Torrent/MetainfoSpec.hs b/tests/Data/Torrent/MetainfoSpec.hs index 3d1a9213..369c5e0f 100644 --- a/tests/Data/Torrent/MetainfoSpec.hs +++ b/tests/Data/Torrent/MetainfoSpec.hs | |||
@@ -17,7 +17,7 @@ import Data.Torrent.Piece | |||
17 | import Data.Torrent.Layout | 17 | import Data.Torrent.Layout |
18 | import Data.Torrent | 18 | import Data.Torrent |
19 | import Data.Torrent.LayoutSpec () | 19 | import Data.Torrent.LayoutSpec () |
20 | import Network.BitTorrent.Core.NodeSpec () | 20 | import Network.BitTorrent.Core.NodeInfoSpec () |
21 | 21 | ||
22 | {----------------------------------------------------------------------- | 22 | {----------------------------------------------------------------------- |
23 | -- Common | 23 | -- Common |
diff --git a/tests/Network/BitTorrent/Core/NodeSpec.hs b/tests/Network/BitTorrent/Core/NodeInfoSpec.hs index 3f27f9eb..fb777440 100644 --- a/tests/Network/BitTorrent/Core/NodeSpec.hs +++ b/tests/Network/BitTorrent/Core/NodeInfoSpec.hs | |||
@@ -1,5 +1,5 @@ | |||
1 | {-# OPTIONS -fno-warn-orphans #-} | 1 | {-# OPTIONS -fno-warn-orphans #-} |
2 | module Network.BitTorrent.Core.NodeSpec (spec) where | 2 | module Network.BitTorrent.Core.NodeInfoSpec (spec) where |
3 | import Control.Applicative | 3 | import Control.Applicative |
4 | import Data.Serialize as S | 4 | import Data.Serialize as S |
5 | import Data.String | 5 | import Data.String |
diff --git a/tests/Network/BitTorrent/CoreSpec.hs b/tests/Network/BitTorrent/CoreSpec.hs index 9f9eb0eb..460c52be 100644 --- a/tests/Network/BitTorrent/CoreSpec.hs +++ b/tests/Network/BitTorrent/CoreSpec.hs | |||
@@ -1,9 +1,9 @@ | |||
1 | -- | Re-export modules. | 1 | -- | Re-export modules. |
2 | module Network.BitTorrent.CoreSpec (spec) where | 2 | module Network.BitTorrent.CoreSpec (spec) where |
3 | import Network.BitTorrent.Core.FingerprintSpec as CoreSpec () | 3 | import Network.BitTorrent.Core.FingerprintSpec as CoreSpec () |
4 | import Network.BitTorrent.Core.NodeSpec as CoreSpec () | 4 | import Network.BitTorrent.Core.NodeInfoSpec as CoreSpec () |
5 | import Network.BitTorrent.Core.PeerIdSpec as CoreSpec () | 5 | import Network.BitTorrent.Core.PeerIdSpec as CoreSpec () |
6 | import Network.BitTorrent.Core.PeerAddrSpec as CoreSpec () | 6 | import Network.BitTorrent.Core.PeerAddrSpec as CoreSpec () |
7 | 7 | ||
8 | import Test.Hspec (Spec) | 8 | import Test.Hspec (Spec) |
9 | 9 | ||