Hello community,

here is the log from the commit of package yast2-snapper for openSUSE:Factory 
checked in at 2017-09-13 21:36:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-snapper (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-snapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-snapper"

Wed Sep 13 21:36:27 2017 rev:54 rq:523640 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-snapper/yast2-snapper.changes      
2017-01-10 10:34:06.822624081 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-snapper.new/yast2-snapper.changes 
2017-09-13 21:36:28.858311122 +0200
@@ -1,0 +2,6 @@
+Tue Sep 12 07:12:53 UTC 2017 - igonzalezs...@suse.com
+
+- Add missing dependency on ruby-dbus library (bsc#1058127)
+- 4.0.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-snapper-3.2.0.tar.bz2

New:
----
  yast2-snapper-4.0.0.tar.bz2

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

Other differences:
------------------
++++++ yast2-snapper.spec ++++++
--- /var/tmp/diff_new_pack.28eILT/_old  2017-09-13 21:36:29.334244160 +0200
+++ /var/tmp/diff_new_pack.28eILT/_new  2017-09-13 21:36:29.338243596 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-snapper
-Version:        3.2.0
+Version:        4.0.0
 Release:        0
 
 # change to noarch causes problems according to behlert
@@ -30,12 +30,12 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2
 BuildRequires:  yast2-devtools >= 3.1.10
-BuildRequires:  rubygem(rspec)
-BuildRequires:  rubygem(ruby-dbus)
-
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:ruby-dbus)
 Requires:       snapper
 Requires:       yast2 >= 2.21.22
 Requires:       yast2-ruby-bindings >= 1.0.0
+Requires:       rubygem(%{rb_default_ruby_abi}:ruby-dbus)
 Supplements:    packageand(snapper:yast2)
 
 Summary:        YaST - file system snapshots review

++++++ yast2-snapper-3.2.0.tar.bz2 -> yast2-snapper-4.0.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/.travis.yml 
new/yast2-snapper-4.0.0/.travis.yml
--- old/yast2-snapper-3.2.0/.travis.yml 2017-01-05 15:21:07.779000900 +0100
+++ new/yast2-snapper-4.0.0/.travis.yml 2017-09-12 12:19:25.025670079 +0200
@@ -1,15 +1,12 @@
-language: cpp
-compiler:
-    - gcc
+sudo: required
+language: bash
+services:
+  - docker
+
 before_install:
-    # disable rvm, use system Ruby
-    - rvm reset
-    - wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
-    - sh ./travis_setup.sh -p "rake yast2-devtools yast2" -g "yast-rake rspec 
gettext ruby-dbus"
+  - docker build -t yast-snapper-image .
 script:
-    - rake check:syntax
-    - rake check:pot
-    - make -f Makefile.cvs
-    - make
-    - rake test:unit
-    - sudo make install
+  # the "yast-travis-ruby" script is included in the base yastdevel/ruby image
+  # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
+  - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-snapper-image yast-travis-ruby
+  - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-snapper-image rake check:doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/.yardopts 
new/yast2-snapper-4.0.0/.yardopts
--- old/yast2-snapper-3.2.0/.yardopts   1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-snapper-4.0.0/.yardopts   2017-09-12 12:19:25.025670079 +0200
@@ -0,0 +1 @@
+--no-private --markup markdown --protected src/**/*.rb --output-dir 
./doc/autodocs - doc/*.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/Dockerfile 
new/yast2-snapper-4.0.0/Dockerfile
--- old/yast2-snapper-3.2.0/Dockerfile  1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-snapper-4.0.0/Dockerfile  2017-09-12 12:19:25.025670079 +0200
@@ -0,0 +1,5 @@
+FROM yastdevel/ruby
+RUN RUBY_VERSION=`rpm --eval '%{rb_default_ruby_abi}'` && \
+  zypper --gpg-auto-import-keys --non-interactive in --no-recommends \
+  "rubygem($RUBY_VERSION:ruby-dbus)"
+COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/README.md 
new/yast2-snapper-4.0.0/README.md
--- old/yast2-snapper-3.2.0/README.md   2017-01-05 15:21:07.847000900 +0100
+++ new/yast2-snapper-4.0.0/README.md   2017-09-12 12:19:25.025670079 +0200
@@ -2,4 +2,5 @@
 
 [![Travis 
Build](https://travis-ci.org/yast/yast-snapper.svg?branch=master)](https://travis-ci.org/yast/yast-snapper)
 [![Jenkins 
Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-snapper-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-snapper-master/)
+[![Coverage 
Status](https://img.shields.io/coveralls/yast/yast-snapper/master.svg)](https://coveralls.io/github/yast/yast-snapper?branch=master)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/package/yast2-snapper.changes 
new/yast2-snapper-4.0.0/package/yast2-snapper.changes
--- old/yast2-snapper-3.2.0/package/yast2-snapper.changes       2017-01-05 
15:21:07.851000900 +0100
+++ new/yast2-snapper-4.0.0/package/yast2-snapper.changes       2017-09-12 
12:19:25.025670079 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Sep 12 07:12:53 UTC 2017 - igonzalezs...@suse.com
+
+- Add missing dependency on ruby-dbus library (bsc#1058127)
+- 4.0.0
+
+-------------------------------------------------------------------
 Thu Jan  5 14:15:57 UTC 2017 - jreidin...@suse.com
 
 - Fixed tests to pass with the latest yast2-core and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/package/yast2-snapper.spec 
new/yast2-snapper-4.0.0/package/yast2-snapper.spec
--- old/yast2-snapper-3.2.0/package/yast2-snapper.spec  2017-01-05 
15:21:07.851000900 +0100
+++ new/yast2-snapper-4.0.0/package/yast2-snapper.spec  2017-09-12 
12:19:25.025670079 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-snapper
-Version:        3.2.0
+Version:        4.0.0
 Release:        0
 Group:         System/YaST
 
@@ -29,17 +29,17 @@
 
 License:        GPL-2.0
 
-BuildRequires: doxygen
-BuildRequires: update-desktop-files
-BuildRequires: yast2
-BuildRequires: yast2-devtools >= 3.1.10
-BuildRequires:  rubygem(rspec)
-BuildRequires: rubygem(ruby-dbus)
-
-Requires:      yast2 >= 2.21.22
+BuildRequires:  doxygen
+BuildRequires:  update-desktop-files
+BuildRequires:  yast2
+BuildRequires:  yast2-devtools >= 3.1.10
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:ruby-dbus)
+Requires:       snapper
+Requires:       yast2 >= 2.21.22
 Requires:       yast2-ruby-bindings >= 1.0.0
-Requires:      snapper
-Supplements:   packageand(snapper:yast2)
+Requires:       rubygem(%{rb_default_ruby_abi}:ruby-dbus)
+Supplements:    packageand(snapper:yast2)
 
 Summary:       YaST - file system snapshots review
 Url:            http://github.com/yast/yast-snapper/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/test/Makefile.am 
new/yast2-snapper-4.0.0/test/Makefile.am
--- old/yast2-snapper-3.2.0/test/Makefile.am    2017-01-05 15:21:07.879000900 
+0100
+++ new/yast2-snapper-4.0.0/test/Makefile.am    2017-09-12 12:19:25.029670079 
+0200
@@ -3,11 +3,9 @@
 #
 
 TESTS =                                                                        
\
-       snapper_dbus_escape_test.rb                                     \
-       snapper_dbus_unescape_test.rb                                   \
-       snapper_string_to_userdata_test.rb                              \
-       snapper_tree_test.rb                                            \
-       snapper_userdata_to_string_test.rb
+       snapper_test.rb                                 \
+       snapper_dbus_test.rb                                    \
+       snapper_tree_test.rb
 
 TEST_EXTENSIONS = .rb
 RB_LOG_COMPILER = rspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/test/snapper_dbus_escape_test.rb 
new/yast2-snapper-4.0.0/test/snapper_dbus_escape_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_dbus_escape_test.rb    2017-01-05 
15:21:07.879000900 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_dbus_escape_test.rb    1970-01-01 
01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-#!/usr/bin/env rspec
-# coding: utf-8
-
-ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
-
-require "yast"
-
-Yast.import "Snapper"
-
-
-describe "SnapperDbus#escape" do
-
-
-  it "call with nothing special" do
-
-    expect(Yast::SnapperDbus.send(:escape, "hello")).to eq("hello")
-
-  end
-
-
-  it "call with UTF-8" do
-
-    expect(Yast::SnapperDbus.send(:escape, "schön")).to 
eq("sch\\xc3\\xb6n".force_encoding(Encoding::ASCII_8BIT))
-
-  end
-
-
-  it "call with slash" do
-
-    expect(Yast::SnapperDbus.send(:escape, "\\")).to eq("\\\\")
-
-  end
-
-
-  it "call with a hash" do
-
-    expect(Yast::SnapperDbus.send(:escape, { "schön" => "hier" })).to eq({ 
"sch\\xc3\\xb6n".force_encoding(Encoding::ASCII_8BIT) => "hier" })
-
-  end
-
-
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/test/snapper_dbus_test.rb 
new/yast2-snapper-4.0.0/test/snapper_dbus_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_dbus_test.rb   1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_dbus_test.rb   2017-09-12 
12:19:25.029670079 +0200
@@ -0,0 +1,50 @@
+#!/usr/bin/env rspec
+
+require_relative "test_helper"
+
+Yast.import "SnapperDbus"
+
+describe "SnapperDbus" do
+  describe "#escape" do
+    it "call with nothing special" do
+      expect(Yast::SnapperDbus.send(:escape, "hello")).to eq("hello")
+    end
+
+
+    it "call with UTF-8" do
+      expect(Yast::SnapperDbus.send(:escape, "schön")).to 
eq("sch\\xc3\\xb6n".force_encoding(Encoding::ASCII_8BIT))
+    end
+
+
+    it "call with slash" do
+      expect(Yast::SnapperDbus.send(:escape, "\\")).to eq("\\\\")
+    end
+
+
+    it "call with a hash" do
+      expect(Yast::SnapperDbus.send(:escape, { "schön" => "hier" }))
+        .to eq({ "sch\\xc3\\xb6n".force_encoding(Encoding::ASCII_8BIT) => 
"hier" })
+    end
+  end
+
+  describe "#unescape" do
+    it "call with nothing special" do
+      expect(Yast::SnapperDbus.send(:unescape, "hello")).to eq("hello")
+      expect(Yast::SnapperDbus.send(:unescape, "world").encoding).to 
eq(Encoding::ASCII_8BIT)
+    end
+
+
+    it "call with escaped UTF-8" do
+      expect(Yast::SnapperDbus.send(:unescape, "sch\\xc3\\xb6n")).to 
eq("schön".force_encoding(Encoding::ASCII_8BIT))
+    end
+
+    it "call with slash" do
+      expect(Yast::SnapperDbus.send(:unescape, "\\\\")).to eq("\\")
+    end
+
+    it "call with a hash" do
+      expect(Yast::SnapperDbus.send(:unescape, { "sch\\xc3\\xb6n" => "hier" }))
+        .to eq({ "schön".force_encoding(Encoding::ASCII_8BIT) => "hier" })
+    end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-snapper-3.2.0/test/snapper_dbus_unescape_test.rb 
new/yast2-snapper-4.0.0/test/snapper_dbus_unescape_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_dbus_unescape_test.rb  2017-01-05 
15:21:07.879000900 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_dbus_unescape_test.rb  1970-01-01 
01:00:00.000000000 +0100
@@ -1,43 +0,0 @@
-#!/usr/bin/env rspec
-# coding: utf-8
-
-ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
-
-require "yast"
-
-Yast.import "Snapper"
-
-
-describe "SnapperDbus#unescape" do
-
-
-  it "call with nothing special" do
-
-    expect(Yast::SnapperDbus.send(:unescape, "hello")).to eq("hello")
-    expect(Yast::SnapperDbus.send(:unescape, "world").encoding).to 
eq(Encoding::ASCII_8BIT)
-
-  end
-
-
-  it "call with escaped UTF-8" do
-
-    expect(Yast::SnapperDbus.send(:unescape, "sch\\xc3\\xb6n")).to 
eq("schön".force_encoding(Encoding::ASCII_8BIT))
-
-  end
-
-
-  it "call with slash" do
-
-    expect(Yast::SnapperDbus.send(:unescape, "\\\\")).to eq("\\")
-
-  end
-
-
-  it "call with a hash" do
-
-    expect(Yast::SnapperDbus.send(:unescape, { "sch\\xc3\\xb6n" => "hier" 
})).to eq({ "schön".force_encoding(Encoding::ASCII_8BIT) => "hier" })
-
-  end
-
-
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-snapper-3.2.0/test/snapper_string_to_userdata_test.rb 
new/yast2-snapper-4.0.0/test/snapper_string_to_userdata_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_string_to_userdata_test.rb     
2017-01-05 15:21:07.879000900 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_string_to_userdata_test.rb     
1970-01-01 01:00:00.000000000 +0100
@@ -1,41 +0,0 @@
-#!/usr/bin/env rspec
-
-ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
-
-require "yast"
-
-Yast.import "Snapper"
-
-
-describe "Snapper#string_to_userdata" do
-
-
-  it "call with empty string" do
-
-    expect(Yast::Snapper.string_to_userdata("")).to eq({ })
-
-  end
-
-
-  it "call with simple string" do
-
-    expect(Yast::Snapper.string_to_userdata("hello=world")).to eq({ "hello" => 
"world" })
-
-  end
-
-
-  it "call with complex string" do
-
-    expect(Yast::Snapper.string_to_userdata("a=1,b=2")).to eq({ "a" => "1", 
"b" => "2" })
-
-  end
-
-
-  it "call with complex string and space after comma" do
-
-    expect(Yast::Snapper.string_to_userdata("a=1, b=2")).to eq({ "a" => "1", 
"b" => "2" })
-
-  end
-
-
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/test/snapper_test.rb 
new/yast2-snapper-4.0.0/test/snapper_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_test.rb        1970-01-01 
01:00:00.000000000 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_test.rb        2017-09-12 
12:19:25.029670079 +0200
@@ -0,0 +1,39 @@
+#!/usr/bin/env rspec
+
+require_relative "test_helper"
+
+Yast.import "Snapper"
+
+describe Yast::Snapper do
+  describe "#userdata_to_string" do
+    it "call with empty userdata" do
+      expect(Yast::Snapper.userdata_to_string({ })).to eq("")
+    end
+
+    it "call with simple userdata" do
+      expect(Yast::Snapper.userdata_to_string({ "hello" => "world" })).to 
eq("hello=world")
+    end
+
+    it "call with complex userdata" do
+      expect(Yast::Snapper.userdata_to_string({ "a" => "1", "b" => "2" })).to 
eq("a=1, b=2")
+    end
+  end
+
+  describe "#string_to_userdata" do
+    it "call with empty string" do
+      expect(Yast::Snapper.string_to_userdata("")).to eq({ })
+    end
+
+    it "call with simple string" do
+      expect(Yast::Snapper.string_to_userdata("hello=world")).to eq({ "hello" 
=> "world" })
+    end
+
+    it "call with complex string" do
+      expect(Yast::Snapper.string_to_userdata("a=1,b=2")).to eq({ "a" => "1", 
"b" => "2" })
+    end
+
+    it "call with complex string and space after comma" do
+      expect(Yast::Snapper.string_to_userdata("a=1, b=2")).to eq({ "a" => "1", 
"b" => "2" })
+    end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/test/snapper_tree_test.rb 
new/yast2-snapper-4.0.0/test/snapper_tree_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_tree_test.rb   2017-01-05 
15:21:07.879000900 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_tree_test.rb   2017-09-12 
12:19:25.029670079 +0200
@@ -1,13 +1,10 @@
 #!/usr/bin/env rspec
 
-ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
-
-require "yast"
+require_relative "test_helper"
 
 Yast.import "Snapper"
 
 describe Yast::SnapperClass::Tree do
-
   subject { Yast::SnapperClass::Tree.new("", nil) }
 
   describe "#each" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-snapper-3.2.0/test/snapper_userdata_to_string_test.rb 
new/yast2-snapper-4.0.0/test/snapper_userdata_to_string_test.rb
--- old/yast2-snapper-3.2.0/test/snapper_userdata_to_string_test.rb     
2017-01-05 15:21:07.879000900 +0100
+++ new/yast2-snapper-4.0.0/test/snapper_userdata_to_string_test.rb     
1970-01-01 01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-#!/usr/bin/env rspec
-
-ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
-
-require "yast"
-
-Yast.import "Snapper"
-
-
-describe "Snapper#userdata_to_string" do
-
-
-  it "call with empty userdata" do
-
-    expect(Yast::Snapper.userdata_to_string({ })).to eq("")
-
-  end
-
-
-  it "call with simple userdata" do
-
-    expect(Yast::Snapper.userdata_to_string({ "hello" => "world" })).to 
eq("hello=world")
-
-  end
-
-
-  it "call with complex userdata" do
-
-    expect(Yast::Snapper.userdata_to_string({ "a" => "1", "b" => "2" })).to 
eq("a=1, b=2")
-
-  end
-
-
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-snapper-3.2.0/test/test_helper.rb 
new/yast2-snapper-4.0.0/test/test_helper.rb
--- old/yast2-snapper-3.2.0/test/test_helper.rb 1970-01-01 01:00:00.000000000 
+0100
+++ new/yast2-snapper-4.0.0/test/test_helper.rb 2017-09-12 12:19:25.029670079 
+0200
@@ -0,0 +1,24 @@
+ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
+
+require "yast"
+
+if ENV["COVERAGE"]
+  require "simplecov"
+  SimpleCov.start do
+    # Don't measure coverage of the tests themselves.
+    add_filter "/test/"
+  end
+
+  # track all ruby files under src
+  src_location = File.expand_path("../../src", __FILE__)
+  SimpleCov.track_files("#{src_location}/**/*.rb")
+
+  # use coveralls for on-line code coverage reporting at Travis CI
+  if ENV["TRAVIS"]
+    require "coveralls"
+    SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+      SimpleCov::Formatter::HTMLFormatter,
+      Coveralls::SimpleCov::Formatter
+    ]
+  end
+end


Reply via email to