Skip to content

Commit 4c32305

Browse files
committed
release: backport cohttp version constraint to 0.3
1 parent 56a6fef commit 4c32305

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

_oasis

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OASISFormat: 0.4
22
Name: webmachine
3-
Version: 0.3.1
3+
Version: 0.3.2
44
Synopsis: A REST toolkit for OCaml
55
Description: OCaml webmachine is a layer on top of cohttp that implements a
66
state-machine-based HTTP request processor. It's particularly well-suited for
@@ -23,7 +23,7 @@ Library webmachine
2323
Path: lib
2424
InternalModules: Wm_util
2525
Modules: Webmachine
26-
BuildDepends: cohttp (>= 0.12.0), dispatch (>= 0.3.0), re (>= 1.3.0), re.str
26+
BuildDepends: cohttp (>= 0.12.0 && < 0.21.0), dispatch (>= 0.3.0), re (>= 1.3.0), re.str
2727

2828
Document webmachine
2929
Title: webmachine docs

lib/META

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OASIS_START
2-
# DO NOT EDIT (digest: f84d298794c839217704aa7fae6c5950)
3-
version = "0.3.1"
2+
# DO NOT EDIT (digest: c4e0a609f3439c4859658a2d9b47d954)
3+
version = "0.3.2"
44
description = "A REST toolkit for OCaml"
55
requires = "cohttp dispatch re re.str"
66
archive(byte) = "webmachine.cma"

opam/opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "1.2"
22
name: "webmachine"
3-
version: "0.3.1"
3+
version: "0.3.2"
44
maintainer: "Spiros Eliopoulos <[email protected]>"
55
authors: [ "Spiros Eliopoulos <[email protected]>" ]
66
license: "BSD-3-clause"
@@ -22,7 +22,7 @@ build-test: [
2222
]
2323
build-doc: [ "ocaml" "setup.ml" "-doc" ]
2424
depends: [
25-
"cohttp" {>= "0.12.0"}
25+
"cohttp" {>= "0.12.0" & < "0.21.0"}
2626
"dispatch" {>= "0.3.0"}
2727
"ocamlfind" {build}
2828
"ounit" {test & >= "1.0.2"}

setup.ml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* setup.ml generated for the first time by OASIS v0.4.5 *)
22

33
(* OASIS_START *)
4-
(* DO NOT EDIT (digest: 9df34bc7cffb681af6f107a41edb845f) *)
4+
(* DO NOT EDIT (digest: ea1890c43fabbffc3b9a9a89907f17c5) *)
55
(*
66
Regenerated by OASIS v0.4.5
77
Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6891,7 +6891,7 @@ let setup_t =
68916891
alpha_features = [];
68926892
beta_features = [];
68936893
name = "webmachine";
6894-
version = "0.3.1";
6894+
version = "0.3.2";
68956895
license =
68966896
OASISLicense.DEP5License
68976897
(OASISLicense.DEP5Unit
@@ -6974,7 +6974,10 @@ let setup_t =
69746974
[
69756975
FindlibPackage
69766976
("cohttp",
6977-
Some (OASISVersion.VGreaterEqual "0.12.0"));
6977+
Some
6978+
(OASISVersion.VAnd
6979+
(OASISVersion.VGreaterEqual "0.12.0",
6980+
OASISVersion.VLesser "0.21.0")));
69786981
FindlibPackage
69796982
("dispatch",
69806983
Some (OASISVersion.VGreaterEqual "0.3.0"));
@@ -7278,14 +7281,15 @@ let setup_t =
72787281
};
72797282
oasis_fn = Some "_oasis";
72807283
oasis_version = "0.4.5";
7281-
oasis_digest = Some "\011I\224 \2359|x[M\211a\207\022e\002";
7284+
oasis_digest =
7285+
Some "\251\188\133\133\002T\019\253\b\241\204\n\225P\255\023";
72827286
oasis_exec = None;
72837287
oasis_setup_args = [];
72847288
setup_update = false
72857289
};;
72867290

72877291
let setup () = BaseSetup.setup setup_t;;
72887292

7289-
# 7290 "setup.ml"
7293+
# 7294 "setup.ml"
72907294
(* OASIS_STOP *)
72917295
let () = setup ();;

0 commit comments

Comments
 (0)