summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bittorrent.cabal4
-rw-r--r--src/Data/Torrent.hs2
-rw-r--r--src/Network/BitTorrent/Core.hs2
-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.hs2
-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.hs6
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
94import Data.Torrent.JSON 94import Data.Torrent.JSON
95import Data.Torrent.Layout 95import Data.Torrent.Layout
96import Data.Torrent.Piece 96import Data.Torrent.Piece
97import Network.BitTorrent.Core.Node 97import 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 ((<>))
31import Text.PrettyPrint.Class 31import Text.PrettyPrint.Class
32 32
33import Network.BitTorrent.Core.Fingerprint as Core 33import Network.BitTorrent.Core.Fingerprint as Core
34import Network.BitTorrent.Core.Node as Core 34import Network.BitTorrent.Core.NodeInfo as Core
35import Network.BitTorrent.Core.PeerId as Core 35import Network.BitTorrent.Core.PeerId as Core
36import Network.BitTorrent.Core.PeerAddr as Core 36import 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 #-}
22module Network.BitTorrent.Core.Node 22module 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
17import Data.Torrent.Layout 17import Data.Torrent.Layout
18import Data.Torrent 18import Data.Torrent
19import Data.Torrent.LayoutSpec () 19import Data.Torrent.LayoutSpec ()
20import Network.BitTorrent.Core.NodeSpec () 20import 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 #-}
2module Network.BitTorrent.Core.NodeSpec (spec) where 2module Network.BitTorrent.Core.NodeInfoSpec (spec) where
3import Control.Applicative 3import Control.Applicative
4import Data.Serialize as S 4import Data.Serialize as S
5import Data.String 5import 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.
2module Network.BitTorrent.CoreSpec (spec) where 2module Network.BitTorrent.CoreSpec (spec) where
3import Network.BitTorrent.Core.FingerprintSpec as CoreSpec () 3import Network.BitTorrent.Core.FingerprintSpec as CoreSpec ()
4import Network.BitTorrent.Core.NodeSpec as CoreSpec () 4import Network.BitTorrent.Core.NodeInfoSpec as CoreSpec ()
5import Network.BitTorrent.Core.PeerIdSpec as CoreSpec () 5import Network.BitTorrent.Core.PeerIdSpec as CoreSpec ()
6import Network.BitTorrent.Core.PeerAddrSpec as CoreSpec () 6import Network.BitTorrent.Core.PeerAddrSpec as CoreSpec ()
7 7
8import Test.Hspec (Spec) 8import Test.Hspec (Spec)
9 9