Upgrade to version 7.0.4

This commit is contained in:
wk333 2023-01-19 15:43:11 +08:00
parent 1922495963
commit 8c8f679a2f
7 changed files with 18 additions and 2 deletions

Binary file not shown.

Binary file not shown.

BIN
actioncable-7.0.4-app.txz Normal file

Binary file not shown.

BIN
actioncable-7.0.4.gem Normal file

Binary file not shown.

View File

@ -2,15 +2,28 @@
%global recompile_js 1
Name: rubygem-%{gem_name}
Version: 6.1.4.1
Version: 7.0.4
Release: 1
Summary: WebSocket framework for Rails
License: MIT
URL: http://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# The gem doesn't ship with the test suite, you may check it out like so
# git clone https://github.com/rails/rails.git
# cd rails/actioncable && git archive -v -o actioncable-7.0.4-tests.txz v7.0.4 test/
Source1: %{gem_name}-%{version}-tests.txz
# The source code of pregenerated JS files is not packaged.
# You may get them like so
# git clone https://github.com/rails/rails.git
# cd rails/actioncable && git archive -v -o actioncable-7.0.4-app.txz v7.0.4 app/
Source2: %{gem_name}-%{version}-app.txz
# Recompile with script extracted from
# https://github.com/rails/rails/blob/71d406697266fc2525706361b86aeb85183fe4c7/actioncable/Rakefile
Source3: recompile_js.rb
# The tools are needed for the test suite, are however unpackaged in gem file.
# You may get them like so
# git clone https://github.com/rails/rails.git --no-checkout
# cd rails && git archive -v -o rails-7.0.4-tools.txz v7.0.4 tools/
Source4: rails-%{version}-tools.txz
BuildRequires: ruby(release)
@ -69,7 +82,7 @@ mv test/client_test.rb{,.disable}
mv test/subscription_adapter/postgresql_test.rb{,.disable}
REDIS_DIR=$(mktemp -d)
redis-server --dir $REDIS_DIR --pidfile $REDIS_DIR/redis.pid --daemonize yes
ruby -rhiredis -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
kill -INT $(cat $REDIS_DIR/redis.pid)
popd
@ -87,6 +100,9 @@ popd
%doc %{gem_instdir}/README.md
%changelog
* Thu Jan 19 2023 wangkai <wangkai385@h-partners.com> - 7.0.4-1
- Upgrade to version 7.0.4
* Wed May 04 2022 wangkerong <wangkerong@h-partners.com> - 6.1.4.1-1
- Upgrade to 6.1.4.1