Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created March 21, 2022 13:51
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/5f55c4c3f4102f1c3f69e3132883c7b8 to your computer and use it in GitHub Desktop.
Save pvalena/5f55c4c3f4102f1c3f69e3132883c7b8 to your computer and use it in GitHub Desktop.
--> Please check the gem compare output bellow: !
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.
commit 5315b31fab6a764bf4cdedbf34a5c3e64b9afcc0
Author: Pavel Valena <pvalena@redhat.com>
Date: Mon Mar 21 14:18:12 2022 +0100
1.0.3
diff --git a/rubygem-importmap-rails.spec b/rubygem-importmap-rails.spec
index 34780f5..1156271 100644
--- a/rubygem-importmap-rails.spec
+++ b/rubygem-importmap-rails.spec
@@ -1,8 +1,8 @@
-# Generated from importmap-rails-1.0.1.gem by gem2rpm -*- rpm-spec -*-
+# Generated from importmap-rails-1.0.3.gem by gem2rpm -*- rpm-spec -*-
%global gem_name importmap-rails
Name: rubygem-%{gem_name}
-Version: 1.0.1
+Version: 1.0.3
Release: 1%{?dist}
Summary: Manage modern JavaScript in Rails without transpiling or bundling
License: MIT
@@ -10,7 +10,7 @@ URL: https://github.com/rails/importmap-rails
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# To get the test suite:
# git clone https://github.com/rails/importmap-rails.git --no-checkout
-# git -C importmap-rails archive -v -o importmap-rails-1.0.1-tests.txz v1.0.1 test/
+# git -C importmap-rails archive -v -o importmap-rails-1.0.3-tests.txz v1.0.3 test/
Source1: %{gem_name}-%{version}%{?prerelease}-tests.txz
BuildRequires: ruby
@@ -20,8 +20,10 @@ BuildRequires: rubygem(bundler)
BuildRequires: rubygem(rails)
BuildRequires: rubygem(sqlite3)
BuildRequires: rubygems-devel
-BuildRequires: ruby >= 2.7.0
BuildArch: noarch
+# Bundles ES Module Shims
+# app/assets/javascripts/es-module-shims.js
+Provides: bundled(es-module-shims) = 1.4.1
%description
Use ESM with importmap to manage modern JavaScript in Rails without
@@ -82,5 +84,5 @@ popd
%{gem_instdir}/Rakefile
%changelog
-* Thu Jan 13 2022 Pavel Valena <pvalena@redhat.com> - 1.0.1-1
+* Thu Jan 13 2022 Pavel Valena <pvalena@redhat.com> - 1.0.3-1
- Initial package
diff --git a/sources b/sources
index fd84508..209bda3 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (importmap-rails-1.0.1.gem) = ded2d64ce62d3274d90791c2cc0f02ae32455cd758eb7d99739c9490cf4b33241644c137af830e7d7a734fa3cd982f5250ac4f71d6798efdc6ecca7332767df9
-SHA512 (importmap-rails-1.0.1-tests.txz) = 2d298986b3d8057016725fdb14c20a8d71501c79854c2b7e118e75e8a7862cb45725d7f637572381fd530c2c0da4d9a8fab8db555a7212d7eda699932a474079
+SHA512 (importmap-rails-1.0.3.gem) = df4c8495cb4bcf44d56ca6cdaca531b6dfb0f7f9affbd5275dcd491a8ee392ed8224991503cef48c45e6d82fa16e71e523f095dbd123b620c47bf46b2440b61f
+SHA512 (importmap-rails-1.0.3-tests.txz) = 67e0c5dbd96fd8c3404a969cc11525134a0037303736d17a5c6f6c7e2923749c0d9b7d551ae637230a9d6aeb915f148a775efdd1d49f90128a42a2bda52d2050
On branch fedora-distgit
Your branch is ahead of 'fedora-distgit/rawhide' by 2 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: rubygem-importmap-rails-1.0.1-1.fc36.src.rpm
no changes added to commit (use "git add" and/or "git commit -a")
error: src refspec rebase does not match any
error: failed to push some refs to 'pvalena'
--> Could not push to: pvalena/rebase!
fatal: ambiguous argument 'pvalena/rebase': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
> Run copr build.
+ scripts/pkgs/cr-build.sh -c -t 30m rubygems
Created builds: 3803489
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment