commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2020-09-14 12:29:14 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new.4249 (New) Package is "rubygem-spring" Mon Sep 14 12:29:14 2020 rev:19 rq:833966 version:2.1.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2019-07-08 16:41:18.144983535 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new.4249/rubygem-spring.changes 2020-09-14 12:30:19.825175255 +0200 @@ -1,0 +2,8 @@ +Sat Sep 12 12:10:35 UTC 2020 - Manuel Schnitzer + +- updated to version 2.1.1 + + * Avoid -I rubylibdir with default-gem bundler + * Start server process in directory where command was called + +--- Old: spring-2.1.0.gem New: spring-2.1.1.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.AfzDsV/_old 2020-09-14 12:30:23.309177476 +0200 +++ /var/tmp/diff_new_pack.AfzDsV/_new 2020-09-14 12:30:23.313177478 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-spring # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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.1.0 +Version:2.1.1 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url:https://github.com/rails/spring +URL:https://github.com/rails/spring Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Rails application preloader ++ spring-2.1.0.gem -> spring-2.1.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2019-06-14 21:37:30.0 +0200 +++ new/README.md 2020-08-25 02:27:48.0 +0200 @@ -232,6 +232,7 @@ * [spring-commands-testunit](https://github.com/jonleighton/spring-commands-testunit) - useful for running `Test::Unit` tests on Rails 3, since only Rails 4 allows you to use `rake test path/to/test` to run a particular test/directory. +* [spring-commands-parallel-tests](https://github.com/DocSpring/spring-commands-parallel-tests) - Adds the `parallel_*` commands from [`parallel_tests`](https://github.com/grosser/parallel_tests). * [spring-commands-teaspoon](https://github.com/alejandrobabio/spring-commands-teaspoon.git) * [spring-commands-m](https://github.com/gabrieljoelc/spring-commands-m.git) * [spring-commands-rubocop](https://github.com/p0deje/spring-commands-rubocop) 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 2019-06-14 21:37:30.0 +0200 +++ new/lib/spring/application.rb 2020-08-25 02:27:48.0 +0200 @@ -172,6 +172,11 @@ end end + # Ensure we boot the process in the directory the command was called from, + # not from the directory Spring started in + original_dir = Dir.pwd + Dir.chdir(env['PWD'] || original_dir) + pid = fork { Process.setsid IGNORE_SIGNALS.each { |sig| trap(sig, "DEFAULT") } @@ -237,6 +242,7 @@ # (i.e. to prevent `spring rake -T | grep db` from hanging forever), # even when exception is raised before forking (i.e. preloading). reset_streams + Dir.chdir(original_dir) end def terminate diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/application_manager.rb new/lib/spring/application_manager.rb --- old/lib/spring/application_manager.rb 2019-06-14 21:37:30.0 +0200 +++ new/lib/spring/application_manager.rb 2020-08-25 02:27:48.0 +0200 @@ -94,6 +94,7 @@ @child, child_socket = UNIXSocket.pair Bundler.with_original_env do +bundler_dir = File.expand_path("../..", $LOADED_FEATURES.grep(/bundler\/setup\.rb$/).first) @pid = Process.spawn( { "RAILS_ENV" => app_env, @@ -102,7 +103,7 @@ "SPRING_PRELOAD" => preload ? "1" : "0" }, "ruby", - "-I",
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2019-07-08 15:12:39 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new.4615 (New) Package is "rubygem-spring" Mon Jul 8 15:12:39 2019 rev:18 rq:713998 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2017-06-08 15:00:19.725669366 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new.4615/rubygem-spring.changes 2019-07-08 16:41:18.144983535 +0200 @@ -1,0 +2,12 @@ +Mon Jul 8 07:57:48 UTC 2019 - Manuel Schnitzer + +- updated to version 2.1.0 + + * Add explicit support for Rails 6 (no changes were needed) + * Drop support to Ruby 1.9, 2.0, 2.1, and 2.3 + * Fix binstubs not being replaced when their quoting style was changed (#534) + * Preserve comments right after the shebang line which might include magic comments such as `frozen_string_literal: true` + * Fix binstub failures when Bundler's `BUNDLE_APP_CONFIG` environment variable is present (#545) + * Properly suspend and resume on ctrl-z TSTP and CONT (#361) + +--- Old: spring-2.0.2.gem New: spring-2.1.0.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.QjSp4G/_old 2019-07-08 16:41:18.620984210 +0200 +++ /var/tmp/diff_new_pack.QjSp4G/_new 2019-07-08 16:41:18.624984216 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-spring # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,17 +24,17 @@ # Name: rubygem-spring -Version:2.0.2 +Version:2.1.0 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby >= 2.4.0} BuildRequires: %{rubygem gem2rpm} -BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url:https://github.com/rails/spring -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Rails application preloader License:MIT ++ spring-2.0.2.gem -> spring-2.1.0.gem ++ 1726 lines of diff (skipped)
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2017-06-08 15:00:19 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is "rubygem-spring" Thu Jun 8 15:00:19 2017 rev:17 rq:497678 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2017-04-11 09:30:57.353496410 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2017-06-08 15:00:19.725669366 +0200 @@ -1,0 +2,6 @@ +Tue May 23 10:23:08 UTC 2017 - co...@suse.com + +- updated to version 2.0.2 + no changelog found + +--- Old: spring-2.0.1.gem New: spring-2.0.2.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.kiAkHs/_old 2017-06-08 15:00:20.821514707 +0200 +++ /var/tmp/diff_new_pack.kiAkHs/_new 2017-06-08 15:00:20.825514143 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:2.0.1 +Version:2.0.2 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-2.0.1.gem -> spring-2.0.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt --- old/LICENSE.txt 2017-01-21 15:35:15.0 +0100 +++ new/LICENSE.txt 2017-05-21 22:04:22.0 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2012-2016 Jon Leighton +Copyright (c) 2012-2017 Jon Leighton MIT License 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 2017-01-21 15:35:15.0 +0100 +++ new/lib/spring/application.rb 2017-05-21 22:04:22.0 +0200 @@ -66,7 +66,17 @@ def start_watcher @watcher = Spring.watcher - @watcher.on_stale { state! :watcher_stale } + + @watcher.on_stale do +state! :watcher_stale + end + + if @watcher.respond_to? :on_debug +@watcher.on_debug do |message| + spring_env.log "[watcher:#{app_env}] #{message}" +end + end + @watcher.start end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/test/application_generator.rb new/lib/spring/test/application_generator.rb --- old/lib/spring/test/application_generator.rb2017-01-21 15:35:15.0 +0100 +++ new/lib/spring/test/application_generator.rb2017-05-21 22:04:22.0 +0200 @@ -92,6 +92,11 @@ build_and_install_gems +# TO prevent nokogiri install error in application.bundle. +if RUBY_VERSION < "2.1.0" + append_to_file(application.gemfile, "gem 'nokogiri', '~> 1.6.8'") +end + application.bundle FileUtils.rm_rf application.path("bin") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/test/watcher_test.rb new/lib/spring/test/watcher_test.rb --- old/lib/spring/test/watcher_test.rb 2017-01-21 15:35:15.0 +0100 +++ new/lib/spring/test/watcher_test.rb 2017-05-21 22:04:22.0 +0200 @@ -162,6 +162,33 @@ watcher.add './foobar' assert watcher.files.empty? end + + test "add symlink" do +File.write("#{dir}/bar", "bar") +File.symlink("#{dir}/bar", "#{dir}/foo") +watcher.add './foo' +assert_equal ["#{dir}/bar"], watcher.files.to_a + end + + test "add dangling symlink" do +File.symlink("#{dir}/bar", "#{dir}/foo") +watcher.add './foo' +assert watcher.files.empty? + end + + test "add directory with dangling symlink" do +subdir = "#{@dir}/subdir" +FileUtils.mkdir(subdir) +File.symlink("dangling", "#{subdir}/foo") + +watcher.add subdir +assert_not_stale + +# Adding a new file should mark as stale despite the dangling symlink. +File.write("#{subdir}/new-file", "new") +watcher.check_stale +assert_stale + end end end end 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 2017-01-21 15:35:15.0 +0100 +++ new/lib/spring/version.rb 2017-05-21 22:04:22.0 +0200 @@ -1,3 +1,3 @@ module Spring - VERSION = "2.0.1" + VERSION = "2.0.2" end diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit rubygem-spring for openSUSE:Factory
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.0 +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 - co...@suse.com + +- 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.0 +0200 +++ new/lib/spring/application.rb 2017-01-21 15:35:15.0 +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.rb2016-10-01 20:48:52.0 +0200 +++ new/lib/spring/client/binstub.rb2017-01-21 15:35:15.0 +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.0 +0200 +++ new/lib/spring/test/acceptance_test.rb 2017-01-21 15:35:15.0 +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.0 +0200 +++ new/lib/spring/version.rb 2017-01-21 15:35:15.0 +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/metadata2016-10-01 20:48:52.0 +0200 +++ new/metadata2017-01-21 15:35:15.0 +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.0 Z
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2016-10-10 16:22:51 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is "rubygem-spring" Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2016-07-21 07:57:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2016-10-10 16:22:52.0 +0200 @@ -1,0 +2,6 @@ +Sun Oct 2 05:08:38 UTC 2016 - co...@suse.com + +- updated to version 2.0.0 + no changelog found + +--- Old: spring-1.7.2.gem New: spring-2.0.0.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.KwOlqq/_old 2016-10-10 16:22:54.0 +0200 +++ /var/tmp/diff_new_pack.KwOlqq/_new 2016-10-10 16:22:54.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.7.2 +Version:2.0.0 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.7.2.gem -> spring-2.0.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-07-01 19:16:53.0 +0200 +++ new/README.md 2016-10-01 20:48:52.0 +0200 @@ -17,7 +17,8 @@ ## Compatibility * Ruby versions: MRI 1.9.3, MRI 2.0, MRI 2.1, MRI 2.2 -* Rails versions: 4.0+ (in Rails 4.1 and up Spring is included by default) +* Rails versions: 4.2, 5.0 (Spring is installed by default when you do + `rails new` to generate your application) Spring makes extensive use of `Process.fork`, so won't be able to provide a speed up on platforms which don't support forking (Windows, JRuby). 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-07-01 19:16:53.0 +0200 +++ new/lib/spring/application.rb 2016-10-01 20:48:52.0 +0200 @@ -192,7 +192,6 @@ } disconnect_database - reset_streams log "forked #{pid}" manager.puts pid @@ -209,6 +208,11 @@ client.puts(1) if pid client.close +ensure + # Redirect STDOUT and STDERR to prevent from keeping the original FDs + # (i.e. to prevent `spring rake -T | grep db` from hanging forever), + # even when exception is raised before forking (i.e. preloading). + reset_streams end def terminate @@ -292,8 +296,11 @@ PTY.open do |master, slave| [STDOUT, STDERR, STDIN].each { |s| s.reopen slave } Thread.new { master.read } -yield -reset_streams +begin + yield +ensure + reset_streams +end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/binstub.rb new/lib/spring/binstub.rb --- old/lib/spring/binstub.rb 2016-07-01 19:16:53.0 +0200 +++ new/lib/spring/binstub.rb 2016-10-01 20:48:52.0 +0200 @@ -1,6 +1,26 @@ command = File.basename($0) bin_path = File.expand_path("../../../bin/spring", __FILE__) +# When we run a command which does not go through Spring (e.g. DISABLE_SPRING +# is used, or we just call 'rails' or something) then we get this warning from +# Rubygems: +# +# WARN: Unresolved specs during Gem::Specification.reset: activesupport (<= 5.1, >= 4.2) +# WARN: Clearing out unresolved specs. +# Please report a bug if this causes problems. +# +# This happens due to our dependency on activesupport, when Bundler.setup gets +# called. We don't actually *use* the dependency; it is purely there to +# restrict the Rails version that we're compatible with. +# +# When the warning is shown, Rubygems just does the below. +# Therefore, by doing it ourselves here, we can avoid the warning. +if Gem::Specification.respond_to?(:unresolved_deps) + Gem::Specification.unresolved_deps.clear +else + Gem.unresolved_deps.clear +end + if command == "spring" load bin_path else 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.rb2016-07-01 19:16:53.0 +0200 +++ new/lib/spring/client/binstub.rb2016-10-01 20:48:52.0 +0200 @@ -23,10 +23,6 @@ # binstub from the application process. Which means that in the application # process
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2016-07-21 07:57:12 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is "rubygem-spring" Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2016-04-28 16:56:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2016-07-21 07:57:14.0 +0200 @@ -1,0 +2,6 @@ +Sat Jul 2 05:36:03 UTC 2016 - co...@suse.com + +- updated to version 1.7.2 + no changelog found + +--- Old: spring-1.7.1.gem New: spring-1.7.2.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.MWRz28/_old 2016-07-21 07:57:15.0 +0200 +++ /var/tmp/diff_new_pack.MWRz28/_new 2016-07-21 07:57:15.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.7.1 +Version:1.7.2 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.7.1.gem -> spring-1.7.2.gem ++ 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-04-11 15:53:04.0 +0200 +++ new/lib/spring/application.rb 2016-07-01 19:16:53.0 +0200 @@ -306,7 +306,7 @@ @mutex.synchronize { @waiting << pid } # Wait in a separate thread so we can run multiple commands at once - Thread.new { + Spring.failsafe_thread { begin _, status = Process.wait2 pid log "#{pid} exited with #{status.exitstatus}" @@ -320,7 +320,7 @@ end } - Thread.new { + Spring.failsafe_thread { while signal = client.gets.chomp begin Process.kill(signal, -Process.getpgid(pid)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/application_manager.rb new/lib/spring/application_manager.rb --- old/lib/spring/application_manager.rb 2016-04-11 15:53:04.0 +0200 +++ new/lib/spring/application_manager.rb 2016-07-01 19:16:53.0 +0200 @@ -116,7 +116,7 @@ def start_wait_thread(pid, child) Process.detach(pid) - Thread.new { + Spring.failsafe_thread { # The recv can raise an ECONNRESET, killing the thread, but that's ok # as if it does we're no longer interested in the child loop do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/boot.rb new/lib/spring/boot.rb --- old/lib/spring/boot.rb 2016-04-11 15:53:04.0 +0200 +++ new/lib/spring/boot.rb 2016-07-01 19:16:53.0 +0200 @@ -6,3 +6,5 @@ require "spring/process_title_updater" require "spring/json" require "spring/watcher" +require "spring/failsafe_thread" + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/client/run.rb new/lib/spring/client/run.rb --- old/lib/spring/client/run.rb2016-04-11 15:53:04.0 +0200 +++ new/lib/spring/client/run.rb2016-07-01 19:16:53.0 +0200 @@ -7,7 +7,7 @@ class Run < Command FORWARDED_SIGNALS = %w(INT QUIT USR1 USR2 INFO WINCH) & Signal.list.keys CONNECT_TIMEOUT = 1 - BOOT_TIMEOUT = 10 + BOOT_TIMEOUT = 20 attr_reader :server diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/failsafe_thread.rb new/lib/spring/failsafe_thread.rb --- old/lib/spring/failsafe_thread.rb 1970-01-01 01:00:00.0 +0100 +++ new/lib/spring/failsafe_thread.rb 2016-07-01 19:16:53.0 +0200 @@ -0,0 +1,14 @@ +require 'thread' + +module Spring + class << self +def failsafe_thread + Thread.new { +begin + yield +rescue +end + } +end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/process_title_updater.rb new/lib/spring/process_title_updater.rb --- old/lib/spring/process_title_updater.rb 2016-04-11 15:53:04.0 +0200 +++ new/lib/spring/process_title_updater.rb 2016-07-01 19:16:53.0 +0200 @@ -10,7 +10,7 @@ def self.run() updater = new() - Thread.new { + Spring.failsafe_thread { $0 = updater.value loop { $0 = updater.next } } diff -urN
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2016-04-28 16:53:40 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is "rubygem-spring" Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2015-12-14 10:14:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2016-04-28 16:56:44.0 +0200 @@ -1,0 +2,36 @@ +Tue Apr 12 04:32:48 UTC 2016 - co...@suse.com + +- updated to version 1.7.1 + no changelog found + +--- +Mon Apr 11 04:36:47 UTC 2016 - co...@suse.com + +- updated to version 1.7.0 + no changelog found + +--- +Sat Feb 27 05:54:01 UTC 2016 - co...@suse.com + +- updated to version 1.6.4 + no changelog found + +--- +Fri Feb 5 05:44:28 UTC 2016 - co...@suse.com + +- updated to version 1.6.3 + no changelog found + +--- +Thu Jan 21 05:49:49 UTC 2016 - co...@suse.com + +- updated to version 1.6.2 + no changelog found + +--- +Tue Dec 15 05:33:53 UTC 2015 - co...@suse.com + +- updated to version 1.6.0 + no changelog found + +--- Old: spring-1.5.0.gem New: spring-1.7.1.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.DwdTmk/_old 2016-04-28 16:56:45.0 +0200 +++ /var/tmp/diff_new_pack.DwdTmk/_new 2016-04-28 16:56:45.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-spring # -# 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-spring -Version:1.5.0 +Version:1.7.1 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.5.0.gem -> spring-1.7.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt --- old/LICENSE.txt 2015-11-30 17:32:44.0 +0100 +++ new/LICENSE.txt 2016-04-11 15:53:04.0 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2012 Jon Leighton +Copyright (c) 2012-2016 Jon Leighton MIT License @@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-11-30 17:32:44.0 +0100 +++ new/README.md 2016-04-11 15:53:04.0 +0200 @@ -16,7 +16,7 @@ ## Compatibility -* Ruby versions: MRI 1.9.3, MRI 2.0, MRI 2.1 +* Ruby versions: MRI 1.9.3, MRI 2.0, MRI 2.1, MRI 2.2 * Rails versions: 4.0+ (in Rails 4.1 and up Spring is included by default) Spring makes extensive use of `Process.fork`, so won't be able to @@ -73,6 +73,7 @@ ``` $ time bin/rake test test/controllers/posts_controller_test.rb +Running via Spring preloader in process 2734 Run options: # Running tests: @@ -103,6 +104,7 @@ ``` $ time bin/rake test test/controllers/posts_controller_test.rb +Running via Spring preloader in process 8352 Run options: # Running tests: @@ -147,6 +149,7 @@ ``` $ bin/rake routes +Running via Spring preloader in process 2363 posts GET/posts(.:format) posts#index POST /posts(.:format) posts#create new_post GET/posts/new(.:format) posts#new @@ -287,6 +290,13 @@ So to avoid this problem, don't save off references to application constants in your initialization code. +## Using Spring with a containerized development environment + +As of Spring 1.7, there is some support for doing this. See [this +example +repository](https://github.com/jonleighton/spring-docker-example) for +information about how to do it with [Docker](https://www.docker.com/). + ## Configuration Spring will read `~/.spring.rb` and `config/spring.rb`
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2015-12-14 10:14:02 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is "rubygem-spring" Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2015-09-27 08:38:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2015-12-14 10:14:03.0 +0100 @@ -1,0 +2,18 @@ +Tue Dec 1 05:32:02 UTC 2015 - co...@suse.com + +- updated to version 1.5.0 + no changelog found + +--- +Mon Nov 23 05:32:22 UTC 2015 - co...@suse.com + +- updated to version 1.4.4 + no changelog found + +--- +Wed Nov 11 05:33:16 UTC 2015 - co...@suse.com + +- updated to version 1.4.1 + no changelog found + +--- Old: spring-1.4.0.gem New: spring-1.5.0.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.5AUnrN/_old 2015-12-14 10:14:04.0 +0100 +++ /var/tmp/diff_new_pack.5AUnrN/_new 2015-12-14 10:14:04.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.4.0 +Version:1.5.0 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.4.0.gem -> spring-1.5.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-09-12 23:24:58.0 +0200 +++ new/README.md 2015-11-30 17:32:44.0 +0100 @@ -48,7 +48,7 @@ ``` ruby begin - load File.expand_path("../spring", __FILE__) + load File.expand_path('../spring', __FILE__) rescue LoadError end ``` @@ -227,6 +227,8 @@ running `Test::Unit` tests on Rails 3, since only Rails 4 allows you to use `rake test path/to/test` to run a particular test/directory. * [spring-commands-teaspoon](https://github.com/alejandrobabio/spring-commands-teaspoon.git) +* [spring-commands-m](https://github.com/gabrieljoelc/spring-commands-m.git) +* [spring-commands-rubocop](https://github.com/p0deje/spring-commands-rubocop) ## Use without adding to bundle @@ -294,7 +296,7 @@ projects without having to be added to the project's Gemfile, require them in your `~/.spring.rb`. -`config/spring_client.rb` is also loaded before bundler and before a +`config/spring_client.rb` is also loaded before bundler and before a server process is started, it can be used to add new top-level commands. ### Application root Files old/checksums.yaml.gz and new/checksums.yaml.gz differ 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.rb2015-09-12 23:24:58.0 +0200 +++ new/lib/spring/client/binstub.rb2015-11-30 17:32:44.0 +0100 @@ -13,8 +13,9 @@ # should cause the "unsprung" version of the command to run. LOADER = < e + raise unless e.message.include?('spring') end CODE @@ -33,19 +34,26 @@ # It gets overwritten when you run the `spring binstub` command. unless defined?(Spring) - require "rubygems" - require "bundler" + require 'rubygems' + require 'bundler' if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^(?: )*spring \((.*?)\)$.*?^$/m)) -Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq } -gem "spring", match[1] -require "spring/binstub" +Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq } +gem 'spring', match[1] +require 'spring/binstub' end end CODE OLD_BINSTUB = %{if !Process.respond_to?(:fork) || Gem::Specification.find_all_by_name("spring").empty?} + BINSTUB_VARIATIONS = Regexp.union [ +%{begin\n load File.expand_path("../spring", __FILE__)\nrescue LoadError\nend\n}, +%{begin\n load File.expand_path('../spring', __FILE__)\nrescue LoadError\nend\n}, +%{begin\n spring_bin_path = File.expand_path('../spring', __FILE__)\n load spring_bin_path\nrescue LoadError => e\n raise unless e.message.end_with? spring_bin_path, 'spring/binstub'\nend\n}, +LOADER + ] + class Item attr_reader :command, :existing @@ -72,8 +80,12 @@ fallback = nil if fallback.include?("exec") generate(fallback) status "upgraded" -elsif existing =~ /load .*spring/ +elsif
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2015-09-27 08:39:30 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is "rubygem-spring" Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2015-05-10 10:47:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2015-09-27 08:38:51.0 +0200 @@ -1,0 +2,6 @@ +Sun Sep 13 04:33:01 UTC 2015 - co...@suse.com + +- updated to version 1.4.0 + no changelog found + +--- Old: spring-1.3.6.gem New: spring-1.4.0.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.4t9GKD/_old 2015-09-27 08:38:52.0 +0200 +++ /var/tmp/diff_new_pack.4t9GKD/_new 2015-09-27 08:38:52.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.3.6 +Version:1.4.0 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url:http://github.com/rails/spring +Url:https://github.com/rails/spring Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Rails application preloader @@ -42,7 +42,7 @@ PreReq: update-alternatives %description -Rails application preloader. +Preloads your application so things like console, rake and tests run faster. %prep ++ spring-1.3.6.gem -> spring-1.4.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-05-08 17:35:36.0 +0200 +++ new/README.md 2015-09-12 23:24:58.0 +0200 @@ -294,6 +294,9 @@ projects without having to be added to the project's Gemfile, require them in your `~/.spring.rb`. +`config/spring_client.rb` is also loaded before bundler and before a +server process is started, it can be used to add new top-level commands. + ### Application root Spring must know how to find your Rails application. If you have a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/spring new/bin/spring --- old/bin/spring 2015-05-08 17:35:36.0 +0200 +++ new/bin/spring 2015-09-12 23:24:58.0 +0200 @@ -43,6 +43,7 @@ end end -$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) +lib = File.expand_path("../../lib", __FILE__) +$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) # enable local development require 'spring/client' Spring::Client.run(ARGV) Files old/checksums.yaml.gz and new/checksums.yaml.gz differ 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.rb2015-05-08 17:35:36.0 +0200 +++ new/lib/spring/client/binstub.rb2015-09-12 23:24:58.0 +0200 @@ -36,7 +36,7 @@ require "rubygems" require "bundler" - if match = Bundler.default_lockfile.read.match(/^GEM$.*?^(?: )*spring \((.*?)\)$.*?^$/m) + if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^(?: )*spring \((.*?)\)$.*?^$/m)) Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq } gem "spring", match[1] require "spring/binstub" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/client.rb new/lib/spring/client.rb --- old/lib/spring/client.rb2015-05-08 17:35:36.0 +0200 +++ new/lib/spring/client.rb2015-09-12 23:24:58.0 +0200 @@ -14,12 +14,14 @@ module Client COMMANDS = { "help" => Client::Help, + "-h"=> Client::Help, + "--help"=> Client::Help, "binstub" => Client::Binstub, "stop" => Client::Stop, "status"=> Client::Status, "rails" => Client::Rails, "-v"=> Client::Version, - "--version" => Client::Version + "--version" => Client::Version, } def self.run(args) @@ -36,3 +38,9 @@ end end end + +# allow users to add hooks that do not run in the server +# or modify start/stop +if File.exist?("config/spring_client.rb") + require "./config/spring_client.rb" +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/test/acceptance_test.rb new/lib/spring/test/acceptance_test.rb
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2015-05-10 10:47:26 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is rubygem-spring Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2015-05-02 17:45:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2015-05-10 10:47:27.0 +0200 @@ -1,0 +2,6 @@ +Sat May 9 04:29:57 UTC 2015 - co...@suse.com + +- updated to version 1.3.6 + no changelog found + +--- Old: spring-1.3.5.gem New: spring-1.3.6.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.NttcUz/_old 2015-05-10 10:47:27.0 +0200 +++ /var/tmp/diff_new_pack.NttcUz/_new 2015-05-10 10:47:27.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.3.5 +Version:1.3.6 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.3.5.gem - spring-1.3.6.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-04-29 21:51:47.0 +0200 +++ new/README.md 2015-05-08 17:35:36.0 +0200 @@ -17,7 +17,7 @@ ## Compatibility * Ruby versions: MRI 1.9.3, MRI 2.0, MRI 2.1 -* Rails versions: 3.2, 4.0 (in Rails 4.1 and up Spring is included by default) +* Rails versions: 4.0+ (in Rails 4.1 and up Spring is included by default) Spring makes extensive use of `Process.fork`, so won't be able to provide a speed up on platforms which don't support forking (Windows, JRuby). @@ -67,7 +67,7 @@ ### Usage For this walkthrough I've generated a new Rails application, and run -`rails generate scaffold posts name:string`. +`rails generate scaffold post name:string`. Let's run a test: Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/client/run.rb new/lib/spring/client/run.rb --- old/lib/spring/client/run.rb2015-04-29 21:51:47.0 +0200 +++ new/lib/spring/client/run.rb2015-05-08 17:35:36.0 +0200 @@ -68,8 +68,7 @@ pid = Process.spawn( gem_env, ruby, - -r, spring/server, - -e, Spring::Server.boot + -e, gem 'spring', '#{Spring::VERSION}'; require 'spring/server'; Spring::Server.boot ) until env.socket_path.exist? 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 2015-04-29 21:51:47.0 +0200 +++ new/lib/spring/version.rb 2015-05-08 17:35:36.0 +0200 @@ -1,3 +1,3 @@ module Spring - VERSION = 1.3.5 + VERSION = 1.3.6 end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2015-04-29 21:51:47.0 +0200 +++ new/metadata2015-05-08 17:35:36.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: spring version: !ruby/object:Gem::Version - version: 1.3.5 + version: 1.3.6 platform: ruby authors: - Jon Leighton autorequire: bindir: bin cert_chain: [] -date: 2015-04-29 00:00:00.0 Z +date: 2015-05-08 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -109,3 +109,4 @@ specification_version: 4 summary: Rails application preloader test_files: [] +has_rdoc:
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2015-03-01 14:47:22 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is rubygem-spring Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2015-02-16 22:12:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2015-03-01 14:47:49.0 +0100 @@ -1,0 +2,7 @@ +Fri Feb 27 05:32:18 UTC 2015 - co...@suse.com + +- updated to version 1.3.3 + * Fix yet another problem with loading spring which seems to affect + some/all rbenv users. Issue #390. + +--- @@ -4,0 +12 @@ + * Fix another problem with gems bundled from git repositories. Old: spring-1.3.2.gem New: spring-1.3.3.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.4IOhz3/_old 2015-03-01 14:47:49.0 +0100 +++ /var/tmp/diff_new_pack.4IOhz3/_new 2015-03-01 14:47:49.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.3.2 +Version:1.3.3 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.3.2.gem - spring-1.3.3.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2015-02-14 12:12:45.0 +0100 +++ new/CHANGELOG.md2015-02-26 19:21:48.0 +0100 @@ -1,3 +1,8 @@ +## 1.3.3 + +* Fix yet another problem with loading spring which seems to affect + some/all rbenv users. Issue #390. + ## 1.3.2 * Fix another problem with gems bundled from git repositories. This diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-02-14 12:12:45.0 +0100 +++ new/README.md 2015-02-26 19:21:48.0 +0100 @@ -72,7 +72,7 @@ Let's run a test: ``` -$ time bin/rake test test/functional/posts_controller_test.rb +$ time bin/rake test test/controllers/posts_controller_test.rb Run options: # Running tests: @@ -102,7 +102,7 @@ The next run is faster: ``` -$ time bin/rake test test/functional/posts_controller_test.rb +$ time bin/rake test test/controllers/posts_controller_test.rb Run options: # Running tests: Files old/checksums.yaml.gz and new/checksums.yaml.gz differ 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.rb2015-02-14 12:12:45.0 +0100 +++ new/lib/spring/client/binstub.rb2015-02-26 19:21:48.0 +0100 @@ -37,7 +37,7 @@ require bundler if match = Bundler.default_lockfile.read.match(/^GEM$.*?^(?: )*spring \((.*?)\)$.*?^$/m) -Gem.paths = { GEM_PATH = Bundler.bundle_path.to_s } +Gem.paths = { GEM_PATH = [Bundler.bundle_path.to_s, *Gem.path].uniq } gem spring, match[1] require spring/binstub end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/client/run.rb new/lib/spring/client/run.rb --- old/lib/spring/client/run.rb2015-02-14 12:12:45.0 +0100 +++ new/lib/spring/client/run.rb2015-02-26 19:21:48.0 +0100 @@ -81,10 +81,10 @@ def gem_env bundle = Bundler.bundle_path.to_s -paths = ENV[GEM_PATH].to_s.split(File::PATH_SEPARATOR) +paths = Gem.path + ENV[GEM_PATH].to_s.split(File::PATH_SEPARATOR) { - GEM_PATH = [bundle, *paths].join(File::PATH_SEPARATOR), + GEM_PATH = [bundle, *paths].uniq.join(File::PATH_SEPARATOR), GEM_HOME = bundle } end 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 2015-02-14 12:12:45.0 +0100 +++ new/lib/spring/version.rb 2015-02-26 19:21:48.0 +0100 @@ -1,3 +1,3 @@ module Spring - VERSION = 1.3.2 + VERSION = 1.3.3 end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2015-02-14 12:12:45.0 +0100 +++ new/metadata2015-02-26 19:21:48.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: spring version: !ruby/object:Gem::Version - version: 1.3.2 + version: 1.3.3 platform: ruby authors: - Jon Leighton autorequire: bindir: bin cert_chain: [] -date:
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2015-02-16 22:12:35 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is rubygem-spring Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2015-02-13 08:35:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2015-02-16 22:12:36.0 +0100 @@ -1,0 +2,5 @@ +Sun Feb 15 05:30:10 UTC 2015 - co...@suse.com + +- updated to version 1.3.2 + +--- Old: spring-1.3.1.gem New: spring-1.3.2.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.Q37izu/_old 2015-02-16 22:12:36.0 +0100 +++ /var/tmp/diff_new_pack.Q37izu/_new 2015-02-16 22:12:36.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-spring -Version:1.3.1 +Version:1.3.2 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.3.1.gem - spring-1.3.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2015-02-09 22:35:20.0 +0100 +++ new/CHANGELOG.md2015-02-14 12:12:45.0 +0100 @@ -1,3 +1,8 @@ +## 1.3.2 + +* Fix another problem with gems bundled from git repositories. This + affected chruby and RVM users, and possibly others. See #383. + ## 1.3.1 * Fix a problem with gems bundled from a git repository, where the Files old/checksums.yaml.gz and new/checksums.yaml.gz differ 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.rb2015-02-09 22:35:20.0 +0100 +++ new/lib/spring/client/binstub.rb2015-02-14 12:12:45.0 +0100 @@ -29,18 +29,15 @@ SPRING = 'CODE' #!/usr/bin/env ruby -# This file loads spring without using Bundler, in order to be fast -# It gets overwritten when you run the `spring binstub` command +# This file loads spring without using Bundler, in order to be fast. +# It gets overwritten when you run the `spring binstub` command. unless defined?(Spring) require rubygems require bundler if match = Bundler.default_lockfile.read.match(/^GEM$.*?^(?: )*spring \((.*?)\)$.*?^$/m) -ENV[GEM_PATH] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR) -ENV[GEM_HOME] = nil -Gem.paths = ENV - +Gem.paths = { GEM_PATH = Bundler.bundle_path.to_s } gem spring, match[1] require spring/binstub end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/spring/client/run.rb new/lib/spring/client/run.rb --- old/lib/spring/client/run.rb2015-02-09 22:35:20.0 +0100 +++ new/lib/spring/client/run.rb2015-02-14 12:12:45.0 +0100 @@ -1,5 +1,6 @@ require rbconfig require socket +require bundler module Spring module Client @@ -64,10 +65,8 @@ def boot_server env.socket_path.unlink if env.socket_path.exist? -# The GEM_HOME handling is to work around a problem with spring binstubs -# generated prior to 1.3.0. pid = Process.spawn( - ENV[GEM_HOME] == ? { GEM_HOME = nil } : {}, + gem_env, ruby, -r, spring/server, -e, Spring::Server.boot @@ -80,6 +79,16 @@ end end + def gem_env +bundle = Bundler.bundle_path.to_s +paths = ENV[GEM_PATH].to_s.split(File::PATH_SEPARATOR) + +{ + GEM_PATH = [bundle, *paths].join(File::PATH_SEPARATOR), + GEM_HOME = bundle +} + end + def stop_server server.close @server = nil 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 2015-02-09 22:35:20.0 +0100 +++ new/lib/spring/version.rb 2015-02-14 12:12:45.0 +0100 @@ -1,3 +1,3 @@ module Spring - VERSION = 1.3.1 + VERSION = 1.3.2 end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2015-02-09 22:35:20.0 +0100 +++ new/metadata2015-02-14 12:12:45.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: spring version: !ruby/object:Gem::Version - version: 1.3.1 + version: 1.3.2 platform: ruby authors: - Jon
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2015-02-13 08:35:18 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is rubygem-spring Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2014-10-14 13:25:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2015-02-13 08:35:19.0 +0100 @@ -1,0 +2,33 @@ +Tue Feb 10 08:02:48 UTC 2015 - co...@suse.com + +- updated to version 1.3.1 + * Fix a problem with gems bundled from a git repository, where the + `bin/spring` was generated before 1.3.0. + + ## 1.3.0 + + * Automatically restart spring after new commands are added. This means + that you can add spring-commands-rspec to your Gemfile and then + immediately start using it, without having to run `spring stop`. + (Spring will effectively run `spring stop` for you.) + * Make app reloading work in apps which spew out lots of output on + startup (previously a buffer would fill up and cause the process to + hang). Issue #332. + * Make sure running `bin/spring` does not add an empty string to `Gem.path`. + Issues #297, #310. + * Fixed problem with `$0` including the command line args, which could + confuse commands which try to parse `$0`. This caused the + spring-commands-rspec to not work properly in some cases. Issue #369. + * Add OpenBSD compatibility for `spring status`. Issue #299. + * Rails 3.2 no longer officially supported (but it may continue to work) + + ## 1.2.0 + + * Accept -e and --environment options for `rails console`. + * Watch `config/secrets.yml` by default. #289 - @morgoth + * Change monkey-patched `Kernel.raise` from public to private (to match default Ruby behavior) #351 - @mattbrictson + * Let application_id also respect RUBY_VERSION for the use case of switching between Ruby versions for a given Rails app - @methodmissing + * Extract the 'listen' watcher to a separate `spring-watcher-listen` + gem. This allows it to be developed/maintained separately. + +--- Old: spring-1.1.3.gem New: spring-1.3.1.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.0fFKSd/_old 2015-02-13 08:35:20.0 +0100 +++ /var/tmp/diff_new_pack.0fFKSd/_new 2015-02-13 08:35:20.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-spring # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -16,8 +16,15 @@ # +# +# 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-spring -Version:1.1.3 +Version:1.3.1 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} ++ spring-1.1.3.gem - spring-1.3.1.gem ++ 2550 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2014-10-14 13:25:05 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is rubygem-spring Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2014-05-22 06:57:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2014-10-14 13:25:26.0 +0200 @@ -1,0 +2,5 @@ +Mon Oct 13 18:47:19 UTC 2014 - co...@suse.com + +- adapt to new rubygem packaging + +--- New: gem2rpm.yml Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.Wz8rBD/_old 2014-10-14 13:25:27.0 +0200 +++ /var/tmp/diff_new_pack.Wz8rBD/_new 2014-10-14 13:25:27.0 +0200 @@ -21,84 +21,32 @@ Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} -%define mod_branch -%{version} -%define mod_weight 10103 - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 3 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros = 5 BuildRequires: update-alternatives Url:http://github.com/rails/spring Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:Rails application preloader License:MIT Group: Development/Languages/Ruby PreReq: update-alternatives %description -Rails application preloader - -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. - -%package testsuite -Summary:Test suite for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description testsuite -Test::Unit or RSpec files, useful for developers. +Rails application preloader. %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -mv %{buildroot}%{_bindir}/spring{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/spring -ln -s %{_sysconfdir}/alternatives/spring %{buildroot}%{_bindir}/spring - -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md -ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE.txt %buildroot/%{_docdir}/%{name}/LICENSE.txt -ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md - -%post -/usr/sbin/update-alternatives --install \ -%{_bindir}/spring spring %{_bindir}/spring%{mod_branch} %{mod_weight} - -%preun -if [ $1 = 0 ] ; then -/usr/sbin/update-alternatives --remove spring %{_bindir}/spring%{mod_branch} -fi - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{_bindir}/spring%{mod_branch} -%{_bindir}/spring -%ghost %{_sysconfdir}/alternatives/spring -%{gem_base}/cache/%{mod_full_name}.gem -%{gem_base}/gems/%{mod_full_name}/ -%exclude %{gem_base}/gems/%{mod_full_name}/test -%{gem_base}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{gem_base}/doc - -%files testsuite -%defattr(-,root,root,-) -%{gem_base}/gems/%{mod_full_name}/test +%gem_install \ + --symlink-binaries \ + --doc-files=CHANGELOG.md LICENSE.txt README.md \ + -f + +%gem_packages %changelog ++ gem2rpm.yml ++ # --- # ## 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
commit rubygem-spring for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-spring for openSUSE:Factory checked in at 2014-05-22 06:57:53 Comparing /work/SRC/openSUSE:Factory/rubygem-spring (Old) and /work/SRC/openSUSE:Factory/.rubygem-spring.new (New) Package is rubygem-spring Changes: --- /work/SRC/openSUSE:Factory/rubygem-spring/rubygem-spring.changes 2014-04-14 20:49:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-spring.new/rubygem-spring.changes 2014-05-22 06:57:54.0 +0200 @@ -1,0 +2,9 @@ +Sun May 18 09:04:45 UTC 2014 - co...@suse.com + +- updated to version 1.1.3 + * The `rails runner` command no longer passes environment switches to + files which it runs. Issue #272. + * Various issues solved to do with termination / processes hanging around + longer than they should. Issue #290. + +--- Old: spring-1.1.2.gem New: spring-1.1.3.gem Other differences: -- ++ rubygem-spring.spec ++ --- /var/tmp/diff_new_pack.N2IaQM/_old 2014-05-22 06:57:55.0 +0200 +++ /var/tmp/diff_new_pack.N2IaQM/_new 2014-05-22 06:57:55.0 +0200 @@ -17,12 +17,12 @@ Name: rubygem-spring -Version:1.1.2 +Version:1.1.3 Release:0 %define mod_name spring %define mod_full_name %{mod_name}-%{version} %define mod_branch -%{version} -%define mod_weight 10102 +%define mod_weight 10103 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros = 3 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org