Hello community, here is the log from the commit of package rubygem-activerecord-3_2 for openSUSE:12.3 checked in at 2013-02-12 17:43:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3/rubygem-activerecord-3_2 (Old) and /work/SRC/openSUSE:12.3/.rubygem-activerecord-3_2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-activerecord-3_2", Maintainer is "ruby-de...@suse.de" Changes: -------- --- /work/SRC/openSUSE:12.3/rubygem-activerecord-3_2/rubygem-activerecord-3_2.changes 2013-01-31 01:36:41.000000000 +0100 +++ /work/SRC/openSUSE:12.3/.rubygem-activerecord-3_2.new/rubygem-activerecord-3_2.changes 2013-02-12 17:43:22.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Feb 12 13:33:02 UTC 2013 - co...@suse.com + +- updated to version 3.2.12 + * Quote numeric values being compared to non-numeric columns. Otherwise, + in some database, the string column values will be coerced to a numeric + allowing 0, 0.0 or false to match any string starting with a non-digit. + + Example: + + App.where(apikey: 0) # => SELECT * FROM users WHERE apikey = '0' + +------------------------------------------------------------------- Old: ---- activerecord-3.2.11.gem New: ---- activerecord-3.2.12.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-activerecord-3_2.spec ++++++ --- /var/tmp/diff_new_pack.ZGopnb/_old 2013-02-12 17:43:22.000000000 +0100 +++ /var/tmp/diff_new_pack.ZGopnb/_new 2013-02-12 17:43:22.000000000 +0100 @@ -17,7 +17,7 @@ Name: rubygem-activerecord-3_2 -Version: 3.2.11 +Version: 3.2.12 Release: 0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org