on master help sign in
Deprecate wai-test and wai-eventsource
commitf88069c608be7b410b02d0b0a152099f3f19173c authorMichael Snoyman <michael@snoyman.com> dateThu 22 May 2014, 10:12 (12 years ago) parent81b45e4
11 files changed+19−54
wai-eventsource/wai-eventsource.cabal+3−20 wai-eventsource/src/Network/Wai/EventSource.hs → wai-extra/Network/Wai/EventSource.hs wai-eventsource/src/Network/Wai/EventSource/EventStream.hs → wai-extra/Network/Wai/EventSource/EventStream.hs wai-test/Network/Wai/Test.hs → wai-extra/Network/Wai/Test.hs wai-eventsource/src/Main.hs → wai-extra/app/Main.hs wai-eventsource/static/index.html → wai-extra/app/index.html wai-test/test/Network/Wai/TestSpec.hs → wai-extra/test/Network/Wai/TestSpec.hs wai-test/test/Spec.hs → wai-extra/test/Spec.hs wai-extra/wai-extra.cabal+13 wai-test/README wai-test/wai-test.cabal+3−34
wai-eventsource/wai-eventsource.cabal+3−20
@@ -1,7 +1,7 @@
11Name: wai-eventsource
22Version: 3.0.0
3−Synopsis: WAI support for server-sent events
4−Description: WAI support for server-sent events
3+Synopsis: WAI support for server-sent events (deprecated)
4+Description: Since WAI 3.0, this code has been merged into wai-extra.
55License: MIT
66Author: Chris Smith, Mathias Biilmann Christensen
77Maintainer: greg@gregweber.info
@@ -13,21 +13,4 @@ homepage: http://www.yesodweb.com/book/web-application-interface
1313license-file: LICENSE
1414
1515Library
16− Build-depends:
17− base >= 4.3 && < 5
18− , bytestring >= 0.9.1.4
19− , blaze-builder >= 0.3 && < 0.4
20− , conduit >= 0.5 && < 1.2
21− , http-types >= 0.7
22− , wai >= 3.0 && < 3.1
23− , transformers
24−
25− ghc-options: -Wall
26− hs-source-dirs: src
27− exposed-modules:
28− Network.Wai.EventSource
29− Network.Wai.EventSource.EventStream
30−
31−source-repository head
32− type: git
33− location: git://github.com/yesodweb/wai.git
16+ build-depends: wai >= 3.0
wai-eventsource/src/Network/Wai/EventSource.hs → wai-extra/Network/Wai/EventSource.hsrenamed

The content is the same.

wai-eventsource/src/Network/Wai/EventSource/EventStream.hs → wai-extra/Network/Wai/EventSource/EventStream.hsrenamed

The content is the same.

wai-test/Network/Wai/Test.hs → wai-extra/Network/Wai/Test.hsrenamed

The content is the same.

wai-eventsource/src/Main.hs → wai-extra/app/Main.hsrenamed

The content is the same.

wai-eventsource/static/index.html → wai-extra/app/index.htmlrenamed

The content is the same.

wai-test/test/Network/Wai/TestSpec.hs → wai-extra/test/Network/Wai/TestSpec.hsrenamed

The content is the same.

wai-test/test/Spec.hs → wai-extra/test/Spec.hsrenamed

The content is the same.

wai-extra/wai-extra.cabal+13
@@ -47,6 +47,7 @@ Library
4747 , base64-bytestring
4848 , word8
4949 , lifted-base >= 0.1.2
50+ , deepseq
5051
5152 if os(windows)
5253 cpp-options: -DWINDOWS
@@ -68,6 +69,7 @@ Library
6869 Network.Wai.Middleware.HttpAuth
6970 Network.Wai.Parse
7071 Network.Wai.UrlMap
72+ Network.Wai.Test
7173 other-modules: Network.Wai.Middleware.RequestLogger.Internal
7274 ghc-options: -Wall
7375
@@ -99,6 +101,17 @@ test-suite tests
99101 , conduit-extra
100102 ghc-options: -Wall
101103
104+test-suite spec
105+ type: exitcode-stdio-1.0
106+ hs-source-dirs: test
107+ main-is: Spec.hs
108+ other-modules: Network.Wai.TestSpec
109+ build-depends: base >= 4 && < 5
110+ , wai-test
111+ , wai
112+ , hspec >= 1.3
113+ ghc-options: -Wall -Werror
114+
102115source-repository head
103116 type: git
104117 location: git://github.com/yesodweb/wai.git
wai-test/READMEdeleted

No changes to the content.

wai-test/wai-test.cabal+3−34
@@ -4,44 +4,13 @@ license: MIT
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
66maintainer: Michael Snoyman <michael@snoyman.com>
7−synopsis: Unit test framework (built on HUnit) for WAI applications.
7+synopsis: Unit test framework (built on HUnit) for WAI applications. (deprecated)
8+description: Since WAI 3.0, this code has been merged into wai-extra.
89category: Testing, Web, Yesod
910stability: Stable
1011cabal-version: >= 1.8
1112build-type: Simple
1213homepage: http://www.yesodweb.com/book/web-application-interface
13−description: Unit test framework (built on HUnit) for WAI applications.
1414
1515library
16− build-depends: base >= 4 && < 5
17− , wai >= 3.0 && < 3.1
18− , bytestring >= 0.9.1.4
19− , text >= 0.7
20− , blaze-builder >= 0.2.1.4 && < 0.4
21− , transformers >= 0.2.2 && < 0.4
22− , containers >= 0.2
23− , conduit >= 0.5 && < 1.2
24− , conduit-extra
25− , blaze-builder-conduit >= 0.5 && < 1.2
26− , cookie >= 0.2 && < 0.5
27− , http-types >= 0.7
28− , case-insensitive >= 0.2
29− , network
30− , deepseq
31− exposed-modules: Network.Wai.Test
32− ghc-options: -Wall
33−
34−test-suite spec
35− type: exitcode-stdio-1.0
36− hs-source-dirs: test
37− main-is: Spec.hs
38− other-modules: Network.Wai.TestSpec
39− build-depends: base >= 4 && < 5
40− , wai-test
41− , wai
42− , hspec >= 1.3
43− ghc-options: -Wall -Werror
44−
45−source-repository head
46− type: git
47− location: git://github.com/yesodweb/wai.git
16+ build-depends: wai >= 3.0