forked from pboling/flag_shih_tzu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
31 lines (23 loc) · 1.76 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Version 0.3.2 - NOV.06.2012
* Adds skip column check option :check_for_column - from arturaz
* Adds a 'smart' set_flag_sql method which will auto determine the correct column for the given flag - from arturaz
* Changes the behavior of sql_set_for_flag to not use table names in the generated SQL
- because it didn't actually work before
- Now there is a test ensuring that the generated SQL can be executed by a real DB
- This improved sql_set_for_flag underlies the public set_flag_sql method
Version 0.3.1 - NOV.06.2012
* Adds new methods (for a flag column named 'bar', with many individual flags within) - from ddidier
- all_bar, selected_bar, select_all_bar, unselect_all_bar, selected_bar=(selected_flags), has_bar?
Version 0.3.0 - NOV.05.2012 - first version maintained by Peter Boling
* ClassWithHasFlags.set_#{flag_name}_sql # Returns the sql string for setting a flag for use in customized SQL
* ClassWithHasFlags.unset_#{flag_name}_sql # Returns the sql string for unsetting a flag for use in customized SQL
* ClassWithHasFlags.flag_columns # Returns the column_names used by FlagShihTzu as bit fields
* has_flags :strict => true # DuplicateFlagColumnException raised when a single DB column is declared as a flag column twice
* Less verbosity for expected conditions when the DB connection for the class is unavailable.
* Tests for additional features, but does not change any behavior of 0.2.3 / 0.2.4 by default.
* Easily migrate from 0.2.3 / 0.2.4. Goal is no code changes required. Minor version bump to encourage caution.
Version 0.2.4 - NOV.05.2012 - released last few changes from XING master
* Fix deprecation warning for set_table_name
* Optional bang methods
* Complete Ruby 1.9(\.[^1]) and Rails 3.2.X compatibility
Version 0.2.3 - last version maintained by XING AG