Created
January 13, 2024 03:34
-
-
Save pvalena/bc97a14913b204b4070e40a8340ab952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--> 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: ["1.0.2", "1.9.2"] | |
DIFFERENT description: | |
1.0.2: Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure. Supports custom object formatting via plugins | |
1.9.2: Great Ruby debugging companion: pretty print Ruby objects to visualize their structure. Supports custom object formatting via plugins | |
DIFFERENT homepage: | |
1.0.2: http://github.com/michaeldv/awesome_print | |
1.9.2: https://github.com/awesome-print/awesome_print | |
DIFFERENT licenses: | |
1.0.2: [] | |
1.9.2: ["MIT"] | |
DIFFERENT files: | |
1.0.2->1.9.2: | |
* Deleted: | |
CHANGELOG | |
* Added: | |
Appraisals | |
CHANGELOG.md | |
CONTRIBUTING.md | |
awesome_print.gemspec | |
init.rb | |
lib/awesome_print/formatters/ | |
spec/core_ext/ | |
spec/ext/ | |
spec/support/ | |
spec/support/active_record_data/ | |
* Changed: | |
lib/ap.rb +2/-2 | |
(!) New permissions: 100755 -> 100644 | |
(!) File is no longer executable! | |
lib/awesome_print.rb +30/-19 | |
(!) New permissions: 100755 -> 100644 | |
(!) File is no longer executable! | |
lib/awesome_print/formatter.rb +61/-311 | |
(!) New permissions: 100755 -> 100644 | |
(!) File is no longer executable! | |
lib/awesome_print/inspector.rb +93/-64 | |
(!) New permissions: 100755 -> 100644 | |
(!) File is no longer executable! | |
DIFFERENT test_files: | |
1.0.2->1.9.2: | |
* Added: | |
spec/core_ext/ | |
spec/ext/ | |
spec/support/ | |
spec/support/active_record_data/ | |
DIFFERENT development dependencies: | |
1.0.2->1.9.2: | |
* Added: | |
appraisal [">= 0"] (development) | |
sqlite3 [">= 0"] (development) | |
nokogiri [">= 1.11.0"] (development) | |
* Updated: | |
rspec from: [">= 2.6.0"] to: [">= 3.0.0"] | |
commit 55de6c1b454acb9393ca154ae9230e2e3e52d3de | |
Author: Pavel Valena <[email protected]> | |
Date: Tue Mar 27 01:08:37 2018 +0200 | |
Update to awesome_print 1.9.2. | |
Also modernize spec file. | |
- Use https instead of http | |
I have verified that the page exists, using curl & checking for HTTP response 200. | |
Resolves: rhbz#1060121 | |
diff --git a/rubygem-awesome_print.spec b/rubygem-awesome_print.spec | |
index 0533f0b..ec9f85d 100644 | |
--- a/rubygem-awesome_print.spec | |
+++ b/rubygem-awesome_print.spec | |
@@ -3,26 +3,23 @@ | |
Summary: Pretty print Ruby objects with proper indentation and colors | |
Name: rubygem-%{gem_name} | |
-Version: 1.0.2 | |
-Release: 26%{?dist} | |
+Version: 1.9.2 | |
+Release: 1%{?dist} | |
License: MIT | |
-URL: http://github.com/michaeldv/awesome_print | |
-Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem | |
-Requires: ruby(release) | |
-Requires: ruby(rubygems) | |
-Requires: ruby | |
+URL: https://github.com/awesome-print/awesome_print | |
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem | |
BuildRequires: ruby(release) | |
BuildRequires: rubygems-devel | |
BuildRequires: ruby | |
BuildRequires: rubygem-rspec | |
+BuildRequires: rubygem-nokogiri | |
+BuildRequires: rubygem-bigdecimal | |
BuildArch: noarch | |
-Provides: rubygem(%{gem_name}) = %{version} | |
%description | |
Great Ruby debugging companion: pretty print Ruby objects to visualize their | |
structure. Supports custom object formatting via plugins. | |
- | |
%package doc | |
Summary: Documentation for %{name} | |
Requires: %{name} = %{version}-%{release} | |
@@ -32,53 +29,49 @@ BuildArch: noarch | |
Documentation for %{name} | |
%prep | |
-%setup -q -c -T | |
-%gem_install -n %{SOURCE0} | |
- | |
-# not running tests since it's broken in mock | |
-#%check | |
-#pushd ./%{gem_instdir} | |
-#rspec -Ilib spec/ | |
-#popd | |
+%setup -q -n %{gem_name}-%{version} | |
%build | |
+gem build ../%{gem_name}-%{version}.gemspec | |
+%gem_install | |
%install | |
mkdir -p %{buildroot}%{gem_dir} | |
-echo %{gem_dir} | |
-echo %{buildroot} | |
cp -a .%{gem_dir}/* \ | |
%{buildroot}%{gem_dir}/ | |
-rm %{buildroot}%{gem_dir}/gems/%{gem_name}-%{version}/.gitignore | |
-rm %{buildroot}%{gem_dir}/gems/%{gem_name}-%{version}/Gemfile.lock | |
-chmod -x %{buildroot}%{gem_dir}/gems/%{gem_name}-%{version}/lib/awesome_print/formatter.rb | |
-chmod -x %{buildroot}%{gem_dir}/gems/%{gem_name}-%{version}/lib/ap.rb | |
-chmod -x %{buildroot}%{gem_dir}/gems/%{gem_name}-%{version}/lib/awesome_print/inspector.rb | |
-chmod -x %{buildroot}%{gem_dir}/gems/%{gem_name}-%{version}/lib/awesome_print.rb | |
+%check | |
+pushd ./%{gem_instdir} | |
+sed -i -e '/[sS]imple[cC]ov/ s/^/#/' spec/spec_helper.rb | |
+rspec -Ilib spec/ | |
+popd | |
%files | |
%dir %{gem_instdir} | |
%{gem_libdir} | |
%{gem_cache} | |
%{gem_spec} | |
-%{gem_instdir}/LICENSE | |
-%{gem_instdir}/Gemfile | |
+%license %{gem_instdir}/LICENSE | |
+%exclude %{gem_instdir}/.* | |
+%exclude %{gem_instdir}/Gemfile.lock | |
%files doc | |
%doc %{gem_docdir} | |
-%{gem_instdir}/LICENSE | |
-%{gem_instdir}/CHANGELOG | |
-%{gem_instdir}/README.md | |
-%{gem_instdir}/spec/ | |
-%{gem_instdir}/spec/colors_spec.rb | |
-%{gem_instdir}/spec/formats_spec.rb | |
-%{gem_instdir}/spec/methods_spec.rb | |
-%{gem_instdir}/spec/objects_spec.rb | |
-%{gem_instdir}/spec/spec_helper.rb | |
+%{gem_instdir}/Gemfile | |
+%doc %{gem_instdir}/Appraisals | |
+%doc %{gem_instdir}/CHANGELOG.md | |
+%doc %{gem_instdir}/README.md | |
+%doc %{gem_instdir}/CONTRIBUTING.md | |
%{gem_instdir}/Rakefile | |
+%{gem_instdir}/spec | |
+%{gem_instdir}/init.rb | |
+%{gem_instdir}/%{gem_name}.gemspec | |
%changelog | |
+* Mon Oct 30 2023 Pavel Valena <[email protected]> - 1.9.2-1 | |
+- Update to awesome_print 1.9.2. | |
+ Resolves: rhbz#1060121 | |
+ | |
* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 1.0.2-26 | |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild | |
diff --git a/sources b/sources | |
index 6c8092d..1805cba 100644 | |
--- a/sources | |
+++ b/sources | |
@@ -1 +1 @@ | |
-2f10106e003670617a4edd17fdcbc05d awesome_print-1.0.2.gem | |
+SHA512 (awesome_print-1.8.0.gem) = 6517f79d3ab50bff6f71146c06496d9c98af0036ff88a3d8cd82cec75e10d50f1bb2074ccb61c221736cac3258194bc596e2a6c3d5bce1ce7eb1bcc77873f486 | |
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: 6889540 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment