Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created January 17, 2024 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvalena/e211553067290a8c8cc339cda166e171 to your computer and use it in GitHub Desktop.
Save pvalena/e211553067290a8c8cc339cda166e171 to your computer and use it in GitHub Desktop.
--> Please check the gem compare output bellow: !
grep: warning: stray \ before :
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112.
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4
Gem::Specification#has_rdoc called from /usr/share/gems/gems/gem-compare-0.0.7/lib/rubygems/comparator/utils.rb:112.
Compared versions: ["0.13.0", "0.22.0"]
DIFFERENT authors:
0.13.0: ["Christoph Olszowka"]
0.22.0: ["Christoph Olszowka", "Tobias Pfeiffer"]
DIFFERENT description:
0.13.0: Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites
0.22.0: Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
DIFFERENT email:
0.13.0: ["christoph at olszowka de"]
0.22.0: ["christoph at olszowka de", "pragtob@gmail.com"]
DIFFERENT homepage:
0.13.0: http://github.com/colszowka/simplecov
0.22.0: https://github.com/simplecov-ruby/simplecov
DIFFERENT metadata:
0.13.0: {}
0.22.0: {"bug_tracker_uri"=>"https://github.com/simplecov-ruby/simplecov/issues", "changelog_uri"=>"https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md", "documentation_uri"=>"https://www.rubydoc.info/gems/simplecov/0.22.0", "mailing_list_uri"=>"https://groups.google.com/forum/#!forum/simplecov", "source_code_uri"=>"https://github.com/simplecov-ruby/simplecov/tree/v0.22.0"}
DIFFERENT required_ruby_version:
0.13.0: >= 1.8.7
0.22.0: >= 2.5.0
DIFFERENT summary:
0.13.0: Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites
0.22.0: Code coverage for Ruby
DIFFERENT files:
0.13.0->0.22.0:
* Deleted:
.gitignore
.rspec
.rubocop.yml
.travis.yml
.yardopts
CONTRIBUTING.md
Gemfile
MIT-LICENSE
Rakefile
cucumber.yml
features/
features/step_definitions/
features/support/
lib/simplecov/railties/
simplecov.gemspec
spec/
spec/faked_project/
spec/faked_project/features/step_definitions/
spec/faked_project/features/support/
spec/faked_project/features/
spec/faked_project/lib/
spec/faked_project/lib/faked_project/
spec/faked_project/spec/
spec/faked_project/test/
spec/fixtures/app/controllers/
spec/fixtures/app/models/
spec/fixtures/
spec/fixtures/frameworks/
* Added:
LICENSE
lib/minitest/
lib/simplecov/combine/
lib/simplecov/exit_codes/
lib/simplecov/profiles/
lib/simplecov/source_file/
LICENSE
(!) Unexpected permissions: 100664
* Changed:
CHANGELOG.md +134/-354
(!) New permissions: 100644 -> 100664
README.md +457/-116
(!) New permissions: 100644 -> 100664
doc/alternate-formatters.md +37/-2
(!) New permissions: 100644 -> 100664
doc/commercial-services.md +5/-0
(!) New permissions: 100644 -> 100664
doc/editor-integration.md +6/-1
(!) New permissions: 100644 -> 100664
DIFFERENT runtime dependencies:
0.13.0->0.22.0:
* Deleted:
json [">= 1.8", "< 3"] (runtime)
* Added:
simplecov_json_formatter ["~> 0.1"] (runtime)
* Updated:
docile from: ["~> 1.1.0"] to: ["~> 1.1"]
simplecov-html from: ["~> 0.10.0"] to: ["~> 0.11"]
DIFFERENT development dependencies:
0.13.0->0.22.0:
* Deleted:
bundler ["~> 1.9"] (development)
DIFFERENT Gemfile dependencies
0.13.0->0.22.0:
* Deleted
rspec [">= 3.2"]
activesupport ["~> 3.2.21"]
i18n ["~> 0.6.11"]
mime-types ["~> 1.25"]
addressable ["~> 2.3.0"]
rack ["~> 1.6"]
aruba ["~> 0.7.4"]
capybara [">= 0"]
cucumber [">= 0"]
phantomjs ["~> 1.9"]
poltergeist [">= 0"]
test-unit [">= 0"]
commit 166b0ee0c4db7cd40b50c6b874e6847c1a41f9c6
Author: Pavel Valena <pvalena@redhat.com>
Date: Fri Oct 30 19:56:20 2020 +0100
Update to simplecov 0.22.0
also enhance .spec and .gitignore files.
- Add bootstrap macros.
diff --git a/.gitignore b/.gitignore
index dfa9d20..67e75f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1 @@
-/simplecov-0.7.1.gem
-/simplecov-0.8.2.gem
-/simplecov-0.10.0.gem
-/simplecov-0.11.2.gem
-/simplecov-0.12.0.gem
-/simplecov-0.13.0.gem
+/simplecov-*.gem
diff --git a/rubygem-simplecov.spec b/rubygem-simplecov.spec
index 70da0ab..68b7ef3 100644
--- a/rubygem-simplecov.spec
+++ b/rubygem-simplecov.spec
@@ -1,26 +1,19 @@
%global gem_name simplecov
-%global rubyabi 1.9.1
+
+%bcond_without bootstrap
Summary: Code coverage analysis tool for Ruby 1.9
Name: rubygem-%{gem_name}
-Version: 0.13.0
-Release: 15%{?dist}
+Version: 0.22.0
+Release: 1%{?dist}
License: MIT
URL: http://github.com/colszowka/simplecov
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-%if 0%{?fedora} >= 19 || 0%{?rhel} > 6
-Requires: ruby(release)
-%else
-Requires: ruby(abi) >= %{rubyabi}
-%endif
-Requires: ruby
-Requires: rubygems
-Requires: rubygem(docile) => 1.1.0
-Requires: rubygem(multi_json) => 1.0
-Requires: rubygem(simplecov-html) => 0.8.0
-BuildRequires: ruby
-BuildRequires: rubygems-devel
+
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
# For tests
+%if %{without bootstrap}
BuildRequires: rubygem(aruba)
BuildRequires: rubygem(bundler)
BuildRequires: rubygem(capybara)
@@ -30,8 +23,8 @@ BuildRequires: rubygem(rake)
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(simplecov-html)
BuildRequires: rubygem(test-unit)
+%endif
BuildArch: noarch
-Provides: rubygem(%{gem_name}) = %{version}
%description
Code coverage for Ruby 1.9 with a powerful configuration library and automatic
@@ -47,12 +40,10 @@ BuildArch: noarch
Documentation for %{name}
%prep
-gem unpack %{SOURCE0}
-%setup -q -D -T -n %{gem_name}-%{version}
-gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+%setup -q -n %{gem_name}-%{version}
%build
-gem build %{gem_name}.gemspec
+gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
@@ -68,34 +59,34 @@ rm -rf %{buildroot}%{gem_instdir}/.yardopts
rm -rf %{buildroot}%{gem_instdir}/.yardoc
rm -f %{buildroot}%{gem_instdir}/Gemfile
rm -f %{buildroot}%{gem_instdir}/simplecov.gemspec
-chmod 0755 %{buildroot}%{gem_instdir}/Rakefile
mv %{buildroot}%{gem_instdir}/doc %{buildroot}/%{gem_docdir}/
+%if %{without bootstrap}
%check
pushd %{buildroot}%{gem_instdir}
rm -rf spec/faked_project/
rspec -Ilib spec
rm -rf %{buildroot}%{gem_instdir}/tmp
popd
+%endif
%files
%dir %{gem_instdir}
-%doc %{gem_instdir}/MIT-LICENSE
-%{gem_instdir}/cucumber.yml
-%{gem_instdir}/features
+%license %{gem_instdir}/LICENSE
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
-%{gem_instdir}/spec
-%{gem_instdir}/Rakefile
%{gem_instdir}/CHANGELOG.md
%{gem_instdir}/README.md
-%{gem_instdir}/CONTRIBUTING.md
%changelog
+* Wed Jan 17 2024 Pavel Valena <pvalena@redhat.com> - 0.22.0-1
+- Update to simplecov 0.22.0.
+ Resolves: rhbz#1432451
+
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
diff --git a/sources b/sources
index 2e735ef..86316ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (simplecov-0.13.0.gem) = 9cc7f88e1a8b793d69e4fc92610805202d68f1c883cdddc7ae9426d250ebd68d72b61879801897748e26750db04f51d3dd0332fe807dab6ec0b2c982b8693d69
+SHA512 (simplecov-0.22.0.gem) = 32fb0e25078c2ad75e4744d44542a9903e24bc7210d3d4049f608bc7b112c70696a5c910c501ad3965a2875a144feadd4c88521ecdf74cd0722479507e51d273
On branch rebase
Your branch is up to date with 'pvalena/rebase'.
nothing to commit (use -u to show untracked files)
Everything up-to-date
branch 'rebase' set up to track 'pvalena/rebase'.
> Run copr build.
+ scripts/pkgs/cr-build.sh -c -t 30m rubygems
Created builds: 6912411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment