Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-vagrant-spec for 
openSUSE:Factory checked in at 2022-09-21 14:41:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-vagrant-spec (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-vagrant-spec.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-vagrant-spec"

Wed Sep 21 14:41:47 2022 rev:6 rq:1004972 version:0.0.1.1663083445.c177981.git

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-vagrant-spec/rubygem-vagrant-spec.changes    
    2021-08-12 09:00:52.150227289 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-vagrant-spec.new.2083/rubygem-vagrant-spec.changes
      2022-09-21 14:42:39.337792095 +0200
@@ -1,0 +2,5 @@
+Tue Sep 13 15:49:05 UTC 2022 - Dan ??erm??k <dcer...@suse.com>
+
+- New upstream snapshot 0.0.1.1663083445.c177981.git
+
+-------------------------------------------------------------------

Old:
----
  vagrant-spec-0.0.1.1627911869.200ed21.git.gem

New:
----
  vagrant-spec-0.0.1.1663083445.c177981.git.gem

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

Other differences:
------------------
++++++ rubygem-vagrant-spec.spec ++++++
--- /var/tmp/diff_new_pack.dJMO8H/_old  2022-09-21 14:42:39.841793494 +0200
+++ /var/tmp/diff_new_pack.dJMO8H/_new  2022-09-21 14:42:39.849793516 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-vagrant-spec
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 # of those fields
 #
 Name:           rubygem-vagrant-spec
-Version:        0.0.1.1627911869.200ed21.git
+Version:        0.0.1.1663083445.c177981.git
 Release:        0
 Summary:        Tool and library for testing Vagrant plugins
 License:        MPL-2.0
@@ -68,6 +68,7 @@
 %fdupes %{buildroot}/%{_libdir}/ruby/gems
 # /MANUAL
 
+
 %gem_packages
 
 %changelog

++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.dJMO8H/_old  2022-09-21 14:42:39.897793648 +0200
+++ /var/tmp/diff_new_pack.dJMO8H/_new  2022-09-21 14:42:39.901793660 +0200
@@ -1,4 +1,4 @@
-# ---
+---
 # Since vagrant-spec has no release yet, there is no gem on rubygems.org. Thus
 # the gem must be rebuild manually on each update.
 #
@@ -6,27 +6,11 @@
 # $ git clone https://github.com/dcermak/vagrant-spec
 # $ git checkout opensuse_package
 #
-# apply the following patche:
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.patch}
-# diff --git a/vagrant-spec.gemspec b/vagrant-spec.gemspec
-# index 33a2d86..d7bc46f 100644
-# --- a/vagrant-spec.gemspec
-# +++ b/vagrant-spec.gemspec
-# @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
-#    spec.add_dependency "childprocess", "~> 0.6.0"
-#    spec.add_dependency "log4r", "~> 1.1.9"
-#    spec.add_dependency "rspec", "~> 3.5.0"
-# -  spec.add_dependency "thor", "~> 0.18.1"
-# +  spec.add_dependency "thor", "~> 0.18"
-#
-#    spec.add_development_dependency "rake"
-#  end
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
 # and build the gem:
 # $ gem build vagrant-spec.gemspec
 #
-# Then copy the gem into the project folder and optionally recreate the spec 
file:
+# Then copy the gem into the project folder and optionally recreate the spec
+# file:
 # $ gem2rpm --config gem2rpm.yml vagrant-spec-0.0.1.*.gem > 
rubygem-vagrant-spec.spec
 #
 # If you recreated the spec file, then you **must** also override the Source

++++++ vagrant-spec-0.0.1.1627911869.200ed21.git.gem -> 
vagrant-spec-0.0.1.1663083445.c177981.git.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acceptance/output/version_output.rb 
new/acceptance/output/version_output.rb
--- old/acceptance/output/version_output.rb     2021-08-02 16:05:04.000000000 
+0200
+++ new/acceptance/output/version_output.rb     2022-09-13 17:43:33.000000000 
+0200
@@ -4,7 +4,7 @@
   module Spec
     # Tests the Vagrant version output
     OutputTester[:version] = lambda do |text|
-      text =~ /^Vagrant (\d+\.\d+\.\d+(\.[a-z0-9]+)?)$/
+      text =~ /^Vagrant (\d+\.\d+\.\d+(\.[a-z0-9]+)?).*$/
     end
   end
 end
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/vagrant-spec/acceptance/isolated_environment.rb 
new/lib/vagrant-spec/acceptance/isolated_environment.rb
--- old/lib/vagrant-spec/acceptance/isolated_environment.rb     2021-08-02 
16:05:04.000000000 +0200
+++ new/lib/vagrant-spec/acceptance/isolated_environment.rb     2022-09-13 
17:43:33.000000000 +0200
@@ -43,7 +43,11 @@
       def execute(command, *args, **options)
         # Create the command
         command = replace_command(command)
-        command = Which.which(command)
+        # Use provided command if it is a valid executable
+        if !File.executable?(command)
+          # If it's not a valid executable, search for vagrant
+          command = Which.which(command)
+        end
 
         # Build up the options
         options[:env] = @env
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/vagrant-spec/acceptance/rspec/context.rb 
new/lib/vagrant-spec/acceptance/rspec/context.rb
--- old/lib/vagrant-spec/acceptance/rspec/context.rb    2021-08-02 
16:05:04.000000000 +0200
+++ new/lib/vagrant-spec/acceptance/rspec/context.rb    2022-09-13 
17:43:33.000000000 +0200
@@ -30,7 +30,7 @@
   # Creates a new isolated environment instance each time it is called.
   #
   # @return [Acceptance::IsolatedEnvironment]
-  def new_environment(env=nil)
+  def new_environment(env = nil)
     apps = { "vagrant" => config.vagrant_path }
     env  = config.env.merge(env || {})
     env.merge!(extra_env)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/vagrant-spec/acceptance/rspec/formatter.rb 
new/lib/vagrant-spec/acceptance/rspec/formatter.rb
--- old/lib/vagrant-spec/acceptance/rspec/formatter.rb  2021-08-02 
16:05:04.000000000 +0200
+++ new/lib/vagrant-spec/acceptance/rspec/formatter.rb  2022-09-13 
17:43:33.000000000 +0200
@@ -4,28 +4,37 @@
   module Spec
     module Acceptance
       class Formatter < RSpec::Core::Formatters::DocumentationFormatter
-        def example_failed(example)
+        RSpec::Core::Formatters.register(
+          self,
+          :example_failed,
+          :example_passed,
+          :example_pending,
+          :example_started,
+          :message,
+        )
+
+        def example_failed(failed_example_notification)
           super
           @group_level -= 1
         end
 
-        def example_passed(example)
+        def example_passed(example_notification)
           super
           @group_level -= 1
         end
 
-        def example_pending(example)
+        def example_pending(example_notification)
           super
           @group_level -= 1
         end
 
-        def example_started(example)
-          output.puts "#{current_indentation}#{example.description.strip}"
+        def example_started(example_notification)
+          output.puts 
"#{current_indentation}#{example_notification.example.description.strip}"
           @group_level += 1
         end
 
-        def message(message)
-          output.puts "#{current_indentation}#{message}"
+        def message(message_notification)
+          output.puts "#{current_indentation}#{message_notification.message}"
         end
       end
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/vagrant-spec/cli.rb new/lib/vagrant-spec/cli.rb
--- old/lib/vagrant-spec/cli.rb 2021-08-02 16:05:04.000000000 +0200
+++ new/lib/vagrant-spec/cli.rb 2022-09-13 17:43:33.000000000 +0200
@@ -28,8 +28,13 @@
       def test
         load_config
 
-        Acceptance::Runner.new(paths: Acceptance.config.component_paths).
-          run(options[:components], example: options[:example], 
without_components: options[:without_components])
+        status = Acceptance::Runner.new(paths: 
Acceptance.config.component_paths)
+                                   .run(
+                                     options[:components],
+                                     example: options[:example],
+                                     without_components: 
options[:without_components]
+                                   )
+        exit(status) if status != 0
       end
 
       protected
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-08-02 16:05:04.000000000 +0200
+++ new/metadata        2022-09-13 17:43:33.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: vagrant-spec
 version: !ruby/object:Gem::Version
-  version: 0.0.1.1627911869.200ed21.git
+  version: 0.0.1.1663083445.c177981.git
 platform: ruby
 authors:
 - Mitchell Hashimoto
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2021-08-02 00:00:00.000000000 Z
+date: 2022-09-13 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: childprocess
@@ -58,14 +58,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '0.18'
+        version: '1.0'
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '0.18'
+        version: '1.0'
 - !ruby/object:Gem::Dependency
   name: rake
   requirement: !ruby/object:Gem::Requirement
@@ -237,7 +237,7 @@
     - !ruby/object:Gem::Version
       version: 1.3.1
 requirements: []
-rubygems_version: 3.2.22
+rubygems_version: 3.3.7
 signing_key:
 specification_version: 4
 summary: Tool and library for testing Vagrant plugins.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vagrant-spec.gemspec new/vagrant-spec.gemspec
--- old/vagrant-spec.gemspec    2021-08-02 16:05:04.000000000 +0200
+++ new/vagrant-spec.gemspec    2022-09-13 17:43:33.000000000 +0200
@@ -1,4 +1,5 @@
 # coding: utf-8
+
 lib = File.expand_path('../lib', __FILE__)
 $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
 require 'vagrant-spec/version'
@@ -21,7 +22,7 @@
   spec.add_dependency "childprocess"
   spec.add_dependency "log4r", "~> 1.1.9"
   spec.add_dependency "rspec", "~> 3.10"
-  spec.add_dependency "thor", "~> 0.18"
+  spec.add_dependency "thor", "~> 1.0"
 
   spec.add_development_dependency "rake"
 end

Reply via email to