Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-sdoc for openSUSE:Factory 
checked in at 2022-04-30 22:52:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sdoc (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-sdoc.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-sdoc"

Sat Apr 30 22:52:52 2022 rev:7 rq:974077 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sdoc/rubygem-sdoc.changes        
2021-07-02 13:28:50.260122529 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sdoc.new.1538/rubygem-sdoc.changes      
2022-04-30 22:53:03.844266970 +0200
@@ -1,0 +2,27 @@
+Thu Apr 28 05:49:47 UTC 2022 - Stephan Kulow <co...@suse.com>
+
+updated to version 2.3.2
+ see installed CHANGELOG.md
+
+  2.3.2
+  =====
+  
+  * #184 Add support for rdoc 6.4.0 [@p8](https://github.com/p8)
+  
+  2.3.1
+  =====
+  
+  * #183 Remove unsupported browser detection  [@p8](https://github.com/p8)
+  * #182 Use window.location instead of Turbolinks.visit if protocol is 
'file:' [@p8](https://github.com/p8)
+  
+  2.3.0
+  =====
+  
+  * #178 Don't use rdoc 6.4.0 for now [@p8](https://github.com/p8)
+  * #177 Remove rake version constraint for ruby head 
[@p8](https://github.com/p8)
+  * #176 Make sidepanel work with relative paths/URLs 
[@p8](https://github.com/p8)
+  * #175 Avoid displaying source toggler for ghost methods [Robin 
Dupret](https://github.com/robin850)
+  * #174 Suppress unused variable warnings [Masataka Pocke 
Kuwabara](https://github.com/pocke)
+  
+
+-------------------------------------------------------------------

Old:
----
  sdoc-2.2.0.gem

New:
----
  sdoc-2.3.2.gem

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

Other differences:
------------------
++++++ rubygem-sdoc.spec ++++++
--- /var/tmp/diff_new_pack.XuP7WP/_old  2022-04-30 22:53:05.212268821 +0200
+++ /var/tmp/diff_new_pack.XuP7WP/_new  2022-04-30 22:53:05.216268827 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-sdoc
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 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-sdoc
-Version:        2.2.0
+Version:        2.3.2
 Release:        0
 %define mod_name sdoc
 %define mod_full_name %{mod_name}-%{version}

++++++ sdoc-2.2.0.gem -> sdoc-2.3.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.github/workflows/test.yml 
new/.github/workflows/test.yml
--- old/.github/workflows/test.yml      2021-05-21 10:01:34.000000000 +0200
+++ new/.github/workflows/test.yml      2022-04-22 09:57:47.000000000 +0200
@@ -2,6 +2,8 @@
 
 on:
   push:
+  pull_request:
+    branches: [ master ]
   schedule:
     - cron: '0 0 * * *'
 
@@ -31,6 +33,7 @@
         with:
           ruby-version: ${{ matrix.ruby }}
           bundler-cache: true
+          cache-version: 2
 
       - name: Test
         run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2021-05-21 10:01:34.000000000 +0200
+++ new/CHANGELOG.md    2022-04-22 09:57:47.000000000 +0200
@@ -1,6 +1,26 @@
 Master
 ======
 
+2.3.2
+=====
+
+* #184 Add support for rdoc 6.4.0 [@p8](https://github.com/p8)
+
+2.3.1
+=====
+
+* #183 Remove unsupported browser detection  [@p8](https://github.com/p8)
+* #182 Use window.location instead of Turbolinks.visit if protocol is 'file:' 
[@p8](https://github.com/p8)
+
+2.3.0
+=====
+
+* #178 Don't use rdoc 6.4.0 for now [@p8](https://github.com/p8)
+* #177 Remove rake version constraint for ruby head 
[@p8](https://github.com/p8)
+* #176 Make sidepanel work with relative paths/URLs 
[@p8](https://github.com/p8)
+* #175 Avoid displaying source toggler for ghost methods [Robin 
Dupret](https://github.com/robin850)
+* #174 Suppress unused variable warnings [Masataka Pocke 
Kuwabara](https://github.com/pocke)
+
 2.2.0
 =====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2021-05-21 10:01:34.000000000 +0200
+++ new/Gemfile 2022-04-22 09:57:47.000000000 +0200
@@ -2,9 +2,15 @@
 
 gemspec
 
-gem "rake", "< 11"
-gem "minitest"
+gem "rack"
+gem "rake"
 gem "hoe"
+gem "minitest"
+
+
+if RUBY_VERSION.to_f <= 2.5
+  gem "psych", "< 4.0"
+end
 
 if ENV["rdoc"] == "master"
   gem "rdoc", :github => "ruby/rdoc"
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rdoc/generator/template/rails/_context.rhtml 
new/lib/rdoc/generator/template/rails/_context.rhtml
--- old/lib/rdoc/generator/template/rails/_context.rhtml        2021-05-21 
10:01:34.000000000 +0200
+++ new/lib/rdoc/generator/template/rails/_context.rhtml        2022-04-22 
09:57:47.000000000 +0200
@@ -195,12 +195,20 @@
                 else
                   false
                 end
+
+                ghost = method.instance_of?(RDoc::GhostMethod)
               %>
               <p class="source-link">
-                Source:
-                <a href="javascript:toggleSource('<%= method.aref %>_source')" 
id="l_<%= method.aref %>_source">show</a>
+                <% if !ghost || github %> Source: <% end %>
+
+                <% unless ghost %>
+                  <a href="javascript:toggleSource('<%= method.aref 
%>_source')" id="l_<%= method.aref %>_source">show</a>
+                <% end %>
+
+                <% if !ghost && github %> | <% end %>
+
                 <% if github %>
-                  | <a href="<%= "#{github}#L#{line}" %>" target="_blank" 
class="github_url">on GitHub</a>
+                  <a href="<%= "#{github}#L#{line}" %>" target="_blank" 
class="github_url">on GitHub</a>
                 <% end %>
               </p>
               <div id="<%= method.aref %>_source" class="dyn-source">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rdoc/generator/template/rails/_head.rhtml 
new/lib/rdoc/generator/template/rails/_head.rhtml
--- old/lib/rdoc/generator/template/rails/_head.rhtml   2021-05-21 
10:01:34.000000000 +0200
+++ new/lib/rdoc/generator/template/rails/_head.rhtml   2022-04-22 
09:57:47.000000000 +0200
@@ -1,22 +1,14 @@
-<%
-  # Turbolinks does not consider relative urls similar, resulting in page
-  # reloads and losing the context of the panel. Emptying the rel_prefix makes
-  # asset paths absolute. This breaks opening the docs locally. Maybe all
-  # generated docs should be in the same folder?
-  rel_prefix = ''
-%>
-<link rel="stylesheet" href="<%= "#{rel_prefix}/css/reset.css" %>" 
type="text/css" media="screen" data-turbolinks-track="reload" />
-<link rel="stylesheet" href="<%= "#{rel_prefix}/css/panel.css" %>" 
type="text/css" media="screen" data-turbolinks-track="reload" />
-<link rel="stylesheet" href="<%= "#{rel_prefix}/css/main.css" %>" 
type="text/css" media="screen" data-turbolinks-track="reload" />
-<link rel="stylesheet" href="<%= "#{rel_prefix}/css/github.css" %>" 
type="text/css" media="screen" data-turbolinks-track="reload" />
-<script src="<%= "#{rel_prefix}/js/jquery-3.5.1.min.js" %>" 
type="text/javascript" charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= "#{rel_prefix}/js/main.js" %>" type="text/javascript" 
charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= "#{rel_prefix}/js/highlight.pack.js" %>" 
type="text/javascript" charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= rel_prefix %>/js/turbolinks.js" type="text/javascript" 
charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= rel_prefix %>/js/search_index.js" type="text/javascript" 
charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= rel_prefix %>/js/searcher.js" type="text/javascript" 
charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= rel_prefix %>/panel/tree.js" type="text/javascript" 
charset="utf-8" data-turbolinks-track="reload"></script>
-<script src="<%= rel_prefix %>/js/searchdoc.js" type="text/javascript" 
charset="utf-8" data-turbolinks-track="reload"></script>
-
+<link rel="stylesheet" href="<%= rel_prefix %>/css/reset.css" type="text/css" 
media="screen" />
+<link rel="stylesheet" href="<%= rel_prefix %>/css/panel.css" type="text/css" 
media="screen" />
+<link rel="stylesheet" href="<%= rel_prefix %>/css/main.css" type="text/css" 
media="screen" />
+<link rel="stylesheet" href="<%= rel_prefix %>/css/github.css" type="text/css" 
media="screen" />
+<script src="<%= rel_prefix %>/js/jquery-3.5.1.min.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/js/main.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/js/highlight.pack.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/js/turbolinks.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/js/search_index.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/js/searcher.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/panel/tree.js" type="text/javascript" 
charset="utf-8"></script>
+<script src="<%= rel_prefix %>/js/searchdoc.js" type="text/javascript" 
charset="utf-8"></script>
 <meta name="data-rel-prefix" content="<%= rel_prefix %>/">
 <meta name="data-tree-keys" content='<%= tree_keys %>'>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rdoc/generator/template/rails/resources/js/main.js 
new/lib/rdoc/generator/template/rails/resources/js/main.js
--- old/lib/rdoc/generator/template/rails/resources/js/main.js  2021-05-21 
10:01:34.000000000 +0200
+++ new/lib/rdoc/generator/template/rails/resources/js/main.js  2022-04-22 
09:57:47.000000000 +0200
@@ -31,7 +31,7 @@
   // Only initialize panel if not yet initialized
   if(!$('#panel .tree ul li').length) {
     $('#links').hide();
-    var panel = new Searchdoc.Panel($('#panel'), search_data, tree, 
$('meta[name="data-rel-prefix"]').attr("content"));
+    var panel = new Searchdoc.Panel($('#panel'), search_data, tree);
     var s = window.location.search.match(/\?q=([^&]+)/);
     if (s) {
       s = decodeURIComponent(s[1]).replace(/\+/g, ' ');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rdoc/generator/template/rails/resources/js/searchdoc.js 
new/lib/rdoc/generator/template/rails/resources/js/searchdoc.js
--- old/lib/rdoc/generator/template/rails/resources/js/searchdoc.js     
2021-05-21 10:01:34.000000000 +0200
+++ new/lib/rdoc/generator/template/rails/resources/js/searchdoc.js     
2022-04-22 09:57:47.000000000 +0200
@@ -89,7 +89,6 @@
     };
 
     this.startMoveTimeout = function(isDown) {
-        if (!$.browser.mozilla && !$.browser.opera) return;
         if (this.moveTimeout) this.clearMoveTimeout();
         var _this = this;
 
@@ -135,11 +134,10 @@
 
 // panel.js -----------------------------------------------
 
-Searchdoc.Panel = function(element, data, tree, prefix) {
+Searchdoc.Panel = function(element, data, tree) {
     this.$element = $(element);
     this.$input = $('input', element).eq(0);
     this.$result = $('.result ul', element).eq(0);
-    this.prefix = prefix;
     this.$current = null;
     this.$view = this.$result.parent();
     this.data = data;
@@ -232,12 +230,17 @@
     };
 
     this.open = function(src) {
-        Turbolinks.visit(this.prefix + src);
+        var location = $('meta[name="data-rel-prefix"]').attr("content") + src;
+        if (window.location.protocol === "file:") {
+            window.location.href = location;
+        } else {
+            Turbolinks.visit(location);
+        }
         if (this.highlight) this.highlight(src);
     };
 
     this.select = function() {
-        this.open(this.$current.data('path'));
+        this.open(this.$current.attr('data-path'));
     };
 
     this.move = function(isDown) {
@@ -266,7 +269,7 @@
         html += hlt(result.namespace) + '</p>';
         if (result.snippet) html += '<p class="snippet">' + 
stripHTML(result.snippet) + '</p>';
         li.innerHTML = html;
-        jQuery.data(li, 'path', result.path);
+        $(li).attr('data-path', result.path)
         return li;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rdoc/generator/template/sdoc/_context.rhtml 
new/lib/rdoc/generator/template/sdoc/_context.rhtml
--- old/lib/rdoc/generator/template/sdoc/_context.rhtml 2021-05-21 
10:01:34.000000000 +0200
+++ new/lib/rdoc/generator/template/sdoc/_context.rhtml 2022-04-22 
09:57:47.000000000 +0200
@@ -195,12 +195,20 @@
                 else
                   false
                 end
+
+                ghost = method.instance_of?(RDoc::GhostMethod)
               %>
               <p class="source-link">
-                Source:
-                <a href="javascript:toggleSource('<%= method.aref %>_source')" 
id="l_<%= method.aref %>_source">show</a>
+                <% if !ghost || github %> Source: <% end %>
+
+                <% unless ghost %>
+                  <a href="javascript:toggleSource('<%= method.aref 
%>_source')" id="l_<%= method.aref %>_source">show</a>
+                <% end %>
+
+                <% if !ghost && github %> | <% end %>
+
                 <% if github %>
-                  | <a href="<%= "#{github}#L#{line}" %>" target="_blank" 
class="github_url">on GitHub</a>
+                  <a href="<%= "#{github}#L#{line}" %>" target="_blank" 
class="github_url">on GitHub</a>
                 <% end %>
               </p>
               <div id="<%= method.aref %>_source" class="dyn-source">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sdoc/generator.rb new/lib/sdoc/generator.rb
--- old/lib/sdoc/generator.rb   2021-05-21 10:01:34.000000000 +0200
+++ new/lib/sdoc/generator.rb   2022-04-22 09:57:47.000000000 +0200
@@ -118,7 +118,7 @@
     debug_msg "Generating index file in #@outputdir"
     templatefile = @template_dir + 'index.rhtml'
     outfile      = @outputdir + 'index.html'
-    rel_prefix  = @outputdir.relative_path_from( outfile.dirname )
+    rel_prefix = rel_prefix  = @outputdir.relative_path_from( outfile.dirname )
 
     self.render_template( templatefile, binding(), outfile ) unless 
@options.dry_run
   end
@@ -131,7 +131,7 @@
     @classes.each do |klass|
       debug_msg "  working on %s (%s)" % [ klass.full_name, klass.path ]
       outfile     = @outputdir + klass.path
-      rel_prefix  = @outputdir.relative_path_from( outfile.dirname )
+      rel_prefix = rel_prefix  = @outputdir.relative_path_from( 
outfile.dirname )
 
       debug_msg "  rendering #{outfile}"
       self.render_template( templatefile, binding(), outfile ) unless 
@options.dry_run
@@ -146,7 +146,7 @@
     @files.each do |file|
       outfile     = @outputdir + file.path
       debug_msg "  working on %s (%s)" % [ file.full_name, outfile ]
-      rel_prefix  = @outputdir.relative_path_from( outfile.dirname )
+      rel_prefix = rel_prefix  = @outputdir.relative_path_from( 
outfile.dirname )
 
       debug_msg "  rendering #{outfile}"
       self.render_template( templatefile, binding(), outfile ) unless 
@options.dry_run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sdoc/templatable.rb new/lib/sdoc/templatable.rb
--- old/lib/sdoc/templatable.rb 2021-05-21 10:01:34.000000000 +0200
+++ new/lib/sdoc/templatable.rb 2022-04-22 09:57:47.000000000 +0200
@@ -28,7 +28,7 @@
   ### current context. Adds all +local_assigns+ to context
   def include_template(template_name, local_assigns = {})
     source = local_assigns.keys.map { |key| "#{key} = local_assigns[:#{key}];" 
}.join
-    templatefile = @template_dir + template_name
+    templatefile = templatefile = @template_dir + template_name
     eval("#{source};eval_template(templatefile, binding)")
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sdoc/version.rb new/lib/sdoc/version.rb
--- old/lib/sdoc/version.rb     2021-05-21 10:01:34.000000000 +0200
+++ new/lib/sdoc/version.rb     2022-04-22 09:57:47.000000000 +0200
@@ -1,3 +1,3 @@
 module SDoc
-  VERSION = '2.2.0'
+  VERSION = '2.3.2'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-05-21 10:01:34.000000000 +0200
+++ new/metadata        2022-04-22 09:57:47.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sdoc
 version: !ruby/object:Gem::Version
-  version: 2.2.0
+  version: 2.3.2
 platform: ruby
 authors:
 - Vladimir Kolesnikov
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2021-05-21 00:00:00.000000000 Z
+date: 2022-04-22 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rdoc
@@ -27,20 +27,6 @@
     - - ">="
       - !ruby/object:Gem::Version
         version: '5.0'
-- !ruby/object:Gem::Dependency
-  name: rack
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: '0'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: '0'
 description: rdoc generator html with javascript search index.
 email: vol...@gmail.com m...@zzak.io
 executables:
@@ -137,7 +123,7 @@
     - !ruby/object:Gem::Version
       version: 1.3.6
 requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.0.3.1
 signing_key: 
 specification_version: 4
 summary: rdoc html with javascript search index.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdoc.gemspec new/sdoc.gemspec
--- old/sdoc.gemspec    2021-05-21 10:01:34.000000000 +0200
+++ new/sdoc.gemspec    2022-04-22 09:57:47.000000000 +0200
@@ -24,8 +24,6 @@
 
   s.add_runtime_dependency("rdoc", ">= 5.0")
 
-  s.add_development_dependency("rack")
-
   s.files         = `git ls-files`.split("\n")
   s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| 
File.basename(f) }
 end

Reply via email to