Notification time stamped 2021-02-01 04:36:11 UTC
From fdbe2a774b7599be9e2fe7262d28eb7ffecb89d5 Mon Sep 17 00:00:00 2001
From: Pavel Valena <pvalena(a)redhat.com>
Date: Feb 01 2021 01:02:23 +0000
Subject: Update to actiontext 6.1.1.
---
diff --git a/rubygem-actiontext.spec b/rubygem-actiontext.spec
index 41d4d2a..dc94a63 100644
--- a/rubygem-actiontext.spec
+++ b/rubygem-actiontext.spec
@@ -1,21 +1,24 @@
# Generated from actiontext-6.0.3.1.gem by gem2rpm -*- rpm-spec -*-
%global gem_name actiontext
+# webdrivers gem is used in tests, but it's not in Fedora yet
+%bcond_with webdrivers
+
Name: rubygem-%{gem_name}
-Version: 6.0.3.4
-Release: 2%{?dist}
+Version: 6.1.1
+Release: 1%{?dist}
Summary: Rich text framework
License: MIT
URL:
https://rubyonrails.org
Source0:
https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem
# Tests are not shipped with the gem
# git clone
https://github.com/rails/rails.git --no-checkout
-# cd rails/actiontext && git archive -v -o actiontext-6.0.3.4-tests.txz v6.0.3.4
test/
+# cd rails/actiontext && git archive -v -o actiontext-6.1.1-tests.txz v6.1.1
test/
Source1: %{gem_name}-%{version}%{?prerelease}-tests.txz
# The tools are needed for the test suite, are however unpackaged in gem file.
# You may get them like so
# git clone
http://github.com/rails/rails.git --no-checkout
-# cd rails && git archive -v -o rails-6.0.3.4-tools.txz v6.0.3.4 tools/
+# cd rails && git archive -v -o rails-6.1.1-tools.txz v6.1.1 tools/
Source2: rails-%{version}%{?prerelease}-tools.txz
BuildRequires: ruby(release)
@@ -25,6 +28,11 @@ BuildRequires: rubygem(railties) = %{version}
BuildRequires: rubygem(activestorage) = %{version}
BuildRequires: rubygem(actionmailer) = %{version}
BuildRequires: rubygem(sqlite3)
+BuildRequires: rubygem(capybara) >= 3.26
+BuildRequires: rubygem(selenium-webdriver)
+%if %{with webdrivers}
+BuildRequires: rubygem(webdrivers)
+%endif
BuildArch: noarch
%description
@@ -62,7 +70,12 @@ sed -i '/Bundler.require/ s/^/#/'
test/dummy/config/application.rb
# Remove asset pipeline initializer
echo > test/dummy/config/initializers/assets.rb
-ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb",
&method(:require)'
+# We don't have webdrivers
+%if %{without webdrivers}
+mv test/system/system_test_helper_test.rb{,.disable}
+%endif
+
+ruby -rselenium-webdriver -Ilib:test -e 'Dir.glob "./test/**/*_test.rb",
&method(:require)'
popd
%files
@@ -81,6 +94,9 @@ popd
%doc %{gem_instdir}/README.md
%changelog
+* Wed Jan 27 2021 Pavel Valena <pvalena(a)redhat.com> - 6.1.1-1
+- Update to actiontext 6.1.1.
+
* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
6.0.3.4-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index f82fb2a..d55cdbe 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (actiontext-6.0.3.4.gem) =
51298102bb213e67df7096d66c8a4e231af55f0c203be8bac45a41fe6f80dc6d2416ff8995d92a5e87a227b176ab2cf67927d3b16b070971ab9c0babad1b2313
-SHA512 (actiontext-6.0.3.4-tests.txz) =
5927e68d83a20103ead69206951875f559c631b1c9845405f7ccd9d0b8111c3fa9d70c9d0b09806d598558cce4314f4f5748fef64ab523d557d96d582ba74214
-SHA512 (rails-6.0.3.4-tools.txz) =
b40d90e55da9c31462bd21c62394198900aa42f161d30f8edd32f7217d904fbdd98d2cfba7c5d542d5b89578424669fcaffbe0006f6efd62cc676065100daac3
+SHA512 (actiontext-6.1.1.gem) =
875e766d891b3ce63465b4604d668fdcab820e558d8ac10a3bca3a73adc09c5430337104909ac31098b244b681022c2ebf85191b9ceb26859ddb801dd17c111e
+SHA512 (actiontext-6.1.1-tests.txz) =
e944eab441229f85f43990a49ad5633035da762f7ef090011ff00c0f051ae9643c45ccc622c65429a1e5d43cea39ac8dcd760287f4a7d8abc99748ae4995c298
+SHA512 (rails-6.1.1-tools.txz) =
6852616efe73dfa6d7319c1bfb941ebfa0d2413ba9ae0c3b9f5bbb1e11e407e8137764f1dd64243af200006d7865b3ab3a0f03677c2318467fafc496853e7a0a
https://src.fedoraproject.org/rpms/rubygem-actiontext/c/fdbe2a774b7599be9...