commit rubygem-mixlib-log for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2020-10-26 16:14:01

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new.3463 (New)


Package is "rubygem-mixlib-log"

Mon Oct 26 16:14:01 2020 rev:12 rq:838053 version:3.0.9

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2020-03-07 21:38:59.232302479 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new.3463/rubygem-mixlib-log.changes
  2020-10-26 16:15:18.850881946 +0100
@@ -1,0 +2,6 @@
+Fri Sep 25 14:19:02 UTC 2020 - Stephan Kulow 
+
+updated to version 3.0.9
+  no changelog found
+
+---

Old:

  mixlib-log-3.0.8.gem

New:

  mixlib-log-3.0.9.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.UBWegT/_old  2020-10-26 16:15:19.866882881 +0100
+++ /var/tmp/diff_new_pack.UBWegT/_new  2020-10-26 16:15:19.870882886 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-log
-Version:3.0.8
+Version:3.0.9
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}

++ mixlib-log-3.0.8.gem -> mixlib-log-3.0.9.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/mixlib/log/formatter.rb 
new/lib/mixlib/log/formatter.rb
--- old/lib/mixlib/log/formatter.rb 2019-12-30 02:02:38.0 +0100
+++ new/lib/mixlib/log/formatter.rb 2020-08-21 20:37:45.0 +0200
@@ -16,7 +16,7 @@
 # limitations under the License.
 
 require "logger"
-require "time"
+require "time" unless defined?(Time.zone_offset)
 
 module Mixlib
   module Log
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log/version.rb 
new/lib/mixlib/log/version.rb
--- old/lib/mixlib/log/version.rb   2019-12-30 02:02:38.0 +0100
+++ new/lib/mixlib/log/version.rb   2020-08-21 20:37:45.0 +0200
@@ -1,5 +1,5 @@
 module Mixlib
   module Log
-VERSION = "3.0.8".freeze
+VERSION = "3.0.9".freeze
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2019-12-30 02:02:38.0 +0100
+++ new/metadata2020-08-21 20:37:45.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-log
 version: !ruby/object:Gem::Version
-  version: 3.0.8
+  version: 3.0.9
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-12-30 00:00:00.0 Z
+date: 2020-08-21 00:00:00.0 Z
 dependencies: []
 description: 
 email: i...@chef.io




commit rubygem-mixlib-log for openSUSE:Factory

2020-03-07 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2020-03-07 21:38:57

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new.26092 (New)


Package is "rubygem-mixlib-log"

Sat Mar  7 21:38:57 2020 rev:11 rq:773791 version:3.0.8

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2019-03-04 09:20:17.504601883 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new.26092/rubygem-mixlib-log.changes
 2020-03-07 21:38:59.232302479 +0100
@@ -1,0 +2,6 @@
+Mon Feb 10 15:09:44 UTC 2020 - Stephan Kulow 
+
+- updated to version 3.0.8
+  no changelog found
+
+---

Old:

  mixlib-log-3.0.1.gem

New:

  mixlib-log-3.0.8.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.Ef8OI7/_old  2020-03-07 21:38:59.796302861 +0100
+++ /var/tmp/diff_new_pack.Ef8OI7/_new  2020-03-07 21:38:59.800302863 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-log
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-log
-Version:3.0.1
+Version:3.0.8
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  %{ruby >= 2.3}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:https://github.com/chef/mixlib-log
+URL:https://github.com/chef/mixlib-log
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A gem that provides a simple mixin for log functionality

++ mixlib-log-3.0.1.gem -> mixlib-log-3.0.8.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/mixlib/log/child.rb new/lib/mixlib/log/child.rb
--- old/lib/mixlib/log/child.rb 2019-01-05 00:30:09.0 +0100
+++ new/lib/mixlib/log/child.rb 2019-12-30 02:02:38.0 +0100
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-require "mixlib/log/logging"
+require_relative "logging"
 
 module Mixlib
   module Log
