A versioning policy is merely a set of simple rules governing how version numbers are allocated.
The RubyGems team urges gem developers to follow the Semantic Versioning standard for their gem’s versions.
stack
gem that holds a Stack
class with both push and pop functionalty.
Your CHANGELOG90.1 might look like this if you use semantic versioning:
Version 0.0.1: The initial Stack class is released. Version 0.0.2: Switched to a linked list implementation because it is cooler. Version 0.1.0: Added a depth method. Version 1.0.0: Added top and made pop return nil (pop used to return the old top item). Version 1.1.0: push now returns the value pushed (it used to return nil). Version 1.1.1: Fixed a bug in the linked list implementation. Version 1.1.2: Fixed a bug introduced in the last fix.
Version 0.0.1: The initial Stack class is released. Version 0.0.2: Switched to a linked list implementation because it is cooler. Version 0.1.0: Added a depth method. Version 1.0.0: Added top and made pop return nil (pop used to return the old top item). Version 1.1.0: push now returns the value pushed (it used to return nil). Version 1.1.1: Fixed a bug in the linked list implementation. Version 1.1.2: Fixed a bug introduced in the last fix.