Hello community,

here is the log from the commit of package rubygem-cfa for openSUSE:Factory 
checked in at 2018-03-11 18:02:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-cfa (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-cfa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-cfa"

Sun Mar 11 18:02:46 2018 rev:8 rq:585025 version:0.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-cfa/rubygem-cfa.changes  2017-07-17 
10:31:34.184195844 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-cfa.new/rubygem-cfa.changes     
2018-03-11 18:02:47.644248318 +0100
@@ -1,0 +2,8 @@
+Thu Mar  8 07:13:41 UTC 2018 - jreidin...@suse.com
+
+- Workaround for augeas lenses that don't handle files without
+  a trailing newline (bsc#1064623, bsc#1074891, bsc#1080051
+  and gh#hercules-team/augeas#547)
+- 0.6.3
+
+-------------------------------------------------------------------

Old:
----
  cfa-0.6.2.gem

New:
----
  cfa-0.6.3.gem

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

Other differences:
------------------
++++++ rubygem-cfa.spec ++++++
--- /var/tmp/diff_new_pack.fqzi9d/_old  2018-03-11 18:02:48.496217775 +0100
+++ /var/tmp/diff_new_pack.fqzi9d/_new  2018-03-11 18:02:48.500217632 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-cfa
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-cfa
-Version:        0.6.2
+Version:        0.6.3
 Release:        0
 %define mod_name cfa
 %define mod_full_name %{mod_name}-%{version}
@@ -28,7 +28,7 @@
 Url:            http://github.com/config-files-api/config_files_api
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        CFA (Config Files API) provides an easy way to create models 
on top
-License:        LGPL-3.0
+License:        LGPL-3.0-only
 Group:          Development/Languages/Ruby
 
 %description

++++++ cfa-0.6.2.gem -> cfa-0.6.3.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/augeas_parser.rb new/lib/cfa/augeas_parser.rb
--- old/lib/cfa/augeas_parser.rb        2017-07-14 12:40:17.000000000 +0200
+++ new/lib/cfa/augeas_parser.rb        2018-03-09 14:50:46.000000000 +0100
@@ -313,6 +313,10 @@
     # @return [AugeasTree] the parsed data
     def parse(raw_string)
       require "cfa/augeas_parser/reader"
+      # Workaround for augeas lenses that don't handle files
+      # without a trailing newline (bsc#1064623, bsc#1074891, bsc#1080051
+      # and gh#hercules-team/augeas#547)
+      raw_string += "\n" unless raw_string.end_with?("\n")
       @old_content = raw_string
 
       # open augeas without any autoloading and it should not touch disk and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cfa/base_model.rb new/lib/cfa/base_model.rb
--- old/lib/cfa/base_model.rb   2017-07-14 12:40:17.000000000 +0200
+++ new/lib/cfa/base_model.rb   2018-03-09 14:50:46.000000000 +0100
@@ -70,7 +70,6 @@
       tree[key]
     end
 
-    # rubocop:disable Style/TrivialAccessors
     # Returns if configuration was already loaded
     def loaded?
       @loaded
@@ -82,11 +81,11 @@
       @default_file_handler ||= File
     end
 
-    # Sets default file handler. Useful when needed to change default like if
-    # whole program use non standard file reading.
-    # @param value for value specification see constructor
-    def self.default_file_handler=(value)
-      @default_file_handler = value
+    class << self
+      # Sets default file handler. Useful when needed to change default like if
+      # whole program use non standard file reading.
+      # @param value for value specification see constructor
+      attr_writer :default_file_handler
     end
 
     # Generates accessors for trivial key-value attributes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-07-14 12:41:20.000000000 +0200
+++ new/metadata        2018-03-09 14:52:12.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: cfa
 version: !ruby/object:Gem::Version
-  version: 0.6.2
+  version: 0.6.3
 platform: ruby
 authors:
 - Josef Reidinger
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-07-14 00:00:00.000000000 Z
+date: 2018-03-09 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: ruby-augeas
@@ -61,10 +61,9 @@
       version: 1.3.6
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.2.5
+rubygems_version: 2.7.3
 signing_key: 
 specification_version: 4
 summary: CFA (Config Files API) provides an easy way to create models on top 
of configuration
   files
 test_files: []
-has_rdoc: 


Reply via email to