Releases: OpenBuildings/monetary
Releases · OpenBuildings/monetary
PHP version upgrade
Upgrade php version to ^7.1
Upgrade phpunit version to ^7
0.4.1
0.4.0
0.3.2: Introduce Cache_None for unit tests
Cache_None is used in Source_RemoteTest. When the functionality of caching should is not the essential thing being tested in a unit test it should not be used. Also it allows the Source_RemoteTest::test_serialize test to be run multiple times on the same system without failing.
0.3.1
Sourceable::rate instead of Sourceable::exchange_rates
0.3.0 Added Source::rate method instead. Tests and formatting.
0.2.2
Allow setting default currency and precision
0.2.1 Fixed code in usage example
Requestable interface, full test coverage
Added Remoteable and CURL driver for Source_Remote
- Added Remoteable interface
- It is used in Source_Remote similar to Cacheable
- It could be set via the constructor.
- It could be get or set via the
request_drivermethod. - When making a request
$this->request_driver()->request()is used.
- Added CURL class implementing the Remoteable interface
- It is the default request driver for Source_Remote.
- Other improvements like more static:: usage.
100% test coverage
More test coverage and better extensibility
0.1.1 Add Coveralls and Composer badges