Hello community,

here is the log from the commit of package rubygem-thor for openSUSE:Factory 
checked in at 2019-12-21 12:31:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-thor (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-thor.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-thor"

Sat Dec 21 12:31:55 2019 rev:22 rq:758395 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-thor/rubygem-thor.changes        
2019-12-14 12:23:57.879194021 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-thor.new.6675/rubygem-thor.changes      
2019-12-21 12:32:37.619398777 +0100
@@ -1,0 +2,8 @@
+Fri Dec 20 04:28:59 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 1.0.1
+
+  * Fix thor when `thor/base` and `thor/group` are required without `thor.rb`.
+  * Handle relative source path in `create_link`.
+
+-------------------------------------------------------------------

Old:
----
  thor-1.0.0.gem

New:
----
  thor-1.0.1.gem

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

Other differences:
------------------
++++++ rubygem-thor.spec ++++++
--- /var/tmp/diff_new_pack.DnRWKJ/_old  2019-12-21 12:32:38.003398959 +0100
+++ /var/tmp/diff_new_pack.DnRWKJ/_new  2019-12-21 12:32:38.007398961 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-thor
-Version:        1.0.0
+Version:        1.0.1
 Release:        0
 %define mod_name thor
 %define mod_full_name %{mod_name}-%{version}

++++++ thor-1.0.0.gem -> thor-1.0.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2019-12-13 20:32:01.000000000 +0100
+++ new/CHANGELOG.md    2019-12-17 16:13:21.000000000 +0100
@@ -1,3 +1,7 @@
+# 1.0.1
+* Fix thor when `thor/base` and `thor/group` are required without `thor.rb`.
+* Handle relative source path in `create_link`.
+
 # 1.0.0
 * Drop support to Ruby 1.8 and 1.9.
 * Deprecate relying on default `exit_on_failure?`.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/thor/actions/create_link.rb 
new/lib/thor/actions/create_link.rb
--- old/lib/thor/actions/create_link.rb 2019-12-13 20:32:01.000000000 +0100
+++ new/lib/thor/actions/create_link.rb 2019-12-17 16:13:21.000000000 +0100
@@ -33,7 +33,8 @@
       # Boolean:: true if it is identical, false otherwise.
       #
       def identical?
-        exists? && File.identical?(render, destination)
+        source = File.expand_path(render, File.dirname(destination))
+        exists? && File.identical?(source, destination)
       end
 
       def invoke!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/thor/base.rb new/lib/thor/base.rb
--- old/lib/thor/base.rb        2019-12-13 20:32:01.000000000 +0100
+++ new/lib/thor/base.rb        2019-12-17 16:13:21.000000000 +0100
@@ -22,6 +22,15 @@
 
   TEMPLATE_EXTNAME = ".tt"
 
+  class << self
+    def deprecation_warning(message) #:nodoc:
+      unless ENV['THOR_SILENCE_DEPRECATION']
+        warn "Deprecation warning: #{message}\n" +
+          'You can silence deprecations warning by setting the environment 
variable THOR_SILENCE_DEPRECATION.'
+      end
+    end
+  end
+
   module Base
     attr_accessor :options, :parent_options, :args
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/thor/version.rb new/lib/thor/version.rb
--- old/lib/thor/version.rb     2019-12-13 20:32:01.000000000 +0100
+++ new/lib/thor/version.rb     2019-12-17 16:13:21.000000000 +0100
@@ -1,3 +1,3 @@
 class Thor
-  VERSION = "1.0.0"
+  VERSION = "1.0.1"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/thor.rb new/lib/thor.rb
--- old/lib/thor.rb     2019-12-13 20:32:01.000000000 +0100
+++ new/lib/thor.rb     2019-12-17 16:13:21.000000000 +0100
@@ -344,13 +344,6 @@
       command && disable_required_check.include?(command.name.to_sym)
     end
 
-    def deprecation_warning(message) #:nodoc:
-      unless ENV['THOR_SILENCE_DEPRECATION']
-        warn "Deprecation warning: #{message}\n" +
-          'You can silence deprecations warning by setting the environment 
variable THOR_SILENCE_DEPRECATION.'
-      end
-    end
-
   protected
 
     def stop_on_unknown_option #:nodoc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-12-13 20:32:01.000000000 +0100
+++ new/metadata        2019-12-17 16:13:21.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: thor
 version: !ruby/object:Gem::Version
-  version: 1.0.0
+  version: 1.0.1
 platform: ruby
 authors:
 - Yehuda Katz
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-12-13 00:00:00.000000000 Z
+date: 2019-12-17 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: bundler
@@ -79,7 +79,12 @@
 homepage: http://whatisthor.com/
 licenses:
 - MIT
-metadata: {}
+metadata:
+  bug_tracker_uri: https://github.com/erikhuda/thor/issues
+  changelog_uri: https://github.com/erikhuda/thor/blob/master/CHANGELOG.md
+  documentation_uri: http://whatisthor.com/
+  source_code_uri: https://github.com/erikhuda/thor/tree/v1.0.1
+  wiki_uri: https://github.com/erikhuda/thor/wiki
 post_install_message: 
 rdoc_options: []
 require_paths:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thor.gemspec new/thor.gemspec
--- old/thor.gemspec    2019-12-13 20:32:01.000000000 +0100
+++ new/thor.gemspec    2019-12-17 16:13:21.000000000 +0100
@@ -13,6 +13,13 @@
   spec.homepage = "http://whatisthor.com/";
   spec.licenses = %w(MIT)
   spec.name = "thor"
+  spec.metadata = {
+    "bug_tracker_uri" => "https://github.com/erikhuda/thor/issues";,
+    "changelog_uri" => 
"https://github.com/erikhuda/thor/blob/master/CHANGELOG.md";,
+    "documentation_uri" => "http://whatisthor.com/";,
+    "source_code_uri" => 
"https://github.com/erikhuda/thor/tree/v#{Thor::VERSION}";,
+    "wiki_uri" => "https://github.com/erikhuda/thor/wiki";
+  }
   spec.require_paths = %w(lib)
   spec.required_ruby_version = ">= 2.0.0"
   spec.required_rubygems_version = ">= 1.3.5"


Reply via email to