Hello community,
here is the log from the commit of package rubygem-activemodel-5.2 for openSUSE:Factory checked in at 2019-11-30 10:39:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activemodel-5.2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-activemodel-5.2.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-activemodel-5.2"
Sat Nov 30 10:39:04 2019 rev:7 rq:751749 version:5.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-activemodel-5.2/rubygem-activemodel-5.2.changes 2019-04-01 12:36:11.349851183 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-activemodel-5.2.new.26869/rubygem-activemodel-5.2.changes 2019-11-30 10:40:37.732148785 +0100
@@ -1,0 +2,11 @@
+Thu Nov 28 12:55:07 UTC 2019 - Manuel Schnitzer
+
+- updated to version 5.2.4
+
+ * Type cast falsy boolean symbols on boolean attribute as false.
+
+ Fixes #35676.
+
+ *Ryuta Kamizono*
+
+-------------------------------------------------------------------
Old:
----
activemodel-5.2.3.gem
New:
----
activemodel-5.2.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-activemodel-5.2.spec ++++++
--- /var/tmp/diff_new_pack.s6nZav/_old 2019-11-30 10:40:38.428148701 +0100
+++ /var/tmp/diff_new_pack.s6nZav/_new 2019-11-30 10:40:38.432148700 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-activemodel-5.2
-Version: 5.2.3
+Version: 5.2.4
Release: 0
%define mod_name activemodel
%define mod_full_name %{mod_name}-%{version}
++++++ activemodel-5.2.3.gem -> activemodel-5.2.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2019-03-28 03:59:23.000000000 +0100
+++ new/CHANGELOG.md 2019-11-27 16:39:54.000000000 +0100
@@ -1,3 +1,12 @@
+## Rails 5.2.4 (November 27, 2019) ##
+
+* Type cast falsy boolean symbols on boolean attribute as false.
+
+ Fixes #35676.
+
+ *Ryuta Kamizono*
+
+
## Rails 5.2.3 (March 27, 2019) ##
* Fix date value when casting a multiparameter date hash to not convert
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_model/gem_version.rb new/lib/active_model/gem_version.rb
--- old/lib/active_model/gem_version.rb 2019-03-28 03:59:23.000000000 +0100
+++ new/lib/active_model/gem_version.rb 2019-11-27 16:39:54.000000000 +0100
@@ -9,7 +9,7 @@
module VERSION
MAJOR = 5
MINOR = 2
- TINY = 3
+ TINY = 4
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/active_model/type/boolean.rb new/lib/active_model/type/boolean.rb
--- old/lib/active_model/type/boolean.rb 2019-03-28 03:59:23.000000000 +0100
+++ new/lib/active_model/type/boolean.rb 2019-11-27 16:39:54.000000000 +0100
@@ -14,7 +14,16 @@
# - Empty strings are coerced to +nil+
# - All other values will be coerced to +true+
class Boolean < Value
- FALSE_VALUES = [false, 0, "0", "f", "F", "false", "FALSE", "off", "OFF"].to_set
+ FALSE_VALUES = [
+ false, 0,
+ "0", :"0",
+ "f", :f,
+ "F", :F,
+ "false", :false,
+ "FALSE", :FALSE,
+ "off", :off,
+ "OFF", :OFF,
+ ].to_set.freeze
def type # :nodoc:
:boolean
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-03-28 03:59:23.000000000 +0100
+++ new/metadata 2019-11-27 16:39:54.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: activemodel
version: !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2019-03-28 00:00:00.000000000 Z
+date: 2019-11-27 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
description: A toolkit for building modeling frameworks like Active Record. Rich support
for attributes, callbacks, validations, serialization, internationalization, and
testing.
@@ -101,8 +101,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.2.3/activemodel
- changelog_uri: https://github.com/rails/rails/blob/v5.2.3/activemodel/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.4/activemodel
+ changelog_uri: https://github.com/rails/rails/blob/v5.2.4/activemodel/CHANGELOG.md
post_install_message:
rdoc_options: []
require_paths:
@@ -118,7 +118,7 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.1
+rubygems_version: 3.0.3
signing_key:
specification_version: 4
summary: A toolkit for building modeling frameworks (part of Rails).