Hello community, here is the log from the commit of package rubygem-sdoc for openSUSE:Factory checked in at 2020-04-21 13:13:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sdoc (Old) and /work/SRC/openSUSE:Factory/.rubygem-sdoc.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sdoc" Tue Apr 21 13:13:29 2020 rev:4 rq:795274 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sdoc/rubygem-sdoc.changes 2018-03-06 10:45:59.579090935 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sdoc.new.2738/rubygem-sdoc.changes 2020-04-21 13:13:32.829156913 +0200 @@ -1,0 +2,7 @@ +Wed Apr 8 12:45:53 UTC 2020 - Klaus Kämpf <[email protected]> + +- updated to version 1.1.0 + * #138 - Fix panel header overflow on Chrome + * 39e6cae9 - Display version using -v or --version flags + +------------------------------------------------------------------- Old: ---- sdoc-1.0.0.gem New: ---- sdoc-1.1.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sdoc.spec ++++++ --- /var/tmp/diff_new_pack.BZ1AzC/_old 2020-04-21 13:13:34.965161173 +0200 +++ /var/tmp/diff_new_pack.BZ1AzC/_new 2020-04-21 13:13:34.969161182 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sdoc # -# Copyright (c) 2018 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 @@ -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,7 +24,7 @@ # Name: rubygem-sdoc -Version: 1.0.0 +Version: 1.1.0 Release: 0 %define mod_name sdoc %define mod_full_name %{mod_name}-%{version} @@ -36,7 +36,7 @@ BuildRequires: %{rubygem rdoc >= 5.0} BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: update-alternatives -Url: https://github.com/zzak/sdoc +URL: https://github.com/zzak/sdoc Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: rdoc html with javascript search index ++++++ sdoc-1.0.0.gem -> sdoc-1.1.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-02-06 16:40:03.000000000 +0100 +++ new/.travis.yml 2020-03-14 19:25:05.000000000 +0100 @@ -1,15 +1,16 @@ language: ruby cache: bundler before_install: + - gem update --system - gem install bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - - 2.2.9 - - 2.3.6 - - 2.4.2 - - 2.5.0 + - 2.2.10 + - 2.3.7 + - 2.4.4 + - 2.5.1 - ruby-head - jruby-head matrix: @@ -17,10 +18,10 @@ - env: rdoc=master - rvm: jruby-head include: - - { rvm: 2.2.9, env: rdoc=master } - - { rvm: 2.3.6, env: rdoc=master } - - { rvm: 2.4.2, env: rdoc=master } - - { rvm: 2.5.0, env: rdoc=master } + - { rvm: 2.2.10, env: rdoc=master } + - { rvm: 2.3.7, env: rdoc=master } + - { rvm: 2.4.4, env: rdoc=master } + - { rvm: 2.5.1, env: rdoc=master } - { rvm: ruby-head, env: rdoc=master } - { rvm: jruby-head, env: rdoc=master } notifications: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2018-02-06 16:40:03.000000000 +0100 +++ new/CHANGELOG.md 2020-03-14 19:25:05.000000000 +0100 @@ -1,3 +1,21 @@ +1.1.0 +===== + +* #138 - Fix panel header overflow on Chrome +* 39e6cae9 - Display version using `-v` or `--version` flags + +1.0.0 +===== + +* #110 - Strip out HTML tags from search results description +* #109 - Add basic SEO tags +* #108 - Tiny refresh of the Rails theme +* e6f02b91 - Remove the jQuery effect library +* 73ace366 - Remove the `--without-search` option +* b1d429f2 - Produce HTML 5 output +* 38d06095 - Support only RDoc 5 and up +* #96 - Require at least Ruby 1.9.3 + 0.4.2 ===== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2018-02-06 16:40:03.000000000 +0100 +++ new/README.md 2020-03-14 19:25:05.000000000 +0100 @@ -1,6 +1,6 @@ # SDoc -[](https://travis-ci.org/zzak/sdoc) +[](https://travis-ci.org/zzak/sdoc) **Powering http://api.rubyonrails.org/** @@ -62,9 +62,9 @@ require 'rdoc/task' # ensure this file is also required in order to use `RDoc::Task` RDoc::Task.new do |rdoc| - rdoc.rdoc_dir = 'doc/rdoc' # name of output directory - rdoc.generator = 'sdoc' # explictly set the sdoc generator - rdoc.template = 'rails' # template used on api.rubyonrails.org + rdoc.rdoc_dir = 'doc/rdoc' # name of output directory + rdoc.options << '--format=sdoc' # explictly set the sdoc generator + rdoc.template = 'rails' # template used on api.rubyonrails.org end ``` @@ -78,7 +78,7 @@ As mentioned before, SDoc is built on top of the RDoc project. -If you notice any bugs in the output of your documentation, it may be RDoc's fault and should be [reported upstream](https://github.com/rdoc/rdoc/issues/new). +If you notice any bugs in the output of your documentation, it may be RDoc's fault and should be [reported upstream](https://github.com/ruby/rdoc/issues/new). An example of an SDoc bug would be: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/sdoc new/bin/sdoc --- old/bin/sdoc 2018-02-06 16:40:03.000000000 +0100 +++ new/bin/sdoc 2020-03-14 19:25:05.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby -KU +#!/usr/bin/env ruby require 'sdoc' begin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/sdoc-merge new/bin/sdoc-merge --- old/bin/sdoc-merge 2018-02-06 16:40:03.000000000 +0100 +++ new/bin/sdoc-merge 2020-03-14 19:25:05.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby -KU +#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../lib/sdoc' # add extensions require 'sdoc/merge' 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/discover.rb new/lib/rdoc/discover.rb --- old/lib/rdoc/discover.rb 2018-02-06 16:40:03.000000000 +0100 +++ new/lib/rdoc/discover.rb 2020-03-14 19:25:05.000000000 +0100 @@ -1,5 +1,5 @@ begin - gem 'rdoc', '~> 5.0' + gem 'rdoc', '>= 5.0' require File.join(File.dirname(__FILE__), '/../sdoc') rescue Gem::LoadError end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rdoc/generator/template/rails/resources/css/panel.css new/lib/rdoc/generator/template/rails/resources/css/panel.css --- old/lib/rdoc/generator/template/rails/resources/css/panel.css 2018-02-06 16:40:03.000000000 +0100 +++ new/lib/rdoc/generator/template/rails/resources/css/panel.css 2020-03-14 19:25:05.000000000 +0100 @@ -29,6 +29,7 @@ position: absolute; left: 0; top: 0; z-index: 300; + overflow: hidden; } .panel .header input 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 2018-02-06 16:40:03.000000000 +0100 +++ new/lib/sdoc/generator.rb 2020-03-14 19:25:06.000000000 +0100 @@ -6,6 +6,7 @@ require 'sdoc/github' require 'sdoc/templatable' require 'sdoc/helpers' +require 'sdoc/version' require 'rdoc' class RDoc::ClassModule @@ -59,6 +60,10 @@ end opt.separator nil + opt.on("--version", "-v", "Output current version") do + puts SDoc::VERSION + exit + end end def initialize(store, options) 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 2018-02-06 16:40:03.000000000 +0100 +++ new/lib/sdoc/version.rb 2020-03-14 19:25:06.000000000 +0100 @@ -1,3 +1,3 @@ module SDoc - VERSION = '1.0.0' + VERSION = '1.1.0' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-02-06 16:40:03.000000000 +0100 +++ new/metadata 2020-03-14 19:25:05.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: sdoc version: !ruby/object:Gem::Version - version: 1.0.0 + version: 1.1.0 platform: ruby authors: - Vladimir Kolesnikov @@ -11,7 +11,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2018-02-06 00:00:00.000000000 Z +date: 2020-03-14 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rdoc @@ -119,8 +119,7 @@ - !ruby/object:Gem::Version version: 1.3.6 requirements: [] -rubyforge_project: -rubygems_version: 2.6.12 +rubygems_version: 3.0.6 signing_key: specification_version: 4 summary: rdoc html with javascript search index. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rdoc_generator_spec.rb new/spec/rdoc_generator_spec.rb --- old/spec/rdoc_generator_spec.rb 2018-02-06 16:40:03.000000000 +0100 +++ new/spec/rdoc_generator_spec.rb 2020-03-14 19:25:06.000000000 +0100 @@ -37,4 +37,12 @@ err.wont_match(/^invalid options/) @options.github.must_equal true end + + it "should display SDoc version on -v or --version" do + out_full = `./bin/sdoc --version` + out_short = `./bin/sdoc -v` + + out_short.strip.must_equal SDoc::VERSION + out_full.strip.must_equal SDoc::VERSION + end end
