Hello community,
here is the log from the commit of package rubygem-activesupport-5_0 for
openSUSE:Factory checked in at 2017-09-26 21:15:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activesupport-5_0 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-activesupport-5_0.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-activesupport-5_0"
Tue Sep 26 21:15:07 2017 rev:7 rq:523574 version:5.0.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-activesupport-5_0/rubygem-activesupport-5_0.changes
2017-07-10 11:06:48.665152671 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-activesupport-5_0.new/rubygem-activesupport-5_0.changes
2017-09-26 21:16:17.958564596 +0200
@@ -1,0 +2,35 @@
+Mon Sep 11 12:33:27 UTC 2017 - [email protected]
+
+- updated to version 5.0.6
+ see installed CHANGELOG.md
+
+ ## Rails 5.0.6 (September 07, 2017) ##
+
+ * No changes.
+
+
+ ## Rails 5.0.6.rc1 (August 24, 2017) ##
+
+ * No changes.
+
+-------------------------------------------------------------------
+Thu Aug 3 19:02:03 UTC 2017 - [email protected]
+
+- updated to version 5.0.5
+ see installed CHANGELOG.md
+
+ ## Rails 5.0.5 (July 31, 2017) ##
+
+ * No changes.
+
+
+ ## Rails 5.0.5.rc2 (July 25, 2017) ##
+
+ * No changes.
+
+
+ ## Rails 5.0.5.rc1 (July 19, 2017) ##
+
+ * No changes.
+
+-------------------------------------------------------------------
Old:
----
activesupport-5.0.4.gem
New:
----
activesupport-5.0.6.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-activesupport-5_0.spec ++++++
--- /var/tmp/diff_new_pack.PRBQif/_old 2017-09-26 21:16:18.626470695 +0200
+++ /var/tmp/diff_new_pack.PRBQif/_new 2017-09-26 21:16:18.630470133 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-activesupport-5_0
-Version: 5.0.4
+Version: 5.0.6
Release: 0
%define mod_name activesupport
%define mod_full_name %{mod_name}-%{version}
@@ -40,7 +40,7 @@
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
Url: http://rubyonrails.org
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: A toolkit of support libraries and Ruby core extensions
extracted
License: MIT
++++++ activesupport-5.0.4.gem -> activesupport-5.0.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-06-19 23:57:04.000000000 +0200
+++ new/CHANGELOG.md 2017-09-08 02:44:49.000000000 +0200
@@ -1,3 +1,28 @@
+## Rails 5.0.6 (September 07, 2017) ##
+
+* No changes.
+
+
+## Rails 5.0.6.rc1 (August 24, 2017) ##
+
+* No changes.
+
+
+## Rails 5.0.5 (July 31, 2017) ##
+
+* No changes.
+
+
+## Rails 5.0.5.rc2 (July 25, 2017) ##
+
+* No changes.
+
+
+## Rails 5.0.5.rc1 (July 19, 2017) ##
+
+* No changes.
+
+
## Rails 5.0.4 (June 19, 2017) ##
* No changes.
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_support/gem_version.rb
new/lib/active_support/gem_version.rb
--- old/lib/active_support/gem_version.rb 2017-06-19 23:57:04.000000000
+0200
+++ new/lib/active_support/gem_version.rb 2017-09-08 02:44:49.000000000
+0200
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 5
MINOR = 0
- TINY = 4
+ TINY = 6
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_support/hash_with_indifferent_access.rb
new/lib/active_support/hash_with_indifferent_access.rb
--- old/lib/active_support/hash_with_indifferent_access.rb 2017-06-19
23:57:04.000000000 +0200
+++ new/lib/active_support/hash_with_indifferent_access.rb 2017-09-08
02:44:49.000000000 +0200
@@ -211,7 +211,7 @@
# dup = hash.dup
# dup[:a][:c] = 'c'
#
- # hash[:a][:c] # => nil
+ # hash[:a][:c] # => "c"
# dup[:a][:c] # => "c"
def dup
self.class.new(self).tap do |new_hash|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_support/lazy_load_hooks.rb
new/lib/active_support/lazy_load_hooks.rb
--- old/lib/active_support/lazy_load_hooks.rb 2017-06-19 23:57:04.000000000
+0200
+++ new/lib/active_support/lazy_load_hooks.rb 2017-09-08 02:44:49.000000000
+0200
@@ -23,33 +23,53 @@
module LazyLoadHooks
def self.extended(base) # :nodoc:
base.class_eval do
- @load_hooks = Hash.new { |h,k| h[k] = [] }
- @loaded = Hash.new { |h,k| h[k] = [] }
+ @load_hooks = Hash.new { |h, k| h[k] = [] }
+ @loaded = Hash.new { |h, k| h[k] = [] }
+ @run_once = Hash.new { |h, k| h[k] = [] }
end
end
+ # Declares a block that will be executed when a Rails component is fully
+ # loaded.
+ #
+ # Options:
+ #
+ # * <tt>:yield</tt> - Yields the object that run_load_hooks to +block+.
+ # * <tt>:run_once</tt> - Given +block+ will run only once.
def on_load(name, options = {}, &block)
@loaded[name].each do |base|
- execute_hook(base, options, block)
+ execute_hook(name, base, options, block)
end
@load_hooks[name] << [block, options]
end
- def execute_hook(base, options, block)
- if options[:yield]
- block.call(base)
- else
- base.instance_eval(&block)
- end
- end
-
def run_load_hooks(name, base = Object)
@loaded[name] << base
@load_hooks[name].each do |hook, options|
- execute_hook(base, options, hook)
+ execute_hook(name, base, options, hook)
end
end
+
+ private
+
+ def with_execution_control(name, block, once)
+ unless @run_once[name].include?(block)
+ @run_once[name] << block if once
+
+ yield
+ end
+ end
+
+ def execute_hook(name, base, options, block)
+ with_execution_control(name, block, options[:run_once]) do
+ if options[:yield]
+ block.call(base)
+ else
+ base.instance_eval(&block)
+ end
+ end
+ end
end
extend LazyLoadHooks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_support/testing/autorun.rb
new/lib/active_support/testing/autorun.rb
--- old/lib/active_support/testing/autorun.rb 2017-06-19 23:57:04.000000000
+0200
+++ new/lib/active_support/testing/autorun.rb 2017-09-08 02:44:49.000000000
+0200
@@ -2,8 +2,4 @@
require 'minitest'
-if Minitest.respond_to?(:run_via) && !Minitest.run_via.set?
- Minitest.run_via = :ruby
-end
-
Minitest.autorun
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-06-19 23:57:04.000000000 +0200
+++ new/metadata 2017-09-08 02:44:49.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: activesupport
version: !ruby/object:Gem::Version
- version: 5.0.4
+ version: 5.0.6
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2017-06-19 00:00:00.000000000 Z
+date: 2017-09-08 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: i18n
@@ -336,7 +336,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.6.12
+rubygems_version: 2.6.13
signing_key:
specification_version: 4
summary: A toolkit of support libraries and Ruby core extensions extracted
from the