From 26f3d70b1e3cde44dfb6b4b985d6ac2ece74064e Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Tue, 29 Jan 2019 14:06:47 -0800 Subject: [PATCH 1/9] Update badges --- templates/main.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/main.md b/templates/main.md index c30531d..0bd3a07 100755 --- a/templates/main.md +++ b/templates/main.md @@ -7,8 +7,12 @@ permalink: / ============ [![Github](https://img.shields.io/badge/src-php--decimal-lightgrey.svg?style=flat-square&branch=master)](https://github.com/{{ site.data.project.github }}){:class="shield github"} -[![Build Status](https://img.shields.io/travis/{{ site.data.project.travis }}.svg?style=flat-square&branch=master)](https://travis-ci.org/{{ site.data.project.travis }}){:class="shield"} -[![PECL](https://img.shields.io/badge/PECL-1.0.1-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} + +[![Build Status](https://travis-ci.org/php-decimal/ext-decimal.svg?branch=master&style=flat-square)](https://travis-ci.org/php-decimal/ext-decimal){:class="shield"} + +[![Build Status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal){:class="shield"} + +[![PECL](https://img.shields.io/badge/PECL-1.1.1-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} {% include introduction.md %} {% include installation.md %} From ea5228a3ca16148cc8ab15ab47fbc504dfa077c0 Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Tue, 29 Jan 2019 14:08:37 -0800 Subject: [PATCH 2/9] Remove linebreaks --- templates/main.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/main.md b/templates/main.md index 0bd3a07..32fb7f5 100755 --- a/templates/main.md +++ b/templates/main.md @@ -7,11 +7,8 @@ permalink: / ============ [![Github](https://img.shields.io/badge/src-php--decimal-lightgrey.svg?style=flat-square&branch=master)](https://github.com/{{ site.data.project.github }}){:class="shield github"} - [![Build Status](https://travis-ci.org/php-decimal/ext-decimal.svg?branch=master&style=flat-square)](https://travis-ci.org/php-decimal/ext-decimal){:class="shield"} - [![Build Status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal){:class="shield"} - [![PECL](https://img.shields.io/badge/PECL-1.1.1-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} {% include introduction.md %} From df5b3df7a5dbc074a00c51422cee6bd9fe10ccdb Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Thu, 7 Feb 2019 11:55:41 -0800 Subject: [PATCH 3/9] Update main.md --- templates/main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.md b/templates/main.md index 32fb7f5..0cdbfd7 100755 --- a/templates/main.md +++ b/templates/main.md @@ -9,7 +9,7 @@ permalink: / [![Github](https://img.shields.io/badge/src-php--decimal-lightgrey.svg?style=flat-square&branch=master)](https://github.com/{{ site.data.project.github }}){:class="shield github"} [![Build Status](https://travis-ci.org/php-decimal/ext-decimal.svg?branch=master&style=flat-square)](https://travis-ci.org/php-decimal/ext-decimal){:class="shield"} [![Build Status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal){:class="shield"} -[![PECL](https://img.shields.io/badge/PECL-1.1.1-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} +[![PECL](https://img.shields.io/badge/PECL-1.1.2-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} {% include introduction.md %} {% include installation.md %} From e780e43cb3f0443e5a9ea6d64a1bd1d87dc4d63d Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Sat, 9 Feb 2019 03:23:52 -0800 Subject: [PATCH 4/9] Update main.md --- templates/main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.md b/templates/main.md index 0cdbfd7..359c88a 100755 --- a/templates/main.md +++ b/templates/main.md @@ -9,7 +9,7 @@ permalink: / [![Github](https://img.shields.io/badge/src-php--decimal-lightgrey.svg?style=flat-square&branch=master)](https://github.com/{{ site.data.project.github }}){:class="shield github"} [![Build Status](https://travis-ci.org/php-decimal/ext-decimal.svg?branch=master&style=flat-square)](https://travis-ci.org/php-decimal/ext-decimal){:class="shield"} [![Build Status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal){:class="shield"} -[![PECL](https://img.shields.io/badge/PECL-1.1.2-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} +[![PECL](https://img.shields.io/badge/PECL-1.2.0-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} {% include introduction.md %} {% include installation.md %} From 01f6f10c23f1e6db04d319c3109b7583a6e8d608 Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Mon, 11 Feb 2019 14:02:39 -0800 Subject: [PATCH 5/9] v1.3.0 badge --- templates/main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.md b/templates/main.md index 359c88a..239b9fa 100755 --- a/templates/main.md +++ b/templates/main.md @@ -9,7 +9,7 @@ permalink: / [![Github](https://img.shields.io/badge/src-php--decimal-lightgrey.svg?style=flat-square&branch=master)](https://github.com/{{ site.data.project.github }}){:class="shield github"} [![Build Status](https://travis-ci.org/php-decimal/ext-decimal.svg?branch=master&style=flat-square)](https://travis-ci.org/php-decimal/ext-decimal){:class="shield"} [![Build Status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal){:class="shield"} -[![PECL](https://img.shields.io/badge/PECL-1.2.0-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} +[![PECL](https://img.shields.io/badge/PECL-1.3.0-blue.svg)](https://pecl.php.net/package/decimal){:class="shield"} {% include introduction.md %} {% include installation.md %} From 5ace06ce2872a1e4dd8fc93ca52df492bd4c5f45 Mon Sep 17 00:00:00 2001 From: Barun Date: Wed, 1 Sep 2021 22:14:38 +0545 Subject: [PATCH 6/9] fix typo --- _includes/rounding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/rounding.md b/_includes/rounding.md index 7817c56..94a77ca 100644 --- a/_includes/rounding.md +++ b/_includes/rounding.md @@ -12,7 +12,7 @@ The reason for this default is **to prevent biasing the average** upwards or dow The default rounding mode can not be changed because it affects how values are reduced to a precision. With a fixed internal rounding mode, an input value will always result in the same decimal value for a given precision, regardless of the environment. However, some methods allow you to provide a rounding mode, which can be any of the following constants: -- `Decimal::ROUND_UP` (away from from) +- `Decimal::ROUND_UP` (away from zero) - `Decimal::ROUND_DOWN` (towards zero) - `Decimal::ROUND_CEILING` (towards positive infinity) - `Decimal::ROUND_FLOOR` (towards negative infinity) From 910463e6e7d6bf07bf0087e137f041437d3e370d Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Sat, 23 Sep 2023 13:05:34 +1200 Subject: [PATCH 7/9] Delete CNAME --- CNAME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index 42109b4..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -php-decimal.io \ No newline at end of file From 62437f69a998debd0bf5e1677dbd12dcadba2604 Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Fri, 10 Jan 2025 13:10:34 -0800 Subject: [PATCH 8/9] Use HTTPS --- scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/app.js b/scripts/app.js index 2b6c9bb..1cc7a40 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -127,7 +127,7 @@ function hideResult() { function evaluate() { clearResult(); - $.post('http://192.241.150.198', {input: sandbox.getValue()}, setResult) + $.post('https://192.241.150.198', {input: sandbox.getValue()}, setResult) .fail(function() { setResult("An error has occurred - most likely out of memory."); }); From f82c83faa92a5ba167e0b559128041f80a57e724 Mon Sep 17 00:00:00 2001 From: Rudi Theunissen Date: Fri, 10 Jan 2025 13:41:08 -0800 Subject: [PATCH 9/9] Update app.js --- scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/app.js b/scripts/app.js index 1cc7a40..59b7bf3 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -127,7 +127,7 @@ function hideResult() { function evaluate() { clearResult(); - $.post('https://192.241.150.198', {input: sandbox.getValue()}, setResult) + $.post('https://php-decimal-sandbox.com', {input: sandbox.getValue()}, setResult) .fail(function() { setResult("An error has occurred - most likely out of memory."); });