@@ -36,14 +36,14 @@
   # Note that we *only* query the default logger (@logger) and not any 
other
   # loggers that may have been added, even though it is possible to 
configure
   # two (or more) loggers at different log levels.
-  [:trace?, :debug?, :info?, :warn?, :error?, :fatal?].each do 
|method_name|
+  %i{trace? debug? info? warn? error? fatal?}.each do |method_name|
 define_method(method_name) do
   parent.send(method_name)
 end
   end
 
   def add(severity, message = nil, progname = nil, data: {}, )
-data = metadata.merge(data) if data.kind_of?(Hash)
+data = metadata.merge(data) if data.is_a?(Hash)
 parent.send(:pass, severity, message, progname, data: data, )
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log/formatter.rb 
new/lib/mixlib/log/formatter.rb
--- old/lib/mixlib/log/formatter.rb 2019-01-05 00:30:09.0 +0100
+++ new/lib/mixlib/log/formatter.rb 2019-12-30 02:02:38.0 +0100
@@ -31,7 +31,7 @@
   # Otherwise, doesn't print the time.
   def call(severity, time, progname, msg)
 if @@show_time
-  sprintf("[%s] %s: %s\n", time.iso8601(), severity, msg2str(msg))
+  sprintf("[%s] %s: %s\n", time.iso8601, severity, msg2str(msg))
 else
   sprintf("%s: %s\n", severity, msg2str(msg))
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log/logger.rb new/lib/mixlib/log/logger.rb
--- old/lib/mixlib/log/logger.rb2019-01-05 00:30:09.0 +0100
+++ new/lib/mixlib/log/logger.rb2019-12-30 02:02:38.0 +0100
@@ -1,5 +1,5 @@
 require "logger"
-require "mixlib/log/logging"
+require_relative "logging"
 
 # A subclass of Ruby's stdlib Logger with all the mutex and logrotation stuff
 # ripped out, and metadata added in.
@@ -21,7 +21,7 @@
   #
   # +logdev+::
   #   The log device.  This is a filename (String) or IO object (typically
-  #   +STDOUT+, +STDERR+, or an open file).
+  #   +$stdout+, 

commit rubygem-mixlib-log for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2019-03-04 09:20:16

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new.28833 (New)


Package is "rubygem-mixlib-log"

Mon Mar  4 09:20:16 2019 rev:10 rq:679524 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2018-07-18 22:50:25.591659899 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new.28833/rubygem-mixlib-log.changes
 2019-03-04 09:20:17.504601883 +0100
@@ -1,0 +2,12 @@
+Mon Jan 14 13:46:36 UTC 2019 - Stephan Kulow 
+
+- updated to version 3.0.1
+  no changelog found
+
+---
+Wed Dec 19 07:10:41 UTC 2018 - Stephan Kulow 
+
+- updated to version 2.0.9
+  no changelog found
+
+---

Old:

  mixlib-log-2.0.4.gem

New:

  mixlib-log-3.0.1.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.Sj33xb/_old  2019-03-04 09:20:19.632601500 +0100
+++ /var/tmp/diff_new_pack.Sj33xb/_new  2019-03-04 09:20:19.632601500 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-log
 #
-# 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,15 +24,15 @@
 #
 
 Name:   rubygem-mixlib-log
-Version:2.0.4
+Version:3.0.1
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 2.2}
+BuildRequires:  %{ruby >= 2.3}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:https://www.chef.io
+Url:https://github.com/chef/mixlib-log
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A gem that provides a simple mixin for log functionality
@@ -48,7 +48,7 @@
 
 %install
 %gem_install \
-  --doc-files="LICENSE README.md" \
+  --doc-files="LICENSE" \
   -f
 
 %gem_packages

