Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 2.72 KB

CHANGELOG.rdoc

File metadata and controls

86 lines (54 loc) · 2.72 KB

master

0.5.0 / 2011-08-23

  • Rails 3 support [Jack Dempsey]

0.4.2 / 2010-04-17

  • Fix #preferences lookup not typecasting values

0.4.1 / 2010-03-07

  • Add support for per-group default preferences

  • Fix unsaved boolean preferences getting overridden by defaults if value is false

0.4.0 / 2010-03-07

  • Add {preference}_changed?, {preference}_was, {preference}_changed, {preference}_will_change!, and reset_{preference}!

  • Add #preferences_changed?, #preferences_changed, and #preference_changes

  • Fix preferences that are reverted externally still getting stored

  • Fix preference definition types not being used to typecast values

  • No longer allow both group and non-group preferences to be looked up at once (except for named scopes)

  • Add support for using Symbols to reference groups

  • Fix #reload not causing unsaved preferences to get reset

  • Raise exception if unknown preference is accessed

  • Rename #set_preference to #write_preference

  • Add caching of preference lookups

  • Fix preferences being stored even if they didn’t change

  • Release gems via rake-gemcutter instead of rubyforge

  • Add a generator for db migration to make installation a bit easier [Tim Lowrimore]

  • Add named scopes: #with_preferences and #without_preferences

0.3.1 / 2009-04-25

  • Rename Preference#attribute to #name to avoid conflicts with reserved methods in ActiveRecord

0.3.0 / 2009-04-13

  • Add dependency on Rails 2.3

  • Remove dependency on plugins_plus

0.2.0 / 2008-12-14

  • Remove the PluginAWeek namespace

0.1.5 / 2008-11-16

  • Add all prefers/preferred accessors for preferences to be analogous to ActiveRecord column accessors

  • Fix preferences defined in STI subclasses not working [Quinn Shanahan]

0.1.4 / 2008-10-26

  • Change how the base module is included to prevent namespacing conflicts

0.1.3 / 2008-06-29

  • Add prefs as an alias for preferences

  • Fix preferences not properly selecting preferences when a group is specified

  • Improve test coverage

0.1.2 / 2008-06-22

  • Remove log files from gems

0.1.1 / 2008-06-20

  • Rename preference_values hash to preferences

  • Rename preferences association to stored_preferences

0.1.0 / 2008-06-19

  • Avoid string evaluation for dynamic methods

  • Return hashes for the preference_values, e.g.

    user.preference_values # => {‘color’ => ‘red’, ‘number’ => 11, ‘website’ => {‘background’ => ‘white’, ‘foreground’ => ‘black’}} user.preference_values(‘website’) # => {‘background’ => ‘white’, ‘foreground’ => ‘black’}

  • Add more generic grouping of preferences than with just other records, e.g.

    user.preferred_color(‘cars’)

  • Remove support for an options hash when specifying :for associations for preference

0.0.1 / 2008-05-10

  • Initial public release