Skip to content

Commit 380e62a

Browse files
authored
Merge pull request #8 from cryptosense/prepare-release
Prepare release 1.0.0
2 parents f8d0363 + d058e0f commit 380e62a

File tree

5 files changed

+28
-12
lines changed

5 files changed

+28
-12
lines changed

CHANGES.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
# Change Log
1+
# Changelog
22

3-
## 0.1.1
3+
All notable changes to this project will be documented in this file.
44

5-
* Use Dune instead of jbuilder.
6-
* Upgrade to Opam 2.0.
7-
* Run tests in CI.
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this
6+
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
87

9-
## 0.1.0
8+
## 1.0.0 - 2023-02-24
9+
10+
- Fix dependency on OUnit: `oUnit` -> `ounit2`.
11+
- Require OCaml >= 4.07.
12+
13+
## 0.1.1 - 2020-02-07
14+
15+
- Use Dune instead of jbuilder.
16+
- Upgrade to Opam 2.0.
17+
- Run tests in CI.
18+
19+
## 0.1.0 - 2018-03-16
1020

1121
Initial release.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Mock - configurable functions to test impure code
2-
[![Build Status](https://travis-ci.org/cryptosense/ocaml-mock.svg?branch=master)](https://travis-ci.org/cryptosense/ocaml-mock) [![docs](https://img.shields.io/badge/doc-online-blue.svg)](https://cryptosense.github.io/ocaml-mock/doc/)
2+
3+
[![Build Status][build_status_badge]][build_status_link]
4+
[![Documentation][doc_badge]][doc_link]
35

46
This package provides "mocks", fake functions that can be configured to return
57
values or raise exceptions. It is possible to inspect their arguments after
@@ -10,6 +12,10 @@ it makes it possible to have pleasant output like this in your tests:
1012

1113
> expected f to be called once, but it was called 3 times
1214
13-
A wrapper for `OUnit2` is available as `mock-ounit`.
15+
A wrapper for OUnit is available as `mock-ounit`.
1416

17+
[build_status_badge]: https://github.com/cryptosense/ocaml-mock/actions/workflows/main.yml/badge.svg
18+
[build_status_link]: https://github.com/cryptosense/ocaml-mock/actions/workflows/main.yml
19+
[doc_badge]: https://img.shields.io/badge/doc-online-blue.svg
20+
[doc_link]: https://cryptosense.github.io/ocaml-mock/doc/
1521
[unittest.mock]: https://docs.python.org/3/library/unittest.mock.html

mock-ounit.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ maintainer: ["Cryptosense <opensource@cryptosense.com>"]
33
authors: ["Cryptosense <opensource@cryptosense.com>"]
44
homepage: "https://github.com/cryptosense/ocaml-mock"
55
bug-reports: "https://github.com/cryptosense/ocaml-mock/issues"
6-
license: "BSD-2"
6+
license: "BSD-2-Clause"
77
dev-repo: "git+https://github.com/cryptosense/ocaml-mock.git"
88
doc: "https://cryptosense.github.io/ocaml-mock/doc"
99
build: [
@@ -16,7 +16,7 @@ depends: [
1616
"dune"
1717
"mock"
1818
"ocaml" {>= "4.07.0"}
19-
"ounit"
19+
"ounit2"
2020
"ppx_deriving" {with-test}
2121
]
2222
synopsis: "OUnit wrapper for OCaml mock"

mock.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ maintainer: ["Cryptosense <opensource@cryptosense.com>"]
33
authors: ["Cryptosense <opensource@cryptosense.com>"]
44
homepage: "https://github.com/cryptosense/ocaml-mock"
55
bug-reports: "https://github.com/cryptosense/ocaml-mock/issues"
6-
license: "BSD-2"
6+
license: "BSD-2-Clause"
77
dev-repo: "git+https://github.com/cryptosense/ocaml-mock.git"
88
doc: "https://cryptosense.github.io/ocaml-mock/doc"
99
build: [

tests/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(test
22
(name test_suite)
33
(libraries
4-
oUnit
4+
ounit2
55
mock
66
mock-ounit
77
)

0 commit comments

Comments
 (0)