Hello community,
here is the log from the commit of package rubygem-activemodel-4_2 for
openSUSE:Factory checked in at 2015-03-25 21:05:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activemodel-4_2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-activemodel-4_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-activemodel-4_2"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-activemodel-4_2/rubygem-activemodel-4_2.changes
2015-02-16 21:08:55.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-activemodel-4_2.new/rubygem-activemodel-4_2.changes
2015-03-25 21:05:04.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Mar 23 11:20:01 UTC 2015 - [email protected]
+
+- updated to version 4.2.1, no changes
+
+-------------------------------------------------------------------
Old:
----
activemodel-4.2.0.gem
New:
----
activemodel-4.2.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-activemodel-4_2.spec ++++++
--- /var/tmp/diff_new_pack.oxJsrG/_old 2015-03-25 21:05:04.000000000 +0100
+++ /var/tmp/diff_new_pack.oxJsrG/_new 2015-03-25 21:05:04.000000000 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-activemodel-4_2
-Version: 4.2.0
+Version: 4.2.1
Release: 0
%define mod_name activemodel
%define mod_full_name %{mod_name}-%{version}
++++++ activemodel-4.2.0.gem -> activemodel-4.2.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2014-12-20 01:14:35.000000000 +0100
+++ new/CHANGELOG.md 2015-03-19 17:40:38.000000000 +0100
@@ -1,3 +1,10 @@
+## Rails 4.2.1 (March 19, 2014) ##
+
+* No changes *
+
+
+## Rails 4.2.0 (December 20, 2014) ##
+
* Passwords with spaces only allowed in `ActiveModel::SecurePassword`.
Presence validation can be used to restore old behavior.
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/dirty.rb
new/lib/active_model/dirty.rb
--- old/lib/active_model/dirty.rb 2014-12-20 01:14:35.000000000 +0100
+++ new/lib/active_model/dirty.rb 2015-03-19 17:40:38.000000000 +0100
@@ -53,10 +53,10 @@
# end
# end
#
- # A newly instantiated object is unchanged:
+ # A newly instantiated +Person+ object is unchanged:
#
- # person = Person.find_by(name: 'Uncle Bob')
- # person.changed? # => false
+ # person = Person.new
+ # person.changed? # => false
#
# Change the name:
#
@@ -72,8 +72,8 @@
# Save the changes:
#
# person.save
- # person.changed? # => false
- # person.name_changed? # => false
+ # person.changed? # => false
+ # person.name_changed? # => false
#
# Reset the changes:
#
@@ -85,20 +85,20 @@
#
# person.name = "Uncle Bob"
# person.rollback!
- # person.name # => "Bill"
- # person.name_changed? # => false
+ # person.name # => "Bill"
+ # person.name_changed? # => false
#
# Assigning the same value leaves the attribute unchanged:
#
# person.name = 'Bill'
- # person.name_changed? # => false
- # person.name_change # => nil
+ # person.name_changed? # => false
+ # person.name_change # => nil
#
# Which attributes have changed?
#
# person.name = 'Bob'
- # person.changed # => ["name"]
- # person.changes # => {"name" => ["Bill", "Bob"]}
+ # person.changed # => ["name"]
+ # person.changes # => {"name" => ["Bill", "Bob"]}
#
# If an attribute is modified in-place then make use of
# +[attribute_name]_will_change!+ to mark that the attribute is changing.
@@ -107,9 +107,9 @@
# not need to call +[attribute_name]_will_change!+ on Active Record models.
#
# person.name_will_change!
- # person.name_change # => ["Bill", "Bill"]
+ # person.name_change # => ["Bill", "Bill"]
# person.name << 'y'
- # person.name_change # => ["Bill", "Billy"]
+ # person.name_change # => ["Bill", "Billy"]
module Dirty
extend ActiveSupport::Concern
include ActiveModel::AttributeMethods
@@ -170,7 +170,7 @@
# Handle <tt>*_changed?</tt> for +method_missing+.
def attribute_changed?(attr, options = {}) #:nodoc:
- result = changed_attributes.include?(attr)
+ result = changes_include?(attr)
result &&= options[:to] == __send__(attr) if options.key?(:to)
result &&= options[:from] == changed_attributes[attr] if
options.key?(:from)
result
@@ -188,6 +188,11 @@
private
+ def changes_include?(attr_name)
+ attributes_changed_by_setter.include?(attr_name)
+ end
+ alias attribute_changed_by_setter? changes_include?
+
# Removes current changes and makes them accessible through
+previous_changes+.
def changes_applied # :doc:
@previously_changed = changes
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 2014-12-20 01:14:35.000000000 +0100
+++ new/lib/active_model/gem_version.rb 2015-03-19 17:40:38.000000000 +0100
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 4
MINOR = 2
- TINY = 0
+ TINY = 1
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_model/naming.rb
new/lib/active_model/naming.rb
--- old/lib/active_model/naming.rb 2014-12-20 01:14:35.000000000 +0100
+++ new/lib/active_model/naming.rb 2015-03-19 17:40:38.000000000 +0100
@@ -1,5 +1,6 @@
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/module/introspection'
+require 'active_support/core_ext/module/remove_method'
module ActiveModel
class Name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2014-12-20 01:14:35.000000000 +0100
+++ new/metadata 2015-03-19 17:40:38.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: activemodel
version: !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2014-12-20 00:00:00.000000000 Z
+date: 2015-03-19 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
- !ruby/object:Gem::Dependency
name: builder
requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.2.2
+rubygems_version: 2.4.5
signing_key:
specification_version: 4
summary: A toolkit for building modeling frameworks (part of Rails).
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.oxJsrG/_old 2015-03-25 21:05:04.000000000 +0100
+++ /var/tmp/diff_new_pack.oxJsrG/_new 2015-03-25 21:05:04.000000000 +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: |-
-# Requires: .....
-# :filelist: |-
-# /etc/apache2/conf.d/passenger.conf
-# :summary: Custom summary is optional
-# :description: |-
-# Custom description is optional
-#
-# bar
-# :post: |-
-# /bin/echo foo
-#
---
:version_suffix: '-4_2'
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]