Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2017-04-11 09:30:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-spring" Tue Apr 11 09:30:56 2017 rev:16 rq:456590 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2016-10-10 16:22:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2017-04-11 09:30:57.353496410 +0200 @@ -1,0 +2,6 @@ +Sun Jan 22 05:33:48 UTC 2017 - [email protected] + +- updated to version 2.0.1 + no changelog found + +------------------------------------------------------------------- Old: ---- spring-2.0.0.gem New: ---- spring-2.0.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-spring.spec ++++++ --- /var/tmp/diff_new_pack.jlTomZ/_old 2017-04-11 09:30:58.493335429 +0200 +++ /var/tmp/diff_new_pack.jlTomZ/_new 2017-04-11 09:30:58.497334864 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-spring # -# 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-spring -Version: 2.0.0 +Version: 2.0.1 Release: 0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++++++ spring-2.0.0.gem -> spring-2.0.1.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/application.rb new/lib/spring/application.rb --- old/lib/spring/application.rb 2016-10-01 20:48:52.000000000 +0200 +++ new/lib/spring/application.rb 2017-01-21 15:35:15.000000000 +0100 @@ -295,10 +295,11 @@ def with_pty PTY.open do |master, slave| [STDOUT, STDERR, STDIN].each { |s| s.reopen slave } - Thread.new { master.read } + reader_thread = Spring.failsafe_thread { master.read } begin yield ensure + reader_thread.kill reset_streams end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/client/binstub.rb new/lib/spring/client/binstub.rb --- old/lib/spring/client/binstub.rb 2016-10-01 20:48:52.000000000 +0200 +++ new/lib/spring/client/binstub.rb 2017-01-21 15:35:15.000000000 +0100 @@ -34,7 +34,8 @@ require 'bundler' lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) - if spring = lockfile.specs.detect { |spec| spec.name == "spring" } + spring = lockfile.specs.detect { |spec| spec.name == "spring" } + if spring Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path gem 'spring', spring.version require 'spring/binstub' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/test/acceptance_test.rb new/lib/spring/test/acceptance_test.rb --- old/lib/spring/test/acceptance_test.rb 2016-10-01 20:48:52.000000000 +0200 +++ new/lib/spring/test/acceptance_test.rb 2017-01-21 15:35:15.000000000 +0100 @@ -172,6 +172,14 @@ assert_success app.spring_test_command end + test "app gets reloaded even with abort_on_exception=true" do + assert_success app.spring_test_command + File.write(app.path("config/initializers/thread_config.rb"), "Thread.abort_on_exception = true") + + app.await_reload + assert_success app.spring_test_command + end + test "app recovers when a boot-level error is introduced" do config = app.application_config.read diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/version.rb new/lib/spring/version.rb --- old/lib/spring/version.rb 2016-10-01 20:48:52.000000000 +0200 +++ new/lib/spring/version.rb 2017-01-21 15:35:15.000000000 +0100 @@ -1,3 +1,3 @@ module Spring - VERSION = "2.0.0" + VERSION = "2.0.1" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2016-10-01 20:48:52.000000000 +0200 +++ new/metadata 2017-01-21 15:35:15.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: spring version: !ruby/object:Gem::Version - version: 2.0.0 + version: 2.0.1 platform: ruby authors: - Jon Leighton autorequire: bindir: bin cert_chain: [] -date: 2016-10-01 00:00:00.000000000 Z +date: 2017-01-21 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport
