Hello community,
here is the log from the commit of package rubygem-childprocess for
openSUSE:Factory checked in at 2017-10-17 01:52:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-childprocess (Old)
and /work/SRC/openSUSE:Factory/.rubygem-childprocess.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-childprocess"
Tue Oct 17 01:52:52 2017 rev:23 rq:534139 version:0.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-childprocess/rubygem-childprocess.changes
2017-09-26 21:13:28.722358053 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-childprocess.new/rubygem-childprocess.changes
2017-10-17 01:52:54.557334880 +0200
@@ -1,0 +2,10 @@
+Wed Oct 11 06:00:29 UTC 2017 - [email protected]
+
+- updated to version 0.8.0
+ see installed CHANGELOG.md
+
+ ### Version 0.8.0 / 2017-09-23
+
+ * Added a method for determining whether or nto a process had been started.
+
+-------------------------------------------------------------------
Old:
----
childprocess-0.7.1.gem
New:
----
childprocess-0.8.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-childprocess.spec ++++++
--- /var/tmp/diff_new_pack.yg1y1f/_old 2017-10-17 01:52:56.289253757 +0200
+++ /var/tmp/diff_new_pack.yg1y1f/_new 2017-10-17 01:52:56.293253569 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-childprocess
-Version: 0.7.1
+Version: 0.8.0
Release: 0
%define mod_name childprocess
%define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
Url: http://github.com/enkessler/childprocess
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: A simple and reliable solution for controlling external
programs
License: MIT
++++++ childprocess-0.7.1.gem -> childprocess-0.8.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2017-06-26 21:56:43.000000000 +0200
+++ new/.travis.yml 2017-09-24 03:43:31.000000000 +0200
@@ -4,21 +4,33 @@
rvm:
- 1.9.3
- - jruby
+ - jruby-9.1.9.0
- rbx-3
- 2.0.0
- 2.1
- 2.2
- - 2.3.3
+ - 2.3.5
- 2.4.0
- ruby-head
-sudo: false
+
+sudo: true # Necessary to fix JRuby
+
cache: bundler
+
+before_install:
+ - "echo 'gem: --no-document' > ~/.gemrc"
+ - gem update --system
+ - gem install bundler # Necessary to fix 1.9.3
+
env:
- - CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset
- - CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=should-be-unset
+ global:
+ matrix:
+ - CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset
+ - CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=should-be-unset
+
matrix:
allow_failures:
- rvm: rbx-3
+ - rvm: jruby-9.1.9.0
- rvm: ruby-head
- env: "CHILDPROCESS_POSIX_SPAWN=true"
+ - env: "CHILDPROCESS_POSIX_SPAWN=true"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-06-26 21:56:43.000000000 +0200
+++ new/CHANGELOG.md 2017-09-24 03:43:31.000000000 +0200
@@ -1,3 +1,8 @@
+### Version 0.8.0 / 2017-09-23
+
+* Added a method for determining whether or nto a process had been started.
+
+
### Version 0.7.1 / 2017-06-26
* Fixed a noisy uninitialized variable warning
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/abstract_process.rb
new/lib/childprocess/abstract_process.rb
--- old/lib/childprocess/abstract_process.rb 2017-06-26 21:56:43.000000000
+0200
+++ new/lib/childprocess/abstract_process.rb 2017-09-24 03:43:31.000000000
+0200
@@ -25,7 +25,6 @@
attr_accessor :cwd
#
- #
# Set this to true to make the child process the leader of a new process
group
#
# This can be used to make sure that all grandchildren are killed
@@ -116,6 +115,16 @@
end
#
+ # Has the process started?
+ #
+ # @return [Boolean]
+ #
+
+ def started?
+ @started
+ end
+
+ #
# Is this process running?
#
# @return [Boolean]
@@ -159,10 +168,6 @@
raise SubclassResponsibility, "launch_process"
end
- def started?
- @started
- end
-
def detach?
@detach
end
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-06-26 21:56:44.000000000 +0200
+++ new/lib/childprocess/version.rb 2017-09-24 03:43:31.000000000 +0200
@@ -1,3 +1,3 @@
module ChildProcess
- VERSION = '0.7.1'
+ VERSION = '0.8.0'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-06-26 21:56:43.000000000 +0200
+++ new/metadata 2017-09-24 03:43:30.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: childprocess
version: !ruby/object:Gem::Version
- version: 0.7.1
+ version: 0.8.0
platform: ruby
authors:
- Jari Bakken
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2017-06-26 00:00:00.000000000 Z
+date: 2017-09-24 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-06-26 21:56:44.000000000 +0200
+++ new/spec/childprocess_spec.rb 2017-09-24 03:43:31.000000000 +0200
@@ -352,7 +352,6 @@
let(:logger) { Logger.new($stdout) }
-
it "logs to configured logger" do
cap = capture_std { generate_log_messages }
@@ -363,5 +362,30 @@
end
end
+
+ describe '#started?' do
+ subject { process.started? }
+
+ context 'when not started' do
+ let(:process) { sleeping_ruby(1) }
+
+ it { is_expected.to be false }
+ end
+
+ context 'when started' do
+ let(:process) { sleeping_ruby(1).start }
+
+ it { is_expected.to be true }
+ end
+
+ context 'when finished' do
+ before(:each) { process.wait }
+
+ let(:process) { sleeping_ruby(0).start }
+
+ it { is_expected.to be true }
+ end
+
+ end
end