Hello community,

here is the log from the commit of package rubygem-childprocess for 
openSUSE:Factory checked in at 2018-07-18 22:48:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-childprocess (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-childprocess.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-childprocess"

Wed Jul 18 22:48:45 2018 rev:24 rq:620992 version:0.9.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-childprocess/rubygem-childprocess.changes    
    2017-10-17 01:52:54.557334880 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-childprocess.new/rubygem-childprocess.changes
   2018-07-18 22:48:52.503968526 +0200
@@ -1,0 +2,10 @@
+Tue Mar 20 10:06:30 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 0.9.0
+ see installed CHANGELOG.md
+
+  ### Version 0.9.0 / 2018-03-10
+  
+  * Added support for DragonFly BSD.
+
+-------------------------------------------------------------------

Old:
----
  childprocess-0.8.0.gem

New:
----
  childprocess-0.9.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-childprocess.spec ++++++
--- /var/tmp/diff_new_pack.GyLbAD/_old  2018-07-18 22:48:52.963967001 +0200
+++ /var/tmp/diff_new_pack.GyLbAD/_new  2018-07-18 22:48:52.963967001 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-childprocess
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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-childprocess
-Version:        0.8.0
+Version:        0.9.0
 Release:        0
 %define mod_name childprocess
 %define mod_full_name %{mod_name}-%{version}

++++++ childprocess-0.8.0.gem -> childprocess-0.9.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2017-09-24 03:43:31.000000000 +0200
+++ new/.travis.yml     2018-03-10 23:45:55.000000000 +0100
@@ -9,8 +9,9 @@
   - 2.0.0
   - 2.1
   - 2.2
-  - 2.3.5
-  - 2.4.0
+  - 2.3
+  - 2.4
+  - 2.5
   - ruby-head
 
 sudo: true # Necessary to fix JRuby
@@ -34,3 +35,10 @@
     - rvm: jruby-9.1.9.0
     - rvm: ruby-head
     - env: "CHILDPROCESS_POSIX_SPAWN=true"
+  exclude:
+    # Travis does not provide 1.9.3 on OSX
+  - rvm: 1.9.3
+    os: osx
+    # Travis does not provide 2.0.0 on it latest version of OSX
+  - rvm: 2.0.0
+    os: osx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-09-24 03:43:31.000000000 +0200
+++ new/CHANGELOG.md    2018-03-10 23:45:55.000000000 +0100
@@ -1,6 +1,11 @@
+### Version 0.9.0 / 2018-03-10
+
+* Added support for DragonFly BSD.
+
+
 ### Version 0.8.0 / 2017-09-23
 
-* Added a method for determining whether or nto a process had been started.
+* Added a method for determining whether or not a process had been started.
 
 
 ### Version 0.7.1 / 2017-06-26
@@ -30,7 +35,7 @@
 
 ### Version 0.6.1 / 2017-01-22
 
-* Bug fix: Fixed a dependency that was accidentally declared as a runtime 
+* Bug fix: Fixed a dependency that was accidentally declared as a runtime
   dependency instead of a development dependency.
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-09-24 03:43:31.000000000 +0200
+++ new/README.md       2018-03-10 23:45:55.000000000 +0100
@@ -12,6 +12,10 @@
 [![Code 
Climate](https://codeclimate.com/github/enkessler/childprocess.svg)](https://codeclimate.com/github/enkessler/childprocess)
 [![Coverage 
Status](https://coveralls.io/repos/enkessler/childprocess/badge.svg?branch=master)](https://coveralls.io/r/enkessler/childprocess?branch=master)
 
+***
+**This project currently needs a new maintainer. If anyone is interested, 
please contact me, [enkessler](https://github.com/enkessler).**
+***
+
 # Usage
 
 The object returned from `ChildProcess.build` will implement 
`ChildProcess::AbstractProcess`.
@@ -166,7 +170,7 @@
 
 ## Caveats
 
-* With JRuby on Unix, modifying `ENV["PATH"]` before using childprocess could 
lead to 'Command not found' errors, since JRuby is unable to modify the 
environemnt used for PATH searches in `java.lang.ProcessBuilder`. This can be 
avoided by setting `ChildProcess.posix_spawn = true`.
+* With JRuby on Unix, modifying `ENV["PATH"]` before using childprocess could 
lead to 'Command not found' errors, since JRuby is unable to modify the 
environment used for PATH searches in `java.lang.ProcessBuilder`. This can be 
avoided by setting `ChildProcess.posix_spawn = true`.
 
 # Implementation
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/appveyor.yml new/appveyor.yml
--- old/appveyor.yml    2017-09-24 03:43:31.000000000 +0200
+++ new/appveyor.yml    2018-03-10 23:45:55.000000000 +0100
@@ -26,7 +26,24 @@
     - CHILDPROCESS_POSIX_SPAWN: false
       CHILDPROCESS_UNSET: should-be-unset
       RUBY_VERSION: 22-x64
-
+    - CHILDPROCESS_POSIX_SPAWN: true
+      CHILDPROCESS_UNSET: should-be-unset
+      RUBY_VERSION: 23-x64
+    - CHILDPROCESS_POSIX_SPAWN: false
+      CHILDPROCESS_UNSET: should-be-unset
+      RUBY_VERSION: 23-x64
+    - CHILDPROCESS_POSIX_SPAWN: true
+      CHILDPROCESS_UNSET: should-be-unset
+      RUBY_VERSION: 24-x64
+    - CHILDPROCESS_POSIX_SPAWN: false
+      CHILDPROCESS_UNSET: should-be-unset
+      RUBY_VERSION: 24-x64
+    - CHILDPROCESS_POSIX_SPAWN: true
+      CHILDPROCESS_UNSET: should-be-unset
+      RUBY_VERSION: 25-x64
+    - CHILDPROCESS_POSIX_SPAWN: false
+      CHILDPROCESS_UNSET: should-be-unset
+      RUBY_VERSION: 25-x64
 
 install:
   - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
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     2017-09-24 03:43:31.000000000 +0200
+++ new/lib/childprocess/version.rb     2018-03-10 23:45:55.000000000 +0100
@@ -1,3 +1,3 @@
 module ChildProcess
-  VERSION = '0.8.0'
+  VERSION = '0.9.0'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/childprocess.rb new/lib/childprocess.rb
--- old/lib/childprocess.rb     2017-09-24 03:43:31.000000000 +0200
+++ new/lib/childprocess.rb     2018-03-10 23:45:55.000000000 +0100
@@ -113,7 +113,7 @@
           :cygwin
         when /solaris|sunos/
           :solaris
-        when /bsd/
+        when /bsd|dragonfly/
           :bsd
         when /aix/
           :aix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-09-24 03:43:30.000000000 +0200
+++ new/metadata        2018-03-10 23:45:55.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: childprocess
 version: !ruby/object:Gem::Version
-  version: 0.8.0
+  version: 0.9.0
 platform: ruby
 authors:
 - Jari Bakken
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-09-24 00:00:00.000000000 Z
+date: 2018-03-10 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: ffi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/childprocess_spec.rb 
new/spec/childprocess_spec.rb
--- old/spec/childprocess_spec.rb       2017-09-24 03:43:31.000000000 +0200
+++ new/spec/childprocess_spec.rb       2018-03-10 23:45:55.000000000 +0100
@@ -289,6 +289,37 @@
     expect(proc).to be_exited
   end
 
+  describe 'OS detection' do
+
+    before(:all) do
+      # Save off original OS so that it can be restored later
+      @original_host_os = RbConfig::CONFIG['host_os']
+    end
+
+    after(:each) do
+      # Restore things to the real OS instead of the fake test OS
+      RbConfig::CONFIG['host_os'] = @original_host_os
+      ChildProcess.instance_variable_set(:@os, nil)
+    end
+
+
+    # TODO: add tests for other OSs
+    context 'on a BSD system' do
+
+      let(:bsd_patterns) { ['bsd', 'dragonfly'] }
+
+      it 'correctly identifies BSD systems' do
+        bsd_patterns.each do |pattern|
+          RbConfig::CONFIG['host_os'] = pattern
+          ChildProcess.instance_variable_set(:@os, nil)
+
+          expect(ChildProcess.os).to eq(:bsd)
+        end
+      end
+
+    end
+
+  end
 
   it 'has a logger' do
     expect(ChildProcess).to respond_to(:logger)


Reply via email to