Skip to content

Commit

Permalink
Merge branch 'release/4.1.25'
Browse files Browse the repository at this point in the history
* release/4.1.25:
  updated the changelog
  work
  matrix build
  added a precision formatting test
  updated slack notifications
  updated slack notifications
  updated slack notifications
  work
  updated the notifications
  work
  testing notifications
  • Loading branch information
austintoddj committed Apr 9, 2019
2 parents 196dbd6 + 2708ddf commit 07ca3a8
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 105 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ composer.lock
npm-debug.log
yarn-error.log
.DS_Store
Thumbs.dbg
Thumbs.db
.phpunit.result.cache
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ php:
- 7.2
- 7.3

notifications:
email: false
slack:
secure: AqHB172t10a7gJhGPSm94/eTgHmA7TcKGUBajMiIIkgp4Lmf5GP52JBp8Cip4kzkPeijawavK0pOFIs+2ps+11OAtsRNZ8TSSYIgfCD9n4GyAslFSw3QOCbVW4OcghH2GgH87dG773812DfJbUdK/HEMlu4kRVBPsoGzKK3IaTAPi9CiEq8Z8Qg9+BZkzf1a0HE/ym+ViuXKJpqQHaV5i5HFOCKV4kylEcZj4vxc9XZbx2wO/py1p9ez2YVH0cF1mxGNRqAQIjFHWtthJqldDU9Ufp9L9EKGDm7h/LK9MPGCPeFKoxvBa3wf6SDavAXgcGGZi1s24XFZklZNgSN4VaMKKa4T1PVdecQIayyoYGZX4JfXl0Bgg7I5sbVI3DeX8nSGwoGsXdli1i53aQ9feWVXGpQIJuM86NrmPFRB8qMRZcJDN8VuAyAaIKH/e5gCikG8qNgA+dphfPAY8Es3M/cJQOV29JkmFq3wddikxfQEKkJPv2Y9Q9pe8B9y5rPyFfuS7tErh/iLb68tpWSWXvgVxwqv5gx+6f0bm6J4pAvle0AuPRXBDdXwkCqdz6Ut5rI/GzzwqA3KIyDEaU1s93syfue54f29oPn27aWqoqATW41RjQCH9MkDD+4+KPFVAFYZY4oP80uFC3gBjoAvUYYTO/fypv8p/CwZ/XjNZg0=

env:
matrix:
- LARAVEL=5.8.*
- LARAVEL=dev-master

matrix:
fast_finish: true
exclude:
- php: 7.1
env: LARAVEL=dev-master
Expand Down
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Release Notes

## [v4.1.25](https://github.com/cnvs/canvas/compare/v4.1.24...v4.1.25)

### Added
- Added a unit test for precision number formatting ([8398356](https://github.com/cnvs/canvas/commit/8398356b819ce27d98895658277e0a6897613464))

## [v4.1.24](https://github.com/cnvs/canvas/compare/v4.1.23...v4.1.24)

### Changed

- Changed the `laravel/framework` requirement to `illuminate/support` ([#453](https://github.com/cnvs/canvas/pull/453), [a1306c5](https://github.com/cnvs/canvas/commit/a1306c5c925f6357f6c150c4249e44505ce15c57), [b056182](https://github.com/cnvs/canvas/commit/b056182da87cc92403672cbf81f062a5ea72c171))
- Updated Unsplash links to open in new tabs ([2fe5658](https://github.com/cnvs/canvas/commit/2fe5658c363afea9b03ad270353f9659bab19494))
- Refactored the `storage_path` configuration to less explicit with images ([b0ab792](https://github.com/cnvs/canvas/commit/b0ab7926446d018461ca9a644a2ac571ad6eb046))
Expand Down
8 changes: 8 additions & 0 deletions tests/Helpers/SuffixedNumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public function return_an_unformatted_number()
$this->assertEquals((string) $number, SuffixedNumber::format($number));
}

/** @test */
public function return_a_precision_formatted_number()
{
static $number = 12345;

$this->assertEquals('12.345K', SuffixedNumber::format($number, 3));
}

/** @test */
public function return_a_formatted_number_in_thousands()
{
Expand Down
Loading

0 comments on commit 07ca3a8

Please sign in to comment.