shivam091/unit_measurements-rails

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
## [1.6.0](https://github.com/shivam091/unit_measurements-rails/compare/v1.5.0...v1.6.0) - 2023-12-10

### What's new

- Added tests for `measured_*` methods.

-----------

## [1.5.0](https://github.com/shivam091/unit_measurements-rails/compare/v1.4.0...v1.5.0) - 2023-11-27

### What's new

- Raise error when columns for measurement attribute don't exist in DB.

-----------

## [1.4.0](https://github.com/shivam091/unit_measurements-rails/compare/v1.3.0...v1.4.0) - 2023-11-25

### What's updated

- Updated RDoc and rearranged files.

-----------

## [1.3.0](https://github.com/shivam091/unit_measurements-rails/compare/v1.2.0...v1.3.0) - 2023-11-22

### What's new

- Raise `BaseError` if already measured attribute.
- Added wrapper for defining `density` measured attributes.
- Added wrapper for defining `temperature` measured attributes.
- Added wrapper for defining `time` measured attributes.

-----------

## [1.2.0](https://github.com/shivam091/unit_measurements-rails/compare/v1.1.0...v1.2.0) - 2023-11-20

### What's new

- Added method `.measured_fields` to provide ability to maintain measured attribute names and their options.

-----------

## [1.1.0](https://github.com/shivam091/unit_measurements-rails/compare/v1.0.0...v1.1.0) - 2023-11-16

### What's new

- Added ability to define _multiple_ measured attributes at a time.
- Added wrapper for defining `length` measured attributes.
- Added wrapper for defining `weight` measured attributes.
- Added wrapper for defining `volume` measured attributes.
- Added wrapper for defining `area` measured attributes.

-----------

## [1.0.0](https://github.com/shivam091/unit_measurements-rails/compare/v0.2.0...v1.0.0) - 2023-11-14

### What's new

- Added method `.measured` to store and retrieve measurement object.
- Added RDoc for modules and classes.

-----------

## [0.2.0](https://github.com/shivam091/unit_measurements-rails/compare/v0.1.0...v0.2.0) - 2023-11-12

### What's new

- Added gem skeleton and updated dependencies.
- Added test schema to prepare the database.

-----------

## 0.1.0 - 2023-11-08

### Initial release

-----------

### Unreleased