++ mixlib-log-2.0.4.gem -> mixlib-log-3.0.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2018-04-12 09:45:13.0 +0200
+++ new/Gemfile 1970-01-01 01:00:00.0 +0100
@@ -1,8 +0,0 @@
-source "https://rubygems.org;
-
-gemspec
-
-group :development do
-  gem "rdoc"
-  gem "bundler"
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NOTICE new/NOTICE
--- old/NOTICE  2018-04-12 09:45:13.0 +0200
+++ new/NOTICE  1970-01-01 01:00:00.0 +0100
@@ -1,28 +0,0 @@
-
-Mixin::Log Notices
-
-
-Developed at Chef (http://www.chef.io).
-
-
- * Copyright 2009-2016, Chef Software, Inc. 
-
-Mixin::Log incorporates code from Chef.  The Chef notice file follows:
-
-
-Chef Notices
-
-
-Developed at Chef (http://www.chef.io).
-
-Contributors and Copyright holders:
-
- * Copyright 2008, Adam Jacob 
- * Copyright 2008, Arjuna Christensen 
- * Copyright 2008, Bryan McLellan 
- * Copyright 2008, Ezra Zygmuntowicz 
- * Copyright 2009, Sean Cribbs 
- * Copyright 2009, Christopher Brown 
- * Copyright 2009, Thom May 
-
-Chef incorporates code modified from Open4 
(http://www.codeforpeople.com/lib/ruby/open4/), which was written by Ara T. 
Howard.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2018-04-12 09:45:13.0 +0200
+++ new/README.md   1970-01-01 01:00:00.0 +0100
@@ -1,55 +0,0 @@
-# Mixlib::Log
-
-[![Build Status 
Master](https://travis-ci.org/chef/mixlib-log.svg?branch=master)](https://travis-ci.org/chef/mixlib-log)
 [![Gem 
Version](https://badge.fury.io/rb/mixlib-log.svg)](https://badge.fury.io/rb/mixlib-log)
-
-Mixlib::Log provides a mixin for enabling a class based logger object, a-la 
Merb, Chef, and Nanite. To use it:
-
-```ruby
-require 'mixlib/log'
-
-class Log
-  extend Mixlib::Log
-end
-```
-
-You can then do:
-
-```ruby
-Log.debug('foo')
-Log.info('bar')

commit rubygem-mixlib-log for openSUSE:Factory

2018-07-18 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2018-07-18 22:50:20

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is "rubygem-mixlib-log"

Wed Jul 18 22:50:20 2018 rev:9 rq:621014 version:2.0.4

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2018-03-04 12:52:34.519653564 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2018-07-18 22:50:25.591659899 +0200
@@ -1,0 +2,12 @@
+Thu Apr 12 17:42:18 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 2.0.4
+  no changelog found
+
+---
+Fri Mar 23 05:30:17 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 2.0.3
+  no changelog found
+
+---

Old:

  mixlib-log-2.0.1.gem

New:

  mixlib-log-2.0.4.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.VUR08x/_old  2018-07-18 22:50:26.803655880 +0200
+++ /var/tmp/diff_new_pack.VUR08x/_new  2018-07-18 22:50:26.811655854 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-log
-Version:2.0.1
+Version:2.0.4
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}

++ mixlib-log-2.0.1.gem -> mixlib-log-2.0.4.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/mixlib/log/logger.rb new/lib/mixlib/log/logger.rb
--- old/lib/mixlib/log/logger.rb2018-02-28 16:56:16.0 +0100
+++ new/lib/mixlib/log/logger.rb2018-04-12 09:45:13.0 +0200
@@ -8,6 +8,9 @@
 class Logger < ::Logger
 
   include Logging
+
+  def trace?; @level <= TRACE; end
+
   #
   # === Synopsis
   #
@@ -49,7 +52,7 @@
   data[:msg] = message
 end
 @logdev.write(
-  format_message(format_severity(severity), Time.now, progname, data))
+  format_message(to_label(severity), Time.now, progname, data))
 true
   end
   alias_method :add, :add_data
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log/version.rb 
new/lib/mixlib/log/version.rb
--- old/lib/mixlib/log/version.rb   2018-02-28 16:56:16.0 +0100
+++ new/lib/mixlib/log/version.rb   2018-04-12 09:45:13.0 +0200
@@ -1,5 +1,5 @@
 module Mixlib
   module Log
-VERSION = "2.0.1"
+VERSION = "2.0.4"
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log.rb new/lib/mixlib/log.rb
--- old/lib/mixlib/log.rb   2018-02-28 16:56:16.0 +0100
+++ new/lib/mixlib/log.rb   2018-04-12 09:45:13.0 +0200
@@ -21,6 +21,7 @@
 require "mixlib/log/formatter"
 require "mixlib/log/child"
 require "mixlib/log/logging"
+require "mixlib/log/logger"
 
 module Mixlib
   module Log
@@ -169,11 +170,11 @@
 
 def logger_for(*opts)
   if opts.empty?
-Logger.new(STDOUT)
+Mixlib::Log::Logger.new(STDOUT)
   elsif LEVELS.keys.inject(true) { |quacks, level| quacks && 
opts.first.respond_to?(level) }
 opts.first
   else
-Logger.new(*opts)
+Mixlib::Log::Logger.new(*opts)
   end
 end
 
@@ -189,7 +190,7 @@
 # via public API. In order to reduce amount of impact and
 # handle only File type log devices I had to use this method
 # to get access to it.
-next unless logdev = logger.instance_variable_get(:"@logdev")
+next unless (logdev = logger.instance_variable_get(:"@logdev"))
 loggers_to_close << logger if logdev.filename
   end
   loggers_to_close
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2018-02-28 16:56:16.0 +0100
+++ new/metadata2018-04-12 09:45:13.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-log
 version: !ruby/object:Gem::Version
-  version: 2.0.1
+  version: 2.0.4
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-02-28 00:00:00.0 Z
+date: 2018-04-12 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -126,7 +126,7 @@
   version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.7.3
+rubygems_version: 2.7.6
 signing_key: 
 specification_version: 

commit rubygem-mixlib-log for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2018-03-04 12:51:52

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is "rubygem-mixlib-log"

Sun Mar  4 12:51:52 2018 rev:8 rq:582164 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2016-08-17 12:04:23.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2018-03-04 12:52:34.519653564 +0100
@@ -1,0 +2,12 @@
+Thu Mar  1 05:30:19 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 2.0.1
+  no changelog found
+
+---
+Wed Feb 28 05:30:57 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 2.0.0
+  no changelog found
+
+---

Old:

  mixlib-log-1.7.1.gem

New:

  mixlib-log-2.0.1.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.WjFIX7/_old  2018-03-04 12:52:35.051634178 +0100
+++ /var/tmp/diff_new_pack.WjFIX7/_new  2018-03-04 12:52:35.055634033 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-log
 #
-# Copyright (c) 2016 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
@@ -24,16 +24,16 @@
 #
 
 Name:   rubygem-mixlib-log
-Version:1.7.1
+Version:2.0.1
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby >= 2.2}
 BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
 Url:https://www.chef.io
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A gem that provides a simple mixin for log functionality
 License:Apache-2.0

++ mixlib-log-1.7.1.gem -> mixlib-log-2.0.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2016-08-12 20:44:41.0 +0200
+++ new/Gemfile 2018-02-28 16:56:16.0 +0100
@@ -5,5 +5,4 @@
 group :development do
   gem "rdoc"
   gem "bundler"
-  gem "rack", "< 2.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2016-08-12 20:44:41.0 +0200
+++ new/README.md   2018-02-28 16:56:16.0 +0100
@@ -22,7 +22,7 @@
 Log.fatal('wewt')
 ```
 
-By default, `Mixlib::Logger` logs to STDOUT. To alter this, you should call 
+Log.init+, passing any arguments to the standard Ruby Logger. For example:
+By default, `Mixlib::Logger` logs to STDOUT. To alter this, you should call 
`Log.init`, passing any arguments to the standard Ruby Logger. For example:
 
 ```ruby
 Log.init('/tmp/logfile')  # log to /tmp/logfile   
@@ -31,7 +31,11 @@
 
 Enjoy!
 
-## LICENSE:
+## Contributing
+
+For information on contributing to this project see 

+
+## License
 
 - Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
 - License:: Apache License, Version 2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2016-08-12 20:44:41.0 +0200
+++ new/Rakefile2018-02-28 16:56:16.0 +0100
@@ -7,7 +7,7 @@
   spec.pattern = "spec/**/*_spec.rb"
 end
 
-task :default => :spec
+task default: [:style, :spec, :features]
 
 # For rubygems-test
 task :test => :spec
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log/child.rb new/lib/mixlib/log/child.rb
--- old/lib/mixlib/log/child.rb 1970-01-01 01:00:00.0 +0100
+++ new/lib/mixlib/log/child.rb 2018-02-28 16:56:16.0 +0100
@@ -0,0 +1,61 @@
+#
+# Copyright:: Copyright (c) 2018 Chef Software, Inc.
+# License:: Apache License, Version 2.0
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed 

commit rubygem-mixlib-log for openSUSE:Factory

2016-08-17 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2016-08-17 12:04:20

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is "rubygem-mixlib-log"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2016-08-09 22:15:09.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2016-08-17 12:04:23.0 +0200
@@ -1,0 +2,6 @@
+Sat Aug 13 04:33:25 UTC 2016 - co...@suse.com
+
+- updated to version 1.7.1
+  no changelog found
+
+---

Old:

  mixlib-log-1.7.0.gem

New:

  mixlib-log-1.7.1.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.RHNyPl/_old  2016-08-17 12:04:25.0 +0200
+++ /var/tmp/diff_new_pack.RHNyPl/_new  2016-08-17 12:04:25.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-mixlib-log
-Version:1.7.0
+Version:1.7.1
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}

++ mixlib-log-1.7.0.gem -> mixlib-log-1.7.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2016-08-04 12:56:12.0 +0200
+++ new/Gemfile 2016-08-12 20:44:41.0 +0200
@@ -5,4 +5,5 @@
 group :development do
   gem "rdoc"
   gem "bundler"
+  gem "rack", "< 2.0"
 end
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log/version.rb 
new/lib/mixlib/log/version.rb
--- old/lib/mixlib/log/version.rb   2016-08-04 12:56:12.0 +0200
+++ new/lib/mixlib/log/version.rb   2016-08-12 20:44:41.0 +0200
@@ -1,5 +1,5 @@
 module Mixlib
   module Log
-VERSION = "1.7.0"
+VERSION = "1.7.1"
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/log.rb new/lib/mixlib/log.rb
--- old/lib/mixlib/log.rb   2016-08-04 12:56:12.0 +0200
+++ new/lib/mixlib/log.rb   2016-08-12 20:44:41.0 +0200
@@ -66,6 +66,7 @@
   "You gave: #{other.inspect}"
 raise ArgumentError, msg
   end
+  @configured = true
 end
 
 # Use Mixlib::Log.init when you want to set up the logger manually.  
Arguments to this method
@@ -80,9 +81,15 @@
   @logger = logger_for(*opts)
   @logger.formatter = Mixlib::Log::Formatter.new() if 
@logger.respond_to?(:formatter=)
   @logger.level = Logger::WARN
+  @configured = true
   @logger
 end
 
+# Let the application query if logging objects have been set up
+def configured?
+  @configured
+end
+
 # Sets the level for the Logger object by symbol.  Valid arguments are:
 #
 #  :debug
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2016-08-04 12:56:12.0 +0200
+++ new/metadata2016-08-12 20:44:41.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-log
 version: !ruby/object:Gem::Version
-  version: 1.7.0
+  version: 1.7.1
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-08-04 00:00:00.0 Z
+date: 2016-08-12 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -122,7 +122,7 @@
   version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5.1
+rubygems_version: 2.6.4
 signing_key: 
 specification_version: 4
 summary: A gem that provides a simple mixin for log functionality
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/mixlib/log_spec.rb new/spec/mixlib/log_spec.rb
--- old/spec/mixlib/log_spec.rb 2016-08-04 12:56:12.0 +0200
+++ new/spec/mixlib/log_spec.rb 2016-08-12 20:44:41.0 +0200
@@ -79,6 +79,11 @@
 expect(second_logdev.string).to match(/SECOND/)
   end
 
+  it "knows that it's been configured" do
+Logit.init
+expect(Logit.configured?).to be true
+  end
+
   it "should set the log level using the binding form,  with :debug, :info, 
:warn, :error, or :fatal" do
 levels = {
   :debug => Logger::DEBUG,




commit rubygem-mixlib-log for openSUSE:Factory

2016-08-09 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2016-08-09 22:15:08

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is "rubygem-mixlib-log"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2014-10-23 14:20:47.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2016-08-09 22:15:09.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug  5 04:36:58 UTC 2016 - co...@suse.com
+
+- updated to version 1.7.0
+  no changelog found
+
+---

Old:

  mixlib-log-1.6.0.gem

New:

  gem2rpm.yml
  mixlib-log-1.7.0.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.bRomDY/_old  2016-08-09 22:15:10.0 +0200
+++ /var/tmp/diff_new_pack.bRomDY/_new  2016-08-09 22:15:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-log
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,8 +16,15 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-mixlib-log
-Version:1.6.0
+Version:1.7.0
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}
@@ -25,8 +32,9 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
-Url:http://www.opscode.com
+Url:https://www.chef.io
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:A gem that provides a simple mixin for log functionality
 License:Apache-2.0
 Group:  Development/Languages/Ruby
@@ -40,7 +48,7 @@
 
 %install
 %gem_install \
-  --doc-files="README.rdoc LICENSE" \
+  --doc-files="LICENSE README.md" \
   -f
 
 %gem_packages

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
#   BuildRequires: foobar
#   Requires: foobar
# ## used by gem2rpm
# :patches:
#   foo.patch: -p1
#   bar.patch: 
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: ''
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV="no"
#   %endif
# ## used by gem2rpm
# :post_install: |-
#   # delete custom files here or do other fancy stuff
#   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
#   /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
#   :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
#   :preamble: |-
# Requires: util-linux
# Recommends: pwgen
#   :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
#   apache:
# :preamble: |-
#   Requires: .
# :filelist: |-
#   /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
#   Custom description is optional
#
#   bar
# :post: |-
#   /bin/echo foo
#
++ mixlib-log-1.6.0.gem -> mixlib-log-1.7.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 1970-01-01 01:00:00.0 +0100
+++ new/Gemfile 2016-08-04 12:56:12.0 +0200
@@ -0,0 +1,8 @@
+source "https://rubygems.org;
+
+gemspec
+
+group :development do
+  gem "rdoc"
+  gem "bundler"
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NOTICE new/NOTICE
--- old/NOTICE  1970-01-01 01:00:00.0 +0100
+++ new/NOTICE  2016-08-04 12:56:12.0 +0200
@@ -1,27 +1,28 @@
-Mixin::Log NOTICE
-=
+

commit rubygem-mixlib-log for openSUSE:Factory

2014-10-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2014-10-23 14:20:37

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is rubygem-mixlib-log

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2013-06-13 22:32:02.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2014-10-23 14:20:47.0 +0200
@@ -1,0 +2,5 @@
+Wed Oct 22 07:27:33 UTC 2014 - tboer...@suse.com
+
+- Updated to new ruby macros
+
+---



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.S29RYO/_old  2014-10-23 14:20:49.0 +0200
+++ /var/tmp/diff_new_pack.S29RYO/_new  2014-10-23 14:20:49.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-log
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,9 +21,10 @@
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros = 5
 Url:http://www.opscode.com
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:A gem that provides a simple mixin for log functionality
@@ -31,52 +32,17 @@
 Group:  Development/Languages/Ruby
 
 %description
-A gem that provides a simple mixin for log functionality
-
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
+A gem that provides a simple mixin for log functionality.
 
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
+%gem_install \
+  --doc-files=README.rdoc LICENSE \
+  -f
+
+%gem_packages
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-mixlib-log for openSUSE:Factory

2013-06-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2013-06-13 22:32:00

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is rubygem-mixlib-log

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-mixlib-log/rubygem-mixlib-log.changes
2013-04-08 14:55:51.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2013-06-13 22:32:02.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun  4 05:41:21 UTC 2013 - co...@suse.com
+
+- updated to version 1.6.0, no changelog
+
+---

Old:

  mixlib-log-1.4.1.gem

New:

  mixlib-log-1.6.0.gem



Other differences:
--
++ rubygem-mixlib-log.spec ++
--- /var/tmp/diff_new_pack.nyqZcv/_old  2013-06-13 22:32:02.0 +0200
+++ /var/tmp/diff_new_pack.nyqZcv/_new  2013-06-13 22:32:02.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-log
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products 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-mixlib-log
-Version:1.4.1
+Version:1.6.0
 Release:0
 %define mod_name mixlib-log
 %define mod_full_name %{mod_name}-%{version}
@@ -25,7 +25,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
 Url:http://www.opscode.com
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:A gem that provides a simple mixin for log functionality
 License:Apache-2.0
 Group:  Development/Languages/Ruby
@@ -59,9 +59,13 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-mixlib-log for openSUSE:Factory

2013-04-08 Thread h_root
Hello community,

here is the log from the commit of package rubygem-mixlib-log for 
openSUSE:Factory checked in at 2013-04-08 14:55:50

Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-log (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new (New)


Package is rubygem-mixlib-log, Maintainer is radma...@suse.com

Changes:

New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-log.new/rubygem-mixlib-log.changes   
2013-04-08 14:55:51.0 +0200
@@ -0,0 +1,25 @@
+---
+Fri Apr  5 11:17:02 UTC 2013 - speili...@suse.com
+
+- Set license to Apache-2.0
+
+---
+Wed Aug  1 05:05:27 UTC 2012 - co...@suse.com
+
+- updated to version 1.4.1
+
+---
+Thu Apr 21 23:45:47 CEST 2011 - bere...@b1-systems.de
+
+- update to version 1.3.0
+
+---
+Wed Nov 24 15:31:01 UTC 2010 - seife+...@b1-systems.com
+
+- spec recreated by gem2rpm-opensuse
+
+---
+Mon Nov 22 15:31:57 UTC 2010 - seife+...@b1-systems.com
+
+- initial package (spec partly imported from fedora)
+

New:

  mixlib-log-1.4.1.gem
  rubygem-mixlib-log.changes
  rubygem-mixlib-log.spec



Other differences:
--
++ rubygem-mixlib-log.spec ++
#
# spec file for package rubygem-mixlib-log
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   rubygem-mixlib-log
Version:1.4.1
Release:0
%define mod_name mixlib-log
%define mod_full_name %{mod_name}-%{version}

BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby-macros = 1
Url:http://www.opscode.com
Source: %{mod_full_name}.gem
Summary:A gem that provides a simple mixin for log functionality
License:Apache-2.0
Group:  Development/Languages/Ruby

%description
A gem that provides a simple mixin for log functionality

%package doc
Summary:RDoc documentation for %{mod_name}
Group:  Development/Languages/Ruby
Requires:   %{name} = %{version}

%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.

%package testsuite
Summary:Test suite for %{mod_name}
Group:  Development/Languages/Ruby
Requires:   %{name} = %{version}

%description testsuite
Test::Unit or RSpec files, useful for developers.

%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
#gem_build

%build

%install
%gem_install -f

%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

%files testsuite
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org