From ef27a7fcd13438c821570e1e5faffffd9beff4e2 Mon Sep 17 00:00:00 2001 From: Mario Mainz Date: Thu, 24 Aug 2023 10:19:59 +0200 Subject: [PATCH] Add coverage badge to README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5289cda..7b952ae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/mmainz/valued.svg?branch=master)](https://travis-ci.org/mmainz/valued) +[![Coverage Status](https://coveralls.io/repos/github/mmainz/valued/badge.svg?branch=master)](https://coveralls.io/github/mmainz/valued?branch=master) # Valued @@ -82,7 +82,8 @@ p quantity => # ``` -You can create a duplicate of your object with updated attributes by using `update`. +You can create a duplicate of your object with updated attributes by using +`update`. ```ruby quantity = Quantity.new(unit: 'm', amount: 2) @@ -93,7 +94,8 @@ p updated_quantity => # ``` -If you really need a mutable object, just use `Valued::Mutable` instead of `Valued`. +If you really need a mutable object, just use `Valued::Mutable` instead of +`Valued`. ```ruby require 'valued'