0.4.4 / 2012-06-16

0.4.3 / 2012-06-11

  • Allow defaulting Boolean parameters to false.
  • Guard against nil arguments in Parameters::Options, when merging values into Hash or Array parameters.

0.4.2 / 2012-05-28

  • Fixed a typo in the gemspec, which incorrectly set required_rubygems_version to the same value as required_ruby_version.

0.4.1 / 2012-05-27

0.4.0 / 2011-12-29

0.3.1 / 2011-12-16

0.3.0 / 2011-12-13

0.2.3 / 2010-10-27

  • Have parameter reader/writer class-methods search down the ancestory tree for a given class parameter.

0.2.2 / 2010-08-06

0.2.1 / 2010-05-05

  • Added Parameters::ClassMethods#included, so that Parameters::ClassMethods can be re-extended by mixin modules which include Parameters.
  • Added Parameters::Param#coerce_hash.
  • Allow a Proc to be given as the coercion type for Parameters::Param#coerce_type.
  • Allow custom classes to be used for coercion types.
  • Ruby 1.8.6 bug fixes for Parameters::Param#coerce_type.

0.2.0 / 2010-02-18

  • Migrated to Jeweler for packaging rubygems.
  • Added type enforcement / coercion to parameters:
    • Added the :type option to the parameter method.
    • Available types:
    • Array[Class]
    • Array
    • Set[Class]
    • Set
    • URI
    • Regexp
    • DateTime
    • Date
    • Symbol
    • String
    • Integer
    • Float
    • true (for boolean types).
    • Removed Parameters::Parser in favor of type enforcement / coercion.
  • Switched to MarkDown formatted YARD documentation.
  • Moved the YARD parameter handlers into yard-parameters library.

0.1.9 / 2009-01-30

0.1.8 / 2009-09-21

  • Require Hoe >= 2.3.3.
  • Require YARD >= 0.2.3.5.
  • Require RSpec >= 1.2.8.
  • Use 'hoe/signing' for signed RubyGems.
  • Moved to YARD based documentation.
  • Added YARD handlers for documenting parameter method calls.
  • All specs pass on JRuby 1.3.1.

0.1.7 / 2009-07-19

0.1.6 / 2009-05-11

0.1.5 / 2009-05-06

0.1.4 / 2009-01-17

  • All specs now pass with RSpec 1.1.12.
  • All specs pass on Ruby 1.9.1-rc1.

0.1.3 / 2009-01-14

  • Allow the use of lambdas to generate the default values of parameters.
  • Fixed typos in the README.txt.

0.1.2 / 2009-01-06

  • When printing parameter values, print the inspected version of the value.

0.1.1 / 2008-12-27

  • Added the require_params helper method.
  • Added print_params methods for displaying parameters of a class or an object.

0.1.0 / 2008-12-03