Hello community,
here is the log from the commit of package rubygem-simplecov-html for
openSUSE:Factory checked in at 2017-06-08 15:00:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-simplecov-html (Old)
and /work/SRC/openSUSE:Factory/.rubygem-simplecov-html.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-simplecov-html"
Thu Jun 8 15:00:28 2017 rev:12 rq:497681 version:0.10.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-simplecov-html/rubygem-simplecov-html.changes
2015-04-25 11:25:45.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-simplecov-html.new/rubygem-simplecov-html.changes
2017-06-08 15:00:29.384306229 +0200
@@ -1,0 +2,6 @@
+Tue May 23 10:21:41 UTC 2017 - [email protected]
+
+- updated to version 0.10.1
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
simplecov-html-0.10.0.gem
New:
----
simplecov-html-0.10.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-simplecov-html.spec ++++++
--- /var/tmp/diff_new_pack.k9CYFK/_old 2017-06-08 15:00:30.520145926 +0200
+++ /var/tmp/diff_new_pack.k9CYFK/_new 2017-06-08 15:00:30.524145362 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-simplecov-html
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,7 +24,7 @@
#
Name: rubygem-simplecov-html
-Version: 0.10.0
+Version: 0.10.1
Release: 0
%define mod_name simplecov-html
%define mod_full_name %{mod_name}-%{version}
@@ -48,7 +48,7 @@
%install
%gem_install \
- --doc-files="LICENSE README.md" \
+ --doc-files="CHANGELOG.md LICENSE README.md" \
-f
%gem_packages
++++++ simplecov-html-0.10.0.gem -> simplecov-html-0.10.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml
--- old/.rubocop.yml 2015-04-18 19:10:19.000000000 +0200
+++ new/.rubocop.yml 2017-05-17 21:10:04.000000000 +0200
@@ -37,6 +37,10 @@
Style/HashSyntax:
EnforcedStyle: hash_rockets
+Style/MutableConstant:
+ Exclude:
+ - 'lib/simplecov-html/version.rb'
+
Style/RegexpLiteral:
Enabled: false
@@ -46,5 +50,5 @@
Style/StringLiterals:
EnforcedStyle: double_quotes
-Style/TrailingComma:
+Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: 'comma'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2015-04-18 19:10:19.000000000 +0200
+++ new/.travis.yml 2017-05-17 21:10:04.000000000 +0200
@@ -15,6 +15,7 @@
- 2.0.0
- 2.1
- 2.2
+ - 2.3.1
- ruby-head
- jruby
- rbx-2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100
+++ new/CHANGELOG.md 2017-05-17 21:10:04.000000000 +0200
@@ -0,0 +1,6 @@
+0.10.1 2017-05-17
+========
+
+## Bugfixes
+
+* circumvent a regression that happens in the new JRuby 9.1.9.0 release. See
[#53](https://github.com/colszowka/simplecov-html/pull/53) thanks @koic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2015-04-18 19:10:19.000000000 +0200
+++ new/Gemfile 2017-05-17 21:10:04.000000000 +0200
@@ -2,7 +2,11 @@
gemspec
-gem "rake"
+if RUBY_VERSION == "1.8.7"
+ gem "rake", "~> 10.5"
+else
+ gem "rake", ">= 11"
+end
# Use local copy of simplecov in development when checked out, fetch from git
otherwise
if File.directory?(File.dirname(__FILE__) + "/../simplecov")
@@ -11,8 +15,16 @@
gem "simplecov", :git => "https://github.com/colszowka/simplecov"
end
+platforms :ruby_18, :ruby_19 do
+ gem "json", "~> 1.8"
+end
+
+platforms :ruby_18, :ruby_19, :ruby_20, :ruby_21 do
+ gem "rack", "~> 1.6"
+end
+
group :test do
- gem "test-unit"
+ gem "minitest"
end
group :development do
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/simplecov-html/version.rb
new/lib/simplecov-html/version.rb
--- old/lib/simplecov-html/version.rb 2015-04-18 19:10:19.000000000 +0200
+++ new/lib/simplecov-html/version.rb 2017-05-17 21:10:04.000000000 +0200
@@ -1,7 +1,7 @@
module SimpleCov
module Formatter
class HTMLFormatter
- VERSION = "0.10.0"
+ VERSION = "0.10.1"
def VERSION.to_a
split(".").map(&:to_i)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/simplecov-html.rb new/lib/simplecov-html.rb
--- old/lib/simplecov-html.rb 2015-04-18 19:10:19.000000000 +0200
+++ new/lib/simplecov-html.rb 2017-05-17 21:10:04.000000000 +0200
@@ -5,9 +5,9 @@
require "time"
# Ensure we are using a compatible version of SimpleCov
-major, minor, patch = SimpleCov::VERSION.scan(/\d+/).first(3).map(&:to_i)
+major, minor, patch = SimpleCov::VERSION.scan(/\d+/).first(3).map(&:to_i)
if major < 0 || minor < 9 || patch < 0
- fail "The version of SimpleCov you are using is too old. "\
+ raise "The version of SimpleCov you are using is too old. "\
"Please update with `gem install simplecov` or `bundle update simplecov`"
end
@@ -96,7 +96,7 @@
end
def shortened_filename(source_file)
- source_file.filename.gsub(SimpleCov.root, ".").gsub(/^\.\//, "")
+ source_file.filename.sub(SimpleCov.root, ".").gsub(/^\.\//, "")
end
def link_to_source_file(source_file)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-04-18 19:10:19.000000000 +0200
+++ new/metadata 2017-05-17 21:10:04.000000000 +0200
@@ -1,24 +1,24 @@
--- !ruby/object:Gem::Specification
name: simplecov-html
version: !ruby/object:Gem::Version
- version: 0.10.0
+ version: 0.10.1
platform: ruby
authors:
- Christoph Olszowka
-autorequire:
+autorequire:
bindir: bin
cert_chain: []
-date: 2015-04-18 00:00:00.000000000 Z
+date: 2017-05-17 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
- name: bundler
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
version: '1.9'
- type: :development
+ name: bundler
prerelease: false
+ type: :development
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
@@ -35,6 +35,7 @@
- ".gitignore"
- ".rubocop.yml"
- ".travis.yml"
+- CHANGELOG.md
- Gemfile
- Guardfile
- LICENSE
@@ -89,7 +90,7 @@
licenses:
- MIT
metadata: {}
-post_install_message:
+post_install_message:
rdoc_options: []
require_paths:
- lib
@@ -104,11 +105,9 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubyforge_project:
-rubygems_version: 2.4.5
-signing_key:
+rubyforge_project:
+rubygems_version: 2.6.11
+signing_key:
specification_version: 4
summary: Default HTML formatter for SimpleCov code coverage tool for ruby 1.9+
-test_files:
-- test/helper.rb
-- test/test_simple_cov-html.rb
+test_files: []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/helper.rb new/test/helper.rb
--- old/test/helper.rb 2015-04-18 19:10:19.000000000 +0200
+++ new/test/helper.rb 2017-05-17 21:10:04.000000000 +0200
@@ -1,4 +1,4 @@
require "bundler/setup"
require "simplecov"
require "simplecov-html"
-require "test/unit"
+require "minitest/autorun"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/test_simple_cov-html.rb
new/test/test_simple_cov-html.rb
--- old/test/test_simple_cov-html.rb 2015-04-18 19:10:19.000000000 +0200
+++ new/test/test_simple_cov-html.rb 2017-05-17 21:10:04.000000000 +0200
@@ -1,6 +1,6 @@
require "helper"
-class TestSimpleCovHtml < Test::Unit::TestCase
+class TestSimpleCovHtml < MiniTest::Unit::TestCase
def test_defined
assert defined?(SimpleCov::Formatter::HTMLFormatter)
assert defined?(SimpleCov::Formatter::HTMLFormatter::VERSION)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/views/source_file.erb new/views/source_file.erb
--- old/views/source_file.erb 2015-04-18 19:10:19.000000000 +0200
+++ new/views/source_file.erb 2017-05-17 21:10:04.000000000 +0200
@@ -11,7 +11,7 @@
<pre>
<ol>
- <% source_file.lines.each_with_index do |line| %>
+ <% source_file.lines.each do |line| %>
<li class="<%= line.status %>" data-hits="<%= line.coverage ?
line.coverage : '' %>" data-linenumber="<%= line.number %>">
<% if line.covered? %><span class="hits"><%= line.coverage
%></span><% end %>
<% if line.skipped? %><span class="hits">skipped</span><% end %>
@@ -20,4 +20,4 @@
<% end %>
</ol>
</pre>
-</div>
\ No newline at end of file
+</div>