Hello community,
here is the log from the commit of package rubygem-childprocess for
openSUSE:Factory checked in at 2019-11-13 13:27:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-childprocess (Old)
and /work/SRC/openSUSE:Factory/.rubygem-childprocess.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-childprocess"
Wed Nov 13 13:27:00 2019 rev:27 rq:747811 version:3.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-childprocess/rubygem-childprocess.changes
2019-07-22 12:20:35.595661174 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-childprocess.new.2990/rubygem-childprocess.changes
2019-11-13 13:27:02.275617031 +0100
@@ -1,0 +2,9 @@
+Tue Nov 12 16:40:34 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 3.0.0
+
+ * [#156](https://github.com/enkessler/childprocess/pull/156): Remove unused
`rubyforge_project` from gemspec
+ * [#160](https://github.com/enkessler/childprocess/pull/160): Remove
extension to conditionally install `ffi` gem on Windows platforms
+ * [#160](https://github.com/enkessler/childprocess/pull/160): Remove runtime
dependency on `rake` gem
+
+-------------------------------------------------------------------
Old:
----
childprocess-2.0.0.gem
New:
----
childprocess-3.0.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-childprocess.spec ++++++
--- /var/tmp/diff_new_pack.P38cdM/_old 2019-11-13 13:27:02.803617580 +0100
+++ /var/tmp/diff_new_pack.P38cdM/_new 2019-11-13 13:27:02.803617580 +0100
@@ -24,12 +24,12 @@
#
Name: rubygem-childprocess
-Version: 2.0.0
+Version: 3.0.0
Release: 0
%define mod_name childprocess
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{rubydevel >= 2.3.0}
+BuildRequires: %{ruby >= 2.3.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: http://github.com/enkessler/childprocess
@@ -51,7 +51,6 @@
%gem_install \
--doc-files="CHANGELOG.md LICENSE README.md" \
-f
-%gem_cleanup
%gem_packages
++++++ childprocess-2.0.0.gem -> childprocess-3.0.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2019-07-11 19:50:54.000000000 +0200
+++ new/.travis.yml 2019-09-20 15:31:04.000000000 +0200
@@ -3,7 +3,6 @@
- osx
rvm:
- - jruby-9.1.9.0
- rbx-3
- 2.3
- 2.4
@@ -33,7 +32,6 @@
matrix:
allow_failures:
- rvm: rbx-3
- - rvm: jruby-9.1.9.0
- rvm: ruby-head
- env: "CHILDPROCESS_POSIX_SPAWN=true"
include:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2019-07-11 19:50:54.000000000 +0200
+++ new/CHANGELOG.md 2019-09-20 15:31:04.000000000 +0200
@@ -1,3 +1,9 @@
+### Version 3.0.0 / 2019-09-20
+
+* [#156](https://github.com/enkessler/childprocess/pull/156)Remove unused
`rubyforge_project` from gemspec
+* [#160](https://github.com/enkessler/childprocess/pull/160): Remove extension
to conditionally install `ffi` gem on Windows platforms
+* [#160](https://github.com/enkessler/childprocess/pull/160): Remove runtime
dependency on `rake` gem
+
### Version 2.0.0 / 2019-07-11
* [#148](https://github.com/enkessler/childprocess/pull/148): Drop support for
Ruby 2.0, 2.1, and 2.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2019-07-11 19:50:54.000000000 +0200
+++ new/Gemfile 2019-09-20 15:31:04.000000000 +0200
@@ -3,6 +3,9 @@
# Specify your gem's dependencies in child_process.gemspec
gemspec
+# Used for local development/testing only
+gem 'rake'
+
if RUBY_VERSION =~ /^1\./
gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after
this version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2019-07-11 19:50:54.000000000 +0200
+++ new/README.md 2019-09-20 15:31:04.000000000 +0200
@@ -16,6 +16,8 @@
* Ruby 2.3+, JRuby 9+
+Windows users **must** ensure the `ffi` gem (`>= 1.0.11`) is installed in
order to use ChildProcess.
+
# Usage
The object returned from `ChildProcess.build` will implement
`ChildProcess::AbstractProcess`.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/childprocess.gemspec new/childprocess.gemspec
--- old/childprocess.gemspec 2019-07-11 19:50:54.000000000 +0200
+++ new/childprocess.gemspec 2019-09-20 15:31:04.000000000 +0200
@@ -12,7 +12,6 @@
s.summary = %q{A simple and reliable solution for controlling external
programs running in the background on any Ruby / OS combination.}
s.description = %q{This gem aims at being a simple and reliable solution for
controlling external programs running in the background on any Ruby / OS
combination.}
- s.rubyforge_project = "childprocess"
s.license = 'MIT'
s.files = `git ls-files`.split("\n")
@@ -24,9 +23,4 @@
s.add_development_dependency "rspec", "~> 3.0"
s.add_development_dependency "yard", "~> 0.0"
s.add_development_dependency 'coveralls', '< 1.0'
-
- s.add_runtime_dependency 'rake', '< 13.0'
-
- # Install FFI gem if we're running on Windows
- s.extensions = 'ext/mkrf_conf.rb'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ext/mkrf_conf.rb new/ext/mkrf_conf.rb
--- old/ext/mkrf_conf.rb 2019-07-11 19:50:54.000000000 +0200
+++ new/ext/mkrf_conf.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-# Based on the example from
https://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
-require 'rubygems'
-require 'rubygems/command.rb'
-require 'rubygems/dependency_installer.rb'
-
-begin
- Gem::Command.build_args = ARGV
-rescue NoMethodError # rubocop:disable Lint/HandleExceptions
-end
-
-inst = Gem::DependencyInstaller.new
-
-begin
- if Gem.win_platform?
- inst.install 'ffi', Gem::Requirement.new('~> 1.0', '>= 1.0.11')
- end
-rescue # rubocop:disable Lint/RescueWithoutErrorClass
- exit(1)
-end
-
- # create dummy rakefile to indicate success
-File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') do |f|
- f.write("task :default\n")
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/childprocess/errors.rb
new/lib/childprocess/errors.rb
--- old/lib/childprocess/errors.rb 2019-07-11 19:50:54.000000000 +0200
+++ new/lib/childprocess/errors.rb 2019-09-20 15:31:04.000000000 +0200
@@ -16,8 +16,8 @@
class MissingFFIError < Error
def initialize
- message = "FFI is a required pre-requisite for posix_spawn, falling back
to default implementation. " +
- "Please add it to your deployment to unlock this
functionality. " +
+ message = "FFI is a required pre-requisite for Windows or posix_spawn
support in the ChildProcess gem. " +
+ "Ensure the `ffi` gem is installed. " +
"If you believe this is an error, please file a bug at
http://github.com/enkessler/childprocess/issues"
super(message)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/childprocess/version.rb
new/lib/childprocess/version.rb
--- old/lib/childprocess/version.rb 2019-07-11 19:50:54.000000000 +0200
+++ new/lib/childprocess/version.rb 2019-09-20 15:31:04.000000000 +0200
@@ -1,3 +1,3 @@
module ChildProcess
- VERSION = '2.0.0'
+ VERSION = '3.0.0'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/childprocess/windows.rb
new/lib/childprocess/windows.rb
--- old/lib/childprocess/windows.rb 2019-07-11 19:50:54.000000000 +0200
+++ new/lib/childprocess/windows.rb 2019-09-20 15:31:04.000000000 +0200
@@ -1,6 +1,11 @@
-require "ffi"
require "rbconfig"
+begin
+ require 'ffi'
+rescue LoadError
+ raise ChildProcess::MissingFFIError
+end
+
module ChildProcess
module Windows
module Lib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-07-11 19:50:54.000000000 +0200
+++ new/metadata 2019-09-20 15:31:04.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: childprocess
version: !ruby/object:Gem::Version
- version: 2.0.0
+ version: 3.0.0
platform: ruby
authors:
- Jari Bakken
@@ -10,7 +10,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2019-07-11 00:00:00.000000000 Z
+date: 2019-09-20 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec
@@ -54,28 +54,13 @@
- - "<"
- !ruby/object:Gem::Version
version: '1.0'
-- !ruby/object:Gem::Dependency
- name: rake
- requirement: !ruby/object:Gem::Requirement
- requirements:
- - - "<"
- - !ruby/object:Gem::Version
- version: '13.0'
- type: :runtime
- prerelease: false
- version_requirements: !ruby/object:Gem::Requirement
- requirements:
- - - "<"
- - !ruby/object:Gem::Version
- version: '13.0'
description: This gem aims at being a simple and reliable solution for
controlling
external programs running in the background on any Ruby / OS combination.
email:
- [email protected]
- [email protected]
executables: []
-extensions:
-- ext/mkrf_conf.rb
+extensions: []
extra_rdoc_files: []
files:
- ".document"
@@ -89,7 +74,6 @@
- Rakefile
- appveyor.yml
- childprocess.gemspec
-- ext/mkrf_conf.rb
- lib/childprocess.rb
- lib/childprocess/abstract_io.rb
- lib/childprocess/abstract_process.rb