Skip to content

Commit 3cc2172

Browse files
committed
release: backport cohttp version constraint to 0.2
1 parent 33588f9 commit 3cc2172

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-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.2.3
3+
Version: 0.2.4
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.9.11), 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: a652133402f3f318036084d951ab2ec4)
3-
version = "0.2.3"
2+
# DO NOT EDIT (digest: 686d643fdb988a86db9c74c9b068823a)
3+
version = "0.2.4"
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.2.3"
3+
version: "0.2.4"
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.9.11"}
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: 8 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: 8a4fcb8a9eaa94e536a95f1747abc886) *)
4+
(* DO NOT EDIT (digest: 90cccd41659a2705ad10cf9ccf1e8e66) *)
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.2.3";
6894+
version = "0.2.4";
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.9.11"));
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"));
@@ -7246,14 +7249,14 @@ let setup_t =
72467249
oasis_fn = Some "_oasis";
72477250
oasis_version = "0.4.5";
72487251
oasis_digest =
7249-
Some "\227\159\164U\167\005\251\188\152\197\226Z\018\207\014\172";
7252+
Some "\169\180\146W\027\174\014\127\174\185\201C\149IS\217";
72507253
oasis_exec = None;
72517254
oasis_setup_args = [];
72527255
setup_update = false
72537256
};;
72547257

72557258
let setup () = BaseSetup.setup setup_t;;
72567259

7257-
# 7258 "setup.ml"
7260+
# 7261 "setup.ml"
72587261
(* OASIS_STOP *)
72597262
let () = setup ();;

0 commit comments

Comments
 (0)