Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.71 KB

CHANGELOG.md

File metadata and controls

75 lines (60 loc) · 2.71 KB

1.0.0

Features:

  • Add Temperature#boil_water? and Temperature#freeze_water? (#47).

Removals:

  • Remove BasicTemperature#==, since it is generated by Comparable (#43).
  • Remove Math, since it provides more confusion than benefit (#51).

Docs:

  • Add link to docs in README.md (#42).

Tech improvements:

0.2.2

Features:

  • Include Comparable (#24).
  • Introduce short form: Temperature instead of BasicTemperature::Temperature (#25).
  • Add simple memoization (#26).
  • Add rounding (#26).
  • Introduce alias [] for new (#27).
  • Add support of Rankine scale.
  • Implement Temperature#inspect.

Fixes:

  • Update BasicTemperature#== (When two temperatures had different scales - automatic conversion was not performed) (#18).
  • Restrict Rubocop version for Code Climate (#22).
  • Fix typo Celsium instead of Celcius (#23).
  • Add Gemfile.lock to .gitignore (#38).

Docs

  • Add Active Development Warning (#19).
  • Introduce badges: Gem Version, Build Status, Maintainability, Coverage Status, License: MIT, Patreon, Inch CI (#14) (#20) (#40).
  • Add docs for all public API (#38).
  • Add usage section in README.md (#38).

Tech improvements:

0.2.1

Features:

  • Add spaceship operator <=> (#2).

Tech improvements:

0.2.0

  • 'Accidentally' yanked.

0.1.0

  • Initial Release.

Features:

  • Create Temperature using positional arguments.
  • Create Temperature using keyword arguments.
  • Create Temperatures from already existing temperature objects (Temperature#set_degrees, Temperature#set_scale).
  • Conversion to Celsius, Fahrenheit, Kelvin.
  • Add dynamic conversion (Temperature#to_scale).
  • Introduce equality operator ==.
  • Implement addition of Temperatures.
  • Implement subtraction of Temperatures.
  • Support Ruby coersion mechanism.