keera-hails-reactive-network 0.1 → 0.5.0
raw patch · 5 files changed
+72/−94 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- LICENSE +5/−4
- keera-hails-reactive-network.cabal +39/−67
- src/Hails/Network.hs +5/−0
- tests/HLintMain.hs +23/−0
- tests/hlint.hs +0/−23
LICENSE view
@@ -1,4 +1,5 @@-Copyright (c) 2015, Ivan Perez+Copyright (c) 2013-2020, Keera Studios Ltd+Copyright (c) 2010-2012, Ivan Perez All rights reserved. @@ -13,9 +14,9 @@ disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Ivan Perez nor the names of other- contributors may be used to endorse or promote products derived- from this software without specific prior written permission.+ * Neither the name of Ivan Perez, nor the name of Keera Studios, nor the+ names of other contributors may be used to endorse or promote products+ derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
keera-hails-reactive-network.cabal view
@@ -1,85 +1,58 @@--- hails.cabal auto-generated by cabal init. For additional options,--- see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.--- The name of the package.-Name: keera-hails-reactive-network---- The package version. See the Haskell package versioning policy--- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for--- standards guiding when and how versions should be incremented.-Version: 0.1---- A short (one-line) description of the package.-Synopsis: Haskell on Rails - Sockets as Reactive Values---- A longer description of the package.-Description: A layer to create RVs that connect to network sockets.---- URL for the project homepage or repository.-Homepage: http://www.keera.co.uk/blog/community/---- The license under which the package is released.-License: BSD3---- The file containing the license text.-License-file: LICENSE+-- Copyright : (C) Keera Studios Ltd, 2013+-- License : All Rights Reserved+-- Maintainer : support@keera.co.uk+--+cabal-version: >= 1.10+build-type: Simple --- The package author(s).-Author: Ivan Perez+name: keera-hails-reactive-network+version: 0.5.0+author: Ivan Perez+maintainer: support@keera.co.uk+homepage: http://www.keera.co.uk/blog/community/+license: BSD3+license-file: LICENSE+category: Development+synopsis: Haskell on Rails - Sockets as Reactive Values+description:+ A layer to create RVs that connect to network sockets. --- An email address to which users can send suggestions, bug reports,--- and patches.-Maintainer: ivan.perez@keera.co.uk+source-repository head+ type: git+ location: git://github.com/keera-studios/keera-hails+ subdir: keera-hails-reactive-network --- A copyright notice.--- Copyright:+-- You can disable the hlint test suite with -f-test-hlint+flag test-hlint+ default: False+ manual: True -Category: Development+-- You can disable the haddock coverage test suite with -f-test-doc-coverage+flag test-doc-coverage+ default: False+ manual: True -Build-type: Simple+library --- Extra files to be distributed with the package, such as examples or--- a README.--- Extra-source-files:+ exposed-modules:+ Hails.Network --- Constraint on the version of Cabal needed to build this package.-cabal-version: >= 1.10+ build-depends:+ base >= 4 && < 5+ , bytestring+ , keera-hails-reactivevalues+ , network+ , network-bsd -Library default-language: Haskell2010 hs-source-dirs: src/ ghc-options: -Wall -fno-warn-unused-do-bind -O2 - -- Modules exported by the library.- Exposed-modules: Hails.Network-- -- Packages needed in order to build this package.- Build-depends: base >= 4 && < 5- , bytestring- , keera-hails-reactivevalues- , network- , network-bsd--source-repository head- type: git- location: git://github.com/keera-studios/keera-hails- subdir: keera-hails-reactive-network---- You can disable the hlint test suite with -f-test-hlint-flag test-hlint- default: False- manual: True---- You can disable the haddock coverage test suite with -f-test-doc-coverage-flag test-doc-coverage- default: False- manual: True- test-suite hlint type: exitcode-stdio-1.0- main-is: hlint.hs+ main-is: HLintMain.hs hs-source-dirs: tests if !flag(test-hlint) buildable: False@@ -89,7 +62,6 @@ hlint >= 1.7 default-language: Haskell2010- -- Verify that the code is thoroughly documented test-suite haddock-coverage
src/Hails/Network.hs view
@@ -1,3 +1,8 @@+-- |+--+-- Copyright : (C) Keera Studios Ltd, 2013+-- License : BSD3+-- Maintainer : support@keera.co.uk module Hails.Network where import Data.String (fromString)
+ tests/HLintMain.hs view
@@ -0,0 +1,23 @@+-----------------------------------------------------------------------------+-- |+-- Module : Main (hlint)+-- Copyright : (C) 2013 Edward Kmett+-- License : BSD-style (see the file LICENSE)+-- Maintainer : Edward Kmett <ekmett@gmail.com>+-- Stability : provisional+-- Portability : portable+--+-- This module runs HLint on the lens source tree.+-----------------------------------------------------------------------------+module Main where++import Control.Monad+import Language.Haskell.HLint+import System.Environment+import System.Exit++main :: IO ()+main = do+ args <- getArgs+ hints <- hlint $ ["src", "--cross", "--hint=tests/HLint.hs" ] ++ args+ unless (null hints) exitFailure
− tests/hlint.hs
@@ -1,23 +0,0 @@--------------------------------------------------------------------------------- |--- Module : Main (hlint)--- Copyright : (C) 2013 Edward Kmett--- License : BSD-style (see the file LICENSE)--- Maintainer : Edward Kmett <ekmett@gmail.com>--- Stability : provisional--- Portability : portable------ This module runs HLint on the lens source tree.-------------------------------------------------------------------------------module Main where--import Control.Monad-import Language.Haskell.HLint-import System.Environment-import System.Exit--main :: IO ()-main = do- args <- getArgs- hints <- hlint $ ["src", "--cross", "--hint=tests/HLint.hs" ] ++ args- unless (null hints) exitFailure