commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2019-01-21 10:26:25 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new.28833 (New) Package is "rubygem-activerecord-4_2" Mon Jan 21 10:26:25 2019 rev:14 rq:656392 version:4.2.11 Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2017-12-07 13:51:47.921726252 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new.28833/rubygem-activerecord-4_2.changes 2019-01-21 10:26:31.541673369 +0100 @@ -1,0 +2,10 @@ +Sat Dec 8 16:16:15 UTC 2018 - Stephan Kulow + +- updated to version 4.2.11 + see installed CHANGELOG.md + + ## Rails 4.2.11 (November 27, 2018) ## + + * No changes. + +--- Old: activerecord-4.2.10.gem New: activerecord-4.2.11.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.i3RjTc/_old 2019-01-21 10:26:33.221671525 +0100 +++ /var/tmp/diff_new_pack.i3RjTc/_new 2019-01-21 10:26:33.225671520 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-activerecord-4_2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.10 +Version:4.2.11 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.10.gem -> activerecord-4.2.11.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-09-27 16:26:37.0 +0200 +++ new/CHANGELOG.md2018-11-27 21:06:14.0 +0100 @@ -1,3 +1,8 @@ +## Rails 4.2.11 (November 27, 2018) ## + +* No changes. + + ## Rails 4.2.10 (September 27, 2017) ## * `Relation#joins` is no longer affected by the target model's Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/connection_adapters/mysql2_adapter.rb new/lib/active_record/connection_adapters/mysql2_adapter.rb --- old/lib/active_record/connection_adapters/mysql2_adapter.rb 2017-09-27 16:26:37.0 +0200 +++ new/lib/active_record/connection_adapters/mysql2_adapter.rb 2018-11-27 21:06:14.0 +0100 @@ -1,6 +1,6 @@ require 'active_record/connection_adapters/abstract_mysql_adapter' -gem 'mysql2', '>= 0.3.13', '< 0.5' +gem 'mysql2', '>= 0.3.13', '< 0.6.0' require 'mysql2' module ActiveRecord diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/gem_version.rb new/lib/active_record/gem_version.rb --- old/lib/active_record/gem_version.rb2017-09-27 16:26:37.0 +0200 +++ new/lib/active_record/gem_version.rb2018-11-27 21:06:14.0 +0100 @@ -7,7 +7,7 @@ module VERSION MAJOR = 4 MINOR = 2 -TINY = 10 +TINY = 11 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2017-09-27 16:26:37.0 +0200 +++ new/metadata2018-11-27 21:06:14.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: activerecord version: !ruby/object:Gem::Version - version: 4.2.10 + version: 4.2.11 platform: ruby authors: - David Heinemeier Hansson autorequire: bindir: bin cert_chain: [] -date: 2017-09-27 00:00:00.0 Z +date: 2018-11-27 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -16,28 +16,28 @@ requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.10 +version: 4.2.11 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.10 +version: 4.2.11 - !ruby/object:Gem::Dependenc
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2017-12-07 13:51:47 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Thu Dec 7 13:51:47 2017 rev:13 rq:533909 version:4.2.10 Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2017-09-26 21:13:21.243409728 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2017-12-07 13:51:47.921726252 +0100 @@ -1,0 +2,15 @@ +Wed Oct 11 05:57:27 UTC 2017 - co...@suse.com + +- updated to version 4.2.10 + see installed CHANGELOG.md + + ## Rails 4.2.10 (September 27, 2017) ## + + * `Relation#joins` is no longer affected by the target model's + `current_scope`, with the exception of `unscoped`. + + Fixes #29338. + + *Sean Griffin* + +--- Old: activerecord-4.2.9.gem New: activerecord-4.2.10.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.w3a30r/_old 2017-12-07 13:51:48.497705276 +0100 +++ /var/tmp/diff_new_pack.w3a30r/_new 2017-12-07 13:51:48.501705130 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.9 +Version:4.2.10 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} @@ -40,7 +40,7 @@ BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: ruby-macros >= 5 Url:http://www.rubyonrails.org -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Object-relational mapper framework (part of Rails) License:MIT ++ activerecord-4.2.9.gem -> activerecord-4.2.10.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-06-26 23:29:04.0 +0200 +++ new/CHANGELOG.md2017-09-27 16:26:37.0 +0200 @@ -1,3 +1,12 @@ +## Rails 4.2.10 (September 27, 2017) ## + +* `Relation#joins` is no longer affected by the target model's +`current_scope`, with the exception of `unscoped`. + +Fixes #29338. + +*Sean Griffin* + ## Rails 4.2.9 (June 26, 2017) ## * Fix regression caused by `collection_singular_ids=` ignoring different primary key on relationship. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/associations/join_dependency/join_association.rb new/lib/active_record/associations/join_dependency/join_association.rb --- old/lib/active_record/associations/join_dependency/join_association.rb 2017-06-26 23:29:04.0 +0200 +++ new/lib/active_record/associations/join_dependency/join_association.rb 2017-09-27 16:26:37.0 +0200 @@ -53,10 +53,8 @@ scope_chain_index += 1 klass_scope = - if klass.current_scope -klass.current_scope.clone.tap { |scope| - scope.joins_values = [] -} + if klass.current_scope && klass.current_scope.values.blank? +klass.unscoped else klass.send(:build_default_scope, ActiveRecord::Relation.create(klass, table)) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/connection_adapters/abstract_mysql_adapter.rb new/lib/active_record/connection_adapters/abstract_mysql_adapter.rb --- old/lib/active_record/connection_adapters/abstract_mysql_adapter.rb 2017-06-26 23:29:04.0 +0200 +++ new/lib/active_record/connection_adapters/abstract_mysql_adapter.rb 2017-09-27 16:26:37.0 +0200 @@ -282,6 +282,14 @@ 0 end + def quoted_date(value) +if supports_datetime_with_precision? && value.acts_like?(:time) && value.respond_to?(:usec) + "#{super}.#{sprintf("%06d", value.usec)}" +else + super +end + end + # REFERENTIAL INTEGRITY def disable_referential_integrity #:nodoc: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/connection_adapters/mysql2_adapter.rb new/lib/active_record/connection_adapters/mysql2_adapter.rb --- old/lib/active_record/conne
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2017-09-26 21:12:52 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Tue Sep 26 21:12:52 2017 rev:12 rq:514910 version:4.2.9 Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2017-03-21 22:50:26.419223167 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2017-09-26 21:13:21.243409728 +0200 @@ -1,0 +2,35 @@ +Thu Aug 3 19:01:16 UTC 2017 - co...@suse.com + +- updated to version 4.2.9 + see installed CHANGELOG.md + + ## Rails 4.2.9 (June 26, 2017) ## + + * Fix regression caused by `collection_singular_ids=` ignoring different primary key on relationship. + + *Nick Pezza* + + * Fix `rake db:schema:load` with subdirectories. + + *Ryuta Kamizono* + + * Fix `rake db:migrate:status` with subdirectories. + + *Ryuta Kamizono* + + * Fix regression of #1969 with SELECT aliases in HAVING clause. + + *Eugene Kenny* + + * Fix `wait_timeout` to configurable for mysql2 adapter. + + Fixes #26556. + + *Ryuta Kamizono* + + * Make `table_name=` reset current statement cache, + so queries are not run against the previous table name. + + *namusyaka* + +--- Old: activerecord-4.2.8.gem New: activerecord-4.2.9.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.sU4eOc/_old 2017-09-26 21:13:22.515230887 +0200 +++ /var/tmp/diff_new_pack.sU4eOc/_new 2017-09-26 21:13:22.515230887 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.8 +Version:4.2.9 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.8.gem -> activerecord-4.2.9.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-02-21 17:07:00.0 +0100 +++ new/CHANGELOG.md2017-06-26 23:29:04.0 +0200 @@ -1,3 +1,33 @@ +## Rails 4.2.9 (June 26, 2017) ## + +* Fix regression caused by `collection_singular_ids=` ignoring different primary key on relationship. + +*Nick Pezza* + +* Fix `rake db:schema:load` with subdirectories. + +*Ryuta Kamizono* + +* Fix `rake db:migrate:status` with subdirectories. + +*Ryuta Kamizono* + +* Fix regression of #1969 with SELECT aliases in HAVING clause. + +*Eugene Kenny* + +* Fix `wait_timeout` to configurable for mysql2 adapter. + +Fixes #26556. + +*Ryuta Kamizono* + +* Make `table_name=` reset current statement cache, +so queries are not run against the previous table name. + +*namusyaka* + + ## Rails 4.2.8 (February 21, 2017) ## * Using a mysql2 connection after it fails to reconnect will now have an error message Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/associations/collection_association.rb new/lib/active_record/associations/collection_association.rb --- old/lib/active_record/associations/collection_association.rb 2017-02-21 17:07:00.0 +0100 +++ new/lib/active_record/associations/collection_association.rb 2017-06-26 23:29:04.0 +0200 @@ -67,10 +67,14 @@ pk_type.type_cast_from_user(i) end -if (objs = klass.where(pk_column => ids)).size == ids.size +objs = klass.where(pk_column => ids).index_by do |r| + r.send(pk_column) +end.values_at(*ids).compact + +if objs.size == ids.size replace(objs.index_by { |r| r.send(pk_column) }.values_at(*ids)) else - objs.raise_record_not_found_exception!(ids, objs.size, ids.size) + klass.all.raise_record_not_found_exception!(ids, objs.size, ids.size) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/connection_adapters/abstract/schema_statements.rb new/lib/active_record/connection_adapters/abstract/schema_statements.rb --- old/lib/active_record/connection_adapters/abstract/schema_statements.rb 2017-02-21 17:07:00.0 +0100 +++ new/lib/active_record/connection_adapters/abstract/schema_statements.rb 2017-06-26 23:29:04.0 +0200 @@ -841,10 +841,9 @@
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2017-03-21 22:50:25 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Tue Mar 21 22:50:25 2017 rev:11 rq:479675 version:4.2.8 Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2016-08-25 09:55:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2017-03-21 22:50:26.419223167 +0100 @@ -1,0 +2,36 @@ +Wed Feb 22 05:30:20 UTC 2017 - co...@suse.com + +- updated to version 4.2.8 + see installed CHANGELOG.md + + ## Rails 4.2.8 (February 21, 2017) ## + + * Using a mysql2 connection after it fails to reconnect will now have an error message + saying the connection is closed rather than an undefined method error message. + + *Dylan Thacker-Smith* + + * Bust Model.attribute_names cache when resetting column information + + *James Coleman* + + * Fix query caching when type information is reset + + Backports ancillary fix in 5.0. + + *James Coleman* + + * Allow `joins` to be unscoped. + + Fixes #13775. + + *Takashi Kokubun* + + * Hashes can once again be passed to setters of `composed_of`, if all of the + mapping methods are methods implemented on `Hash`. + + Fixes #25978. + + *Sean Griffin* + +--- Old: activerecord-4.2.7.1.gem New: activerecord-4.2.8.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.EcDuvb/_old 2017-03-21 22:50:27.255104997 +0100 +++ /var/tmp/diff_new_pack.EcDuvb/_new 2017-03-21 22:50:27.259104431 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-activerecord-4_2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.7.1 +Version:4.2.8 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.7.1.gem -> activerecord-4.2.8.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-08-11 00:25:26.0 +0200 +++ new/CHANGELOG.md2017-02-21 17:07:00.0 +0100 @@ -1,3 +1,34 @@ +## Rails 4.2.8 (February 21, 2017) ## + +* Using a mysql2 connection after it fails to reconnect will now have an error message +saying the connection is closed rather than an undefined method error message. + +*Dylan Thacker-Smith* + +* Bust Model.attribute_names cache when resetting column information + +*James Coleman* + +* Fix query caching when type information is reset + +Backports ancillary fix in 5.0. + +*James Coleman* + +* Allow `joins` to be unscoped. + +Fixes #13775. + +*Takashi Kokubun* + +* Hashes can once again be passed to setters of `composed_of`, if all of the +mapping methods are methods implemented on `Hash`. + +Fixes #25978. + +*Sean Griffin* + + ## Rails 4.2.7 (July 12, 2016) ## * Inspecting an object with an associated array of over 10 elements no longer Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/aggregations.rb new/lib/active_record/aggregations.rb --- old/lib/active_record/aggregations.rb 2016-08-11 00:25:26.0 +0200 +++ new/lib/active_record/aggregations.rb 2017-02-21 17:07:00.0 +0100 @@ -249,7 +249,9 @@ part = converter.respond_to?(:call) ? converter.call(part) : klass.send(converter, part) end -if part.is_a?(Hash) +hash_from_multiparameter_assignment = part.is_a?(Hash) && + part.each_key.all? { |k| k.is_a?(Integer) } +if hash_from_multiparameter_assignment part = klass.new(*part.values) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/associations/collection_association.rb new/lib/active_record/associations/collection_association.rb --- old/lib/active_record/associations/collection_assoc
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2016-08-25 09:55:28 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2016-07-20 09:25:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2016-08-25 09:55:31.0 +0200 @@ -1,0 +2,6 @@ +Fri Aug 12 04:33:17 UTC 2016 - co...@suse.com + +- updated to version 4.2.7.1 + see installed CHANGELOG.md + +--- Old: activerecord-4.2.7.gem New: activerecord-4.2.7.1.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.lqkZh1/_old 2016-08-25 09:55:32.0 +0200 +++ /var/tmp/diff_new_pack.lqkZh1/_new 2016-08-25 09:55:32.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.7 +Version:4.2.7.1 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.7.gem -> activerecord-4.2.7.1.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/gem_version.rb new/lib/active_record/gem_version.rb --- old/lib/active_record/gem_version.rb2016-07-13 04:53:42.0 +0200 +++ new/lib/active_record/gem_version.rb2016-08-11 00:25:26.0 +0200 @@ -8,7 +8,7 @@ MAJOR = 4 MINOR = 2 TINY = 7 -PRE = nil +PRE = "1" STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/relation/predicate_builder/array_handler.rb new/lib/active_record/relation/predicate_builder/array_handler.rb --- old/lib/active_record/relation/predicate_builder/array_handler.rb 2016-07-13 04:53:42.0 +0200 +++ new/lib/active_record/relation/predicate_builder/array_handler.rb 2016-08-11 00:25:26.0 +0200 @@ -14,7 +14,8 @@ it for 'IN' conditions. MSG - values = values.flatten + flat_values = values.flatten + values = flat_values unless flat_values.include?(nil) end return attribute.in([]) if values.empty? && nils.empty? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-07-13 04:53:42.0 +0200 +++ new/metadata2016-08-11 00:25:26.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: activerecord version: !ruby/object:Gem::Version - version: 4.2.7 + version: 4.2.7.1 platform: ruby authors: - David Heinemeier Hansson autorequire: bindir: bin cert_chain: [] -date: 2016-07-13 00:00:00.0 Z +date: 2016-08-10 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -16,28 +16,28 @@ requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.7 +version: 4.2.7.1 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.7 +version: 4.2.7.1 - !ruby/object:Gem::Dependency name: activemodel requirement: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.7 +version: 4.2.7.1 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.7 +version: 4.2.7.1 - !ruby/object:Gem::Dependency name: arel requirement: !ruby/object:Gem::Requirement @@ -304,8 +304,9 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.4.5.1 +rubygems_version: 2.6.6 signing_key: specification_version: 4 summary: Object-relational mapper framework (part of Rails). test_files: [] +has_rdoc:
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2016-07-20 09:25:25 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2016-03-18 21:40:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2016-07-20 09:25:29.0 +0200 @@ -1,0 +2,40 @@ +Wed Jul 13 04:31:39 UTC 2016 - co...@suse.com + +- updated to version 4.2.7 + see installed CHANGELOG.md + + ## Rails 4.2.7 (July 12, 2016) ## + + * Inspecting an object with an associated array of over 10 elements no longer + truncates the array, preventing `inspect` from looping infinitely in some + cases. + + *Kevin McPhillips* + + * Ensure hashes can be assigned to attributes created using `composed_of`. + Fixes #25210. + + *Sean Griffin* + + * Queries such as `Computer.joins(:monitor).group(:status).count` will now be + interpreted as `Computer.joins(:monitor).group('computers.status').count` + so that when `Computer` and `Monitor` have both `status` columns we don't + have conflicts in projection. + + *Rafael Sales* + + * ActiveRecord::Relation#count: raise an ArgumentError when finder options + are specified or an ActiveRecord::StatementInvalid when an invalid type + is provided for a column name (e.g. a Hash). + + Fixes #20434 + + *Konstantinos Rousis* + + * Correctly pass MySQL options when using structure_dump or structure_load + + Specifically, it fixes an issue when using SSL authentication. + + *Alex Coomans* + +--- Old: activerecord-4.2.6.gem New: activerecord-4.2.7.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.zu8B3j/_old 2016-07-20 09:25:31.0 +0200 +++ /var/tmp/diff_new_pack.zu8B3j/_new 2016-07-20 09:25:31.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.6 +Version:4.2.7 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.6.gem -> activerecord-4.2.7.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-03-07 23:31:30.0 +0100 +++ new/CHANGELOG.md2016-07-13 04:53:42.0 +0200 @@ -1,3 +1,38 @@ +## Rails 4.2.7 (July 12, 2016) ## + +* Inspecting an object with an associated array of over 10 elements no longer +truncates the array, preventing `inspect` from looping infinitely in some +cases. + +*Kevin McPhillips* + +* Ensure hashes can be assigned to attributes created using `composed_of`. +Fixes #25210. + +*Sean Griffin* + +* Queries such as `Computer.joins(:monitor).group(:status).count` will now be +interpreted as `Computer.joins(:monitor).group('computers.status').count` +so that when `Computer` and `Monitor` have both `status` columns we don't +have conflicts in projection. + +*Rafael Sales* + +* ActiveRecord::Relation#count: raise an ArgumentError when finder options +are specified or an ActiveRecord::StatementInvalid when an invalid type +is provided for a column name (e.g. a Hash). + +Fixes #20434 + +*Konstantinos Rousis* + +* Correctly pass MySQL options when using structure_dump or structure_load + +Specifically, it fixes an issue when using SSL authentication. + +*Alex Coomans* + + ## Rails 4.2.6 (March 07, 2016) ## * Fix a bug where using `t.foreign_key` twice with the same `to_table` within Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/aggregations.rb new/lib/active_record/aggregations.rb --- old/lib/active_record/aggregations.rb 2016-03-07 23:31:30.0 +0100 +++ new/lib/active_record/aggregations.rb 2016-07-13 04:53:42.0 +0200 @@ -244,14 +244,15 @@ def writer_method(name, class_name, mapping, allow_nil, converter) define_method("#{name}=") do |part| klass = class_name.constantize -if part.is_a?(Hash) - part = klass.new(*part.values) -end unless part.is_a?(klass) || converter.nil? || part.nil? part = c
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2016-03-18 21:40:34 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2016-03-07 13:28:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2016-03-18 21:40:36.0 +0100 @@ -1,0 +2,36 @@ +Tue Mar 8 05:31:37 UTC 2016 - co...@suse.com + +- updated to version 4.2.6 + see installed CHANGELOG.md + + ## Rails 4.2.6 (March 07, 2016) ## + + * Fix a bug where using `t.foreign_key` twice with the same `to_table` within + the same table definition would only create one foreign key. + + *George Millo* + + * Fix regression in dirty attribute tracking after #dup. Changes to the + clone no longer show as changed attributes in the original object. + + *Dominic Cleal* + + * Fix regression when loading fixture files with symbol keys. + + Closes #22584. + + *Yves Senn* + + * Fix `rake db:structure:dump` on Postgres when multiple schemas are used. + + Fixes #22346. + + *Nick Muerdter*, *ckoenig* + + * Introduce `connection.data_sources` and `connection.data_source_exists?`. + These methods determine what relations can be used to back Active Record + models (usually tables and views). + + *Yves Senn*, *Matthew Draper* + +--- Old: activerecord-4.2.5.2.gem New: activerecord-4.2.6.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.EQmD6C/_old 2016-03-18 21:40:37.0 +0100 +++ /var/tmp/diff_new_pack.EQmD6C/_new 2016-03-18 21:40:37.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.5.2 +Version:4.2.6 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.5.2.gem -> activerecord-4.2.6.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-02-29 20:16:01.0 +0100 +++ new/CHANGELOG.md2016-03-07 23:31:30.0 +0100 @@ -1,3 +1,34 @@ +## Rails 4.2.6 (March 07, 2016) ## + +* Fix a bug where using `t.foreign_key` twice with the same `to_table` within +the same table definition would only create one foreign key. + +*George Millo* + +* Fix regression in dirty attribute tracking after #dup. Changes to the +clone no longer show as changed attributes in the original object. + +*Dominic Cleal* + +* Fix regression when loading fixture files with symbol keys. + +Closes #22584. + +*Yves Senn* + +* Fix `rake db:structure:dump` on Postgres when multiple schemas are used. + +Fixes #22346. + +*Nick Muerdter*, *ckoenig* + +* Introduce `connection.data_sources` and `connection.data_source_exists?`. +These methods determine what relations can be used to back Active Record +models (usually tables and views). + +*Yves Senn*, *Matthew Draper* + + ## Rails 4.2.5.2 (February 26, 2016) ## * No changes. Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/associations/has_many_through_association.rb new/lib/active_record/associations/has_many_through_association.rb --- old/lib/active_record/associations/has_many_through_association.rb 2016-02-29 20:16:01.0 +0100 +++ new/lib/active_record/associations/has_many_through_association.rb 2016-03-07 23:31:30.0 +0100 @@ -94,6 +94,11 @@ through_record = through_association.build(*options_for_through_record) through_record.send("#{source_reflection.name}=", record) + +if options[:source_type] + through_record.send("#{source_reflection.foreign_type}=", options[:source_type]) +end + through_record end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/attribute_methods/dirty.rb new/lib/active_record/attribute_methods/dirty.rb --- old/lib/active_record/attribute_methods/dirty.rb2016-02-29 20:16:01.0 +0100 +++ new/lib/active_record/attribute_methods/dirty.rb2016-03-07 23:31:30.0 +0100 @@ -40,6 +40,7 @@
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2016-03-07 13:27:16 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2016-03-01 09:42:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2016-03-07 13:28:18.0 +0100 @@ -1,0 +2,15 @@ +Tue Mar 1 05:33:54 UTC 2016 - co...@suse.com + +- updated to version 4.2.5.2 + see installed CHANGELOG.md + + ## Rails 4.2.5.2 (February 26, 2016) ## + + * No changes. + + + ## Rails 4.2.5.1 (January 25, 2015) ## + + * No changes. + +--- Old: activerecord-4.2.5.1.gem New: activerecord-4.2.5.2.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.THgVF2/_old 2016-03-07 13:28:18.0 +0100 +++ /var/tmp/diff_new_pack.THgVF2/_new 2016-03-07 13:28:18.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.5.1 +Version:4.2.5.2 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.5.1.gem -> activerecord-4.2.5.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-01-25 19:25:06.0 +0100 +++ new/CHANGELOG.md2016-02-29 20:16:01.0 +0100 @@ -1,3 +1,13 @@ +## Rails 4.2.5.2 (February 26, 2016) ## + +* No changes. + + +## Rails 4.2.5.1 (January 25, 2015) ## + +* No changes. + + ## Rails 4.2.5 (November 12, 2015) ## * No longer pass deprecated option `-i` to `pg_dump`. Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/gem_version.rb new/lib/active_record/gem_version.rb --- old/lib/active_record/gem_version.rb2016-01-25 19:25:06.0 +0100 +++ new/lib/active_record/gem_version.rb2016-02-29 20:16:01.0 +0100 @@ -8,7 +8,7 @@ MAJOR = 4 MINOR = 2 TINY = 5 -PRE = "1" +PRE = "2" STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-01-25 19:25:06.0 +0100 +++ new/metadata2016-02-29 20:16:01.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: activerecord version: !ruby/object:Gem::Version - version: 4.2.5.1 + version: 4.2.5.2 platform: ruby authors: - David Heinemeier Hansson autorequire: bindir: bin cert_chain: [] -date: 2016-01-25 00:00:00.0 Z +date: 2016-02-29 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -16,28 +16,28 @@ requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.5.1 +version: 4.2.5.2 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.5.1 +version: 4.2.5.2 - !ruby/object:Gem::Dependency name: activemodel requirement: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.5.1 +version: 4.2.5.2 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version -version: 4.2.5.1 +version: 4.2.5.2 - !ruby/object:Gem::Dependency name: arel requirement: !ruby/object:Gem::Requirement
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2016-03-01 09:42:05 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2015-12-14 10:13:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2016-03-01 09:42:13.0 +0100 @@ -1,0 +2,6 @@ +Tue Jan 26 05:31:50 UTC 2016 - co...@suse.com + +- updated to version 4.2.5.1 + see installed CHANGELOG.md + +--- Old: activerecord-4.2.5.gem New: activerecord-4.2.5.1.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.DyZr52/_old 2016-03-01 09:42:14.0 +0100 +++ /var/tmp/diff_new_pack.DyZr52/_new 2016-03-01 09:42:14.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-activerecord-4_2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.5 +Version:4.2.5.1 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.5.gem -> activerecord-4.2.5.1.gem ++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/enum.rb new/lib/active_record/enum.rb --- old/lib/active_record/enum.rb 2015-11-12 18:04:59.0 +0100 +++ new/lib/active_record/enum.rb 2016-01-25 19:25:06.0 +0100 @@ -69,7 +69,7 @@ # Where conditions on an enum attribute must use the ordinal value of an enum. module Enum def self.extended(base) # :nodoc: - base.class_attribute(:defined_enums) + base.class_attribute(:defined_enums, instance_writer: false) base.defined_enums = {} end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/gem_version.rb new/lib/active_record/gem_version.rb --- old/lib/active_record/gem_version.rb2015-11-12 18:04:59.0 +0100 +++ new/lib/active_record/gem_version.rb2016-01-25 19:25:06.0 +0100 @@ -8,7 +8,7 @@ MAJOR = 4 MINOR = 2 TINY = 5 -PRE = nil +PRE = "1" STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_record/nested_attributes.rb new/lib/active_record/nested_attributes.rb --- old/lib/active_record/nested_attributes.rb 2015-11-12 18:04:59.0 +0100 +++ new/lib/active_record/nested_attributes.rb 2016-01-25 19:25:06.0 +0100 @@ -523,7 +523,7 @@ # has_destroy_flag? or if a :reject_if proc exists for this # association and evaluates to +true+. def reject_new_record?(association_name, attributes) - has_destroy_flag?(attributes) || call_reject_if(association_name, attributes) + will_be_destroyed?(association_name, attributes) || call_reject_if(association_name, attributes) end # Determines if a record with the particular +attributes+ should be @@ -532,7 +532,8 @@ # # Returns false if there is a +destroy_flag+ on the attributes. def call_reject_if(association_name, attributes) - return false if has_destroy_flag?(attributes) + return false if will_be_destroyed?(association_name, attributes) + case callback = self.nested_attributes_options[association_name][:reject_if] when Symbol method(callback).arity == 0 ? send(callback) : send(callback, attributes) @@ -541,6 +542,15 @@ end end +# Only take into account the destroy flag if :allow_destroy is true +def will_be_destroyed?(association_name, attributes) + allow_destroy?(association_name) && has_destroy_flag?(attributes) +end + +def allow_destroy?(association_name) + self.nested_attributes_options[association_name][:allow_destroy] +end + def raise_nested_attributes_record_not_found!(association_name, record_id) raise RecordNotFound, "Couldn't find #{self.class._reflect_on_association(association_name).klass.name} with ID=#{record_id} for #{
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2015-12-14 10:13:34 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2015-08-27 08:57:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2015-12-14 10:13:35.0 +0100 @@ -1,0 +2,108 @@ +Fri Nov 13 05:31:15 UTC 2015 - co...@suse.com + +- updated to version 4.2.5 + see installed CHANGELOG.md + + ## Rails 4.2.5 (November 12, 2015) ## + + * No longer pass deprecated option `-i` to `pg_dump`. + + *Paul Sadauskas* + + * Set `scope.reordering_value` to `true` if :reordering values are specified. + + Fixes #21886. + + *Hiroaki Izu* + + * Avoid disabling errors on the PostgreSQL connection when enabling the + standard_conforming_strings setting. Errors were previously disabled because + the setting wasn't writable in Postgres 8.1 and didn't exist in earlier + versions. Now Rails only supports Postgres 8.2+ we're fine to assume the + setting exists. Disabling errors caused problems when using a connection + pooling tool like PgBouncer because it's not guaranteed to have the same + connection between calls to `execute` and it could leave the connection + with errors disabled. + + Fixes #22101. + + *Harry Marr* + + * Includes HABTM returns correct size now. It's caused by the join dependency + only instantiates one HABTM object because the join table hasn't a primary key. + + Fixes #16032. + + Examples: + + before: + + Project.first.salaried_developers.size # => 3 + Project.includes(:salaried_developers).first.salaried_developers.size # => 1 + + after: + + Project.first.salaried_developers.size # => 3 + Project.includes(:salaried_developers).first.salaried_developers.size # => 3 + + *Bigxiang* + + * Descriptive error message when fixtures contain a missing column. + + Closes #21201. + + *Yves Senn* + + * `bin/rake db:migrate` uses + `ActiveRecord::Tasks::DatabaseTasks.migrations_paths` instead of + `Migrator.migrations_paths`. + + *Tobias Bielohlawek* + + * Fix `rewhere` in a `has_many` association. + + Fixes #21955. + + *Josh Branchaud*, *Kal* + + * Added run_cmd class method to ActiveRecord::Tasks::DatabaseTasks for + drying up Kernel.system() calls within this namespace and to avoid + shell expansion by using a paramter list instead of string as arguments + for Kernel.system(). Thanks to Nate Berkopec for supply patch to get + test units passing. + + *Bryan Paxton* + + * Avoid leaking the first relation we call `first` on, per model. + + Fixes #21921. + + *Matthew Draper*, *Jean Boussier* + + * Allow deserialization of Active Record models that were YAML encoded prior + to Rails 4.2 + + *Sean Griffin* + + * Correctly apply `unscope` when preloading through associations. + + *Jimmy Bourassa* + + * Ensure `select` quotes aliased attributes, even when using `from`. + + Fixes #21488 + + *Sean Griffin & @johanlunds* + + * Correct query for PostgreSQL 8.2 compatibility. + + *Ben Murphy*, *Matthew Draper* + + * Uniqueness validator raises descriptive error when running on a persisted + record without primary key. + + Closes #21304. + + *Yves Senn* + +--- Old: activerecord-4.2.4.gem New: activerecord-4.2.5.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.a2jMIA/_old 2015-12-14 10:13:36.0 +0100 +++ /var/tmp/diff_new_pack.a2jMIA/_new 2015-12-14 10:13:36.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.4 +Version:4.2.5 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.4.gem -> activerecord-4.2.5.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2015-08-24 20:23:10.0 +0200 +++ new/CHANGELOG.md2015-11-12 18:04:58.0 +0100 @@ -1,3 +1,106 @@ +## Rails 4.2.5 (November 12, 2015) ## + +* No longer pas
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2015-08-27 08:57:38 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2015-07-05 18:02:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2015-08-27 08:57:39.0 +0200 @@ -1,0 +2,73 @@ +Tue Aug 25 04:31:14 UTC 2015 - co...@suse.com + +- updated to version 4.2.4 + see installed CHANGELOG.md + + ## Rails 4.2.4 (August 24, 2015) ## + + * Skip statement cache on through association reader. + + If the through class has default scopes we should skip the statement + cache. + + Closes #20745. + + *Rafael Mendonça França* + + * Fixes #19420. When generating schema.rb using Postgres BigInt[] data type + the limit: 8 was not coming through. This caused it to become Int[] data type + after doing a rebuild off of schema.rb. + + *Jake Waller* + + * Fix state being carried over from previous transaction. + + Considering the following example where `name` is a required attribute. + Before we had `new_record?` returning `true` for a persisted record: + + author = Author.create! name: 'foo' + author.name = nil + author.save# => false + author.new_record? # => true + + Fixes #20824. + + *Roque Pinel* + + * Correctly ignore `mark_for_destruction` when `autosave` isn't set to `true` + when validating associations. + + Fixes #20882. + + *Sean Griffin* + + * Fix through associations using scopes having the scope merged multiple + times. + + Fixes #20721. + Fixes #20727. + + *Sean Griffin* + + * `ActiveRecord::Base.dump_schema_after_migration` applies migration tasks + other than `db:migrate`. (eg. `db:rollback`, `db:migrate:dup`, ...) + + Fixes #20743. + + *Yves Senn* + + * Correctly raise `ActiveRecord::AssociationTypeMismatch` when assigning + a wrong type to a namespaced association. + + Fixes #20545. + + *Diego Carrion* + + * Prevent error when using `force_reload: true` on an unassigned polymorphic + belongs_to association. + + Fixes #20426. + + *James Dabbs* + +--- Old: activerecord-4.2.3.gem New: activerecord-4.2.4.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.Qju2YE/_old 2015-08-27 08:57:39.0 +0200 +++ /var/tmp/diff_new_pack.Qju2YE/_new 2015-08-27 08:57:39.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.3 +Version:4.2.4 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.3.gem -> activerecord-4.2.4.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2015-06-25 23:29:22.0 +0200 +++ new/CHANGELOG.md2015-08-24 20:23:10.0 +0200 @@ -1,3 +1,71 @@ +## Rails 4.2.4 (August 24, 2015) ## + +* Skip statement cache on through association reader. + +If the through class has default scopes we should skip the statement +cache. + +Closes #20745. + +*Rafael Mendonça França* + +* Fixes #19420. When generating schema.rb using Postgres BigInt[] data type +the limit: 8 was not coming through. This caused it to become Int[] data type +after doing a rebuild off of schema.rb. + +*Jake Waller* + +* Fix state being carried over from previous transaction. + +Considering the following example where `name` is a required attribute. +Before we had `new_record?` returning `true` for a persisted record: + +author = Author.create! name: 'foo' +author.name = nil +author.save# => false +author.new_record? # => true + +Fixes #20824. + +*Roque Pinel* + +* Correctly ignore `mark_for_destruction` when `autosave` isn't set to `true` +when validating associations. + +Fixes #20882. + +*Sean Griffin* + +* Fix through associations using scopes having the scope merged multiple +times. + +Fixes #20721. +Fixes #20727. + +*Sean Griffin* + +* `ActiveRecord::Base.dump_schema_after_migration` applies migration tasks +other than `db:migr
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2015-07-05 18:02:29 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2015-03-27 09:40:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2015-07-05 18:02:32.0 +0200 @@ -1,0 +2,130 @@ +Fri Jun 26 04:31:24 UTC 2015 - co...@suse.com + +- updated to version 4.2.3 + see installed CHANGELOG.md + + ## Rails 4.2.3 (June 25, 2015) ## + + * Let `WITH` queries (Common Table Expressions) be explainable. + + *Vladimir Kochnev* + + * Fix n+1 query problem when eager loading nil associations (fixes #18312) + + *Sammy Larbi* + + * Fixed an error which would occur in dirty checking when calling + `update_attributes` from a getter. + + Fixes #20531. + + *Sean Griffin* + + * Ensure symbols passed to `ActiveRecord::Relation#select` are always treated + as columns. + + Fixes #20360. + + *Sean Griffin* + + * Clear query cache when `ActiveRecord::Base#reload` is called. + + *Shane Hender* + + * Pass `:extend` option for `has_and_belongs_to_many` associations to the + underlying `has_many :through`. + + *Jaehyun Shin* + + * Make `unscope` aware of "less than" and "greater than" conditions. + + *TAKAHASHI Kazuaki* + + * Revert behavior of `db:schema:load` back to loading the full + environment. This ensures that initializers are run. + + Fixes #19545. + + *Yves Senn* + + * Fix missing index when using `timestamps` with the `index` option. + + The `index` option used with `timestamps` should be passed to both + `column` definitions for `created_at` and `updated_at` rather than just + the first. + + *Paul Mucur* + + * Rename `:class` to `:anonymous_class` in association options. + + Fixes #19659. + + *Andrew White* + + * Fixed a bug where uniqueness validations would error on out of range values, + even if an validation should have prevented it from hitting the database. + + *Andrey Voronkov* + + * Foreign key related methods in the migration DSL respect + `ActiveRecord::Base.pluralize_table_names = false`. + + Fixes #19643. + + *Mehmet Emin İNAÇ* + + * Reduce memory usage from loading types on pg. + + Fixes #19578. + + *Sean Griffin* + + * Fix referencing wrong table aliases while joining tables of has many through + association (only when calling calculation methods). + + Fixes #19276. + + *pinglamb* + + * Don't attempt to update counter caches, when the column wasn't selected. + + Fixes #19437. + + *Sean Griffin* + + * Correctly persist a serialized attribute that has been returned to + its default value by an in-place modification. + + Fixes #19467. + + *Matthew Draper* + + * Fix default `format` value in `ActiveRecord::Tasks::DatabaseTasks#schema_file`. + + *James Cox* + + * Dont enroll records in the transaction if they dont have commit callbacks. + That was causing a memory grow problem when creating a lot of records inside a transaction. + + Fixes #15549. + + *Will Bryant*, *Aaron Patterson* + + * Correctly create through records when created on a has many through + association when using `where`. + + Fixes #19073. + + *Sean Griffin* + +--- +Wed Jun 17 04:32:38 UTC 2015 - co...@suse.com + +- updated to version 4.2.2 + see installed CHANGELOG.md + + ## Rails 4.2.2 (June 16, 2015) ## + + * No Changes * + +--- Old: activerecord-4.2.1.gem New: activerecord-4.2.3.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.zxlx7c/_old 2015-07-05 18:02:33.0 +0200 +++ /var/tmp/diff_new_pack.zxlx7c/_new 2015-07-05 18:02:33.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.1 +Version:4.2.3 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.1.gem -> activerecord-4.2.3.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGE
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2015-03-27 09:40:01 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: --- /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2/rubygem-activerecord-4_2.changes 2015-02-16 21:08:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2015-03-27 09:40:03.0 +0100 @@ -1,0 +2,38 @@ +Mon Mar 23 11:15:05 UTC 2015 - co...@suse.com + +- updated to version 4.2.1 + * Fixed ActiveRecord::Relation#becomes! and changed_attributes issues for type column + Fixes #17139. + * `remove_reference` with `foreign_key: true` removes the foreign key before + removing the column. This fixes a bug where it was not possible to remove + the column on MySQL. + Fixes #18664. + * Add a `:foreign_key` option to `references` and associated migration + methods. The model and migration generators now use this option, rather than + the `add_foreign_key` form. + * Fix rounding problem for PostgreSQL timestamp column. + + If timestamp column have the precision, it need to format according to + the precision of timestamp column. + * Respect the database default charset for `schema_migrations` table. + + The charset of `version` column in `schema_migrations` table is depend + on the database default charset and collation rather than the encoding + of the connection. + * Respect custom primary keys for associations when calling `Relation#where` + Fixes #18813. + * Fixed several edge cases which could result in a counter cache updating + twice or not updating at all for `has_many` and `has_many :through`. + Fixes #10865. + * Foreign keys added by migrations were given random, generated names. This + meant a different `structure.sql` would be generated every time a developer + ran migrations on their machine. + + The generated part of foreign key names is now a hash of the table name and + column name, which is consistent every time you run the migration. + * Fixed ActiveRecord::Relation#group method when argument is SQL reserved key word: + + SplitTest.group(:key).count + Property.group(:value).count + +--- Old: activerecord-4.2.0.gem New: activerecord-4.2.1.gem Other differences: -- ++ rubygem-activerecord-4_2.spec ++ --- /var/tmp/diff_new_pack.rVfK3T/_old 2015-03-27 09:40:03.0 +0100 +++ /var/tmp/diff_new_pack.rVfK3T/_new 2015-03-27 09:40:03.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-activerecord-4_2 -Version:4.2.0 +Version:4.2.1 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} ++ activerecord-4.2.0.gem -> activerecord-4.2.1.gem ++ 2149 lines of diff (skipped) ++ gem2rpm.yml ++ --- /var/tmp/diff_new_pack.rVfK3T/_old 2015-03-27 09:40:04.0 +0100 +++ /var/tmp/diff_new_pack.rVfK3T/_new 2015-03-27 09:40:04.0 +0100 @@ -1,73 +1,3 @@ -# --- -# ## used by gem2rpm -# :summary: this is a custom summary -# ## used by gem2rpm -# :description: |- -# this is a custom description -# -# it can be multiline -# ## used by gem2rpm -# :license: MIT or Ruby -# ## used by gem2rpm and gem_packages -# :version_suffix: -x_y -# ## used by gem2rpm and gem_packages -# :disable_docs: true -# ## used by gem2rpm -# :disable_automatic_rdoc_dep: true -# ## used by gem2rpm -# :preamble: |- -# BuildRequires: foobar -# Requires: foobar -# ## used by gem2rpm -# :patches: -# foo.patch: -p1 -# bar.patch: -# ## used by gem2rpm -# :sources: -# - foo.desktop -# - bar.desktop -# :gem_install_args: '' -# ## used by gem2rpm -# :pre_install: |- -# %if 0%{?use_system_libev} -# export USE_VENDORED_LIBEV="no" -# %endif -# ## used by gem2rpm -# :post_install: |- -# # delete custom files here or do other fancy stuff -# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse -# ## used by gem2rpm -# :testsuite_command: |- -# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) -# ## used by gem2rpm -# :filelist: |- -# /usr/bin/gem2rpm-opensuse -# ## used by gem2rpm -# :scripts: -# :post: |- -# /bin/echo foo -# ## used by gem_packages -# :main: -# :preamble: |- -# Requires: util-linux -# Recommends: pwgen -# :filelist: |- -# /usr/bin/gem2rpm-opensuse -# ## used by gem_packages -# :custom: -# apache: -# :preamble: |- -#
commit rubygem-activerecord-4_2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-activerecord-4_2 for openSUSE:Factory checked in at 2015-02-16 21:08:49 Comparing /work/SRC/openSUSE:Factory/rubygem-activerecord-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new (New) Package is "rubygem-activerecord-4_2" Changes: New Changes file: --- /dev/null 2014-12-25 22:38:16.200041506 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-activerecord-4_2.new/rubygem-activerecord-4_2.changes 2015-02-16 21:08:51.0 +0100 @@ -0,0 +1,44 @@ +--- +Mon Jan 19 21:15:26 UTC 2015 - dmuel...@suse.com + +- update to 4.1.9: + * `db:schema:load` and `db:structure:load` no longer purge the database + before loading the schema. This is left for the user to do. + `db:test:prepare` will still purge the database. + * Bring back `db:test:prepare` to synchronize the test database schema. + * Renaming a table in pg also renames the primary key index. + * Make it possible to access fixtures excluded by a `default_scope`. + * `timestamps` and `add_timestamps` passes additional options along. + (like `null: false`) + * Cache `CollectionAssociation#reader` proxies separately before and after +the owner has been saved so that the proxy is not cached without the +owner's id. + * Fix preloading of associations which unscope a default scope. + * Do not use `RENAME INDEX` syntax for MariaDB 10.0. + * Allow included modules to override association methods. + * Schema loading rake tasks (like `db:schema:load` and `db:setup`) maintain +the database connection to the current environment. + * `db:purge` with MySQL respects `Rails.env`. + * Fixed automatic maintaining test schema to properly handle sql structure +schema format. + * Fix has_many :through relation merging failing when dynamic conditions are +passed as a lambda with an arity of one. + +--- +Mon Nov 10 14:00:03 UTC 2014 - tboer...@suse.com + +- To get rails 4 running on SLE 11 i have switched the + rb_build_versions definition to rub21 as it is activated within + devel:languages:ruby. That way we can get running rails 4 on + SLE 11 too. + +--- +Sun Oct 12 17:02:33 UTC 2014 - co...@suse.com + +- updated to version 4.1.6, see CHANGELOG.md + +--- +Wed Jul 23 13:30:41 UTC 2014 - mrueck...@suse.com + +- - initial package + New: activerecord-4.2.0.gem gem2rpm.yml rubygem-activerecord-4_2.changes rubygem-activerecord-4_2.spec Other differences: -- ++ rubygem-activerecord-4_2.spec ++ # # spec file for package rubygem-activerecord-4_2 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # Name: rubygem-activerecord-4_2 Version:4.2.0 Release:0 %define mod_name activerecord %define mod_full_name %{mod_name}-%{version} %define mod_version_suffix -4_2 # MANUAL %if 0%{?suse_version} == 1110 %define rb_build_versions ruby21 %endif # /MANUAL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{ruby >= 1.9.3} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: ruby-macros >= 5 Url:http://www.rubyonrails.org Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Object-relational mapper framework (part of Rails) License:MIT Group: Development/Languages/Ruby %description Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in. %prep %build %install %gem_install \ -