Hello community,

here is the log from the commit of package rubygem-cfa_grub2 for 
openSUSE:Factory checked in at 2019-06-25 22:17:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-cfa_grub2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-cfa_grub2.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-cfa_grub2"

Tue Jun 25 22:17:42 2019 rev:12 rq:711304 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-cfa_grub2/rubygem-cfa_grub2.changes      
2018-09-04 22:49:45.695683669 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-cfa_grub2.new.4615/rubygem-cfa_grub2.changes
    2019-06-25 22:17:43.456745531 +0200
@@ -0,0 +1,9 @@
+-------------------------------------------------------------------
+Thu Jun 20 13:10:26 UTC 2019 - Martin Vidner <[email protected]>
+
+- Dropped the changes_only argument of Default,DeviceMap#save
+  following the same change in BaseModel#save in cfa-1.0.0
+  because the merging was not working anyway (bsc#1137948)
+- Drop support for Ruby 2.2 and 2.3; add 2.6.
+- 2.0.0
+

Old:
----
  cfa_grub2-1.0.1.gem

New:
----
  cfa_grub2-2.0.0.gem

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

Other differences:
------------------
++++++ rubygem-cfa_grub2.spec ++++++
--- /var/tmp/diff_new_pack.dG8VoY/_old  2019-06-25 22:17:44.736747502 +0200
+++ /var/tmp/diff_new_pack.dG8VoY/_new  2019-06-25 22:17:44.768747552 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-cfa_grub2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-cfa_grub2
-Version:        1.0.1
+Version:        2.0.0
 Release:        0
 %define mod_name cfa_grub2
 %define mod_full_name %{mod_name}-%{version}
@@ -25,8 +25,8 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
-Url:            http://github.com/config-files-api/config_files_api_grub2
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Url:            https://github.com/config-files-api/config_files_api_grub2
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Models for GRUB2 configuration files
 License:        LGPL-3.0-only
 Group:          Development/Languages/Ruby

++++++ cfa_grub2-1.0.1.gem -> cfa_grub2-2.0.0.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cfa/grub2/default.rb new/lib/cfa/grub2/default.rb
--- old/lib/cfa/grub2/default.rb        2018-08-17 09:27:40.000000000 +0200
+++ new/lib/cfa/grub2/default.rb        2019-06-21 10:36:45.000000000 +0200
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require "cfa/base_model"
 require "cfa/augeas_parser"
 require "cfa/placer"
@@ -24,14 +26,14 @@
         timeout:        "GRUB_TIMEOUT"
       )
 
-      PATH = "/etc/default/grub".freeze
+      PATH = "/etc/default/grub"
 
       def initialize(file_handler: nil)
         super(AugeasParser.new("sysconfig.lns"), PATH,
           file_handler: file_handler)
       end
 
-      def save(changes_only: false)
+      def save
         # serialize kernel params object before save
         kernels = [@kernel_params, @xen_hypervisor_params, @xen_kernel_params,
                    @recovery_params]
@@ -99,7 +101,7 @@
 
       def cryptodisk
         @cryptodisk ||= BooleanValue.new("GRUB_ENABLE_CRYPTODISK", self,
-          true_value: "y", false_value: "n")
+                                         true_value: "y", false_value: "n")
       end
 
       VALID_TERMINAL_OPTIONS = [:serial, :console, :gfxterm].freeze
@@ -132,7 +134,7 @@
       def terminal=(values)
         values = [] if values.nil?
 
-        msg = "A value is invalid: #{values.inspect}".freeze
+        msg = "A value is invalid: #{values.inspect}"
         invalid = values.any? { |v| !VALID_TERMINAL_OPTIONS.include?(v) }
         raise ArgumentError, msg if invalid
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cfa/grub2/device_map.rb 
new/lib/cfa/grub2/device_map.rb
--- old/lib/cfa/grub2/device_map.rb     2018-08-17 09:27:40.000000000 +0200
+++ new/lib/cfa/grub2/device_map.rb     2019-06-21 10:36:45.000000000 +0200
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require "cfa/base_model"
 require "cfa/augeas_parser"
 require "cfa/placer"
@@ -16,14 +18,14 @@
     #   Limitation is caused by BIOS Int 13 used by grub2 for selecting boot
     #   device.
     class DeviceMap < BaseModel
-      PATH = "/boot/grub2/device.map".freeze
+      PATH = "/boot/grub2/device.map"
 
       def initialize(file_handler: nil)
         super(AugeasParser.new("device_map.lns"), PATH,
           file_handler: file_handler)
       end
 
-      def save(changes_only: false)
+      def save
         raise "Too many grub devices. Limit is 8." if grub_devices.size > 8
 
         super
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cfa/grub2/grub_cfg.rb 
new/lib/cfa/grub2/grub_cfg.rb
--- old/lib/cfa/grub2/grub_cfg.rb       2018-08-17 09:27:40.000000000 +0200
+++ new/lib/cfa/grub2/grub_cfg.rb       2019-06-21 10:36:45.000000000 +0200
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require "cfa/base_model"
 
 module CFA
@@ -7,7 +9,7 @@
     #
     # - List of generated sections including translations
     class GrubCfg < BaseModel
-      PATH = "/boot/grub2/grub.cfg".freeze
+      PATH = "/boot/grub2/grub.cfg"
 
       # @private only internal parser
       class Parser
@@ -25,7 +27,7 @@
 
         def self.serialize(_string)
           raise NotImplementedError,
-            "Serializing not implemented, use grub2 generator"
+                "Serializing not implemented, use grub2 generator"
         end
 
         def self.empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cfa/grub2/install_device.rb 
new/lib/cfa/grub2/install_device.rb
--- old/lib/cfa/grub2/install_device.rb 2018-08-17 09:27:40.000000000 +0200
+++ new/lib/cfa/grub2/install_device.rb 2019-06-21 10:36:45.000000000 +0200
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require "cfa/base_model"
 
 module CFA
@@ -36,7 +38,7 @@
 
     # Model representing configuration in file /etc/default/grub_installdevice
     class InstallDevice < BaseModel
-      PATH = "/etc/default/grub_installdevice".freeze
+      PATH = "/etc/default/grub_installdevice"
 
       def initialize(file_handler: nil)
         super(InstallDeviceParser, PATH, file_handler: file_handler)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-08-17 09:27:58.000000000 +0200
+++ new/metadata        2019-06-21 10:39:00.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: cfa_grub2
 version: !ruby/object:Gem::Version
-  version: 1.0.1
+  version: 2.0.0
 platform: ruby
 authors:
 - Josef Reidinger
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-08-17 00:00:00.000000000 Z
+date: 2019-06-21 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: cfa
@@ -16,14 +16,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '0.5'
+        version: '1.0'
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '0.5'
+        version: '1.0'
 description: Models allowing easy read and modification of GRUB2 configuration 
files.
   It is a plugin for cfa framework.
 email:


Reply via email to