diff --git a/actioncable-6.1.4.1.gem b/actioncable-6.1.4.1.gem deleted file mode 100644 index 1a22ad877e1330b1d7af3aa3f5c03bca0479755f..0000000000000000000000000000000000000000 Binary files a/actioncable-6.1.4.1.gem and /dev/null differ diff --git a/actioncable-6.1.4.1-app.txz b/actioncable-7.0.4-app.txz similarity index 43% rename from actioncable-6.1.4.1-app.txz rename to actioncable-7.0.4-app.txz index f91c59b4c781107473111d2c1143741655fb255a..bb2c8627a8a454c85737083300a85d35dc56f86d 100644 Binary files a/actioncable-6.1.4.1-app.txz and b/actioncable-7.0.4-app.txz differ diff --git a/actioncable-6.1.4.1-tests.txz b/actioncable-7.0.4-tests.txz similarity index 91% rename from actioncable-6.1.4.1-tests.txz rename to actioncable-7.0.4-tests.txz index 4da218d111479ce9a0b3a2e3d72a0dd66de3461d..ed2c412cf2f0b6de1b3586fe8cdec97a76c30ff3 100644 Binary files a/actioncable-6.1.4.1-tests.txz and b/actioncable-7.0.4-tests.txz differ diff --git a/actioncable-7.0.4.gem b/actioncable-7.0.4.gem new file mode 100644 index 0000000000000000000000000000000000000000..dde13c09b0d7ce6798a3389723de2cba1817f28a Binary files /dev/null and b/actioncable-7.0.4.gem differ diff --git a/rails-6.1.4.1-tools.txz b/rails-7.0.4-tools.txz similarity index 95% rename from rails-6.1.4.1-tools.txz rename to rails-7.0.4-tools.txz index 2a295780575dec0533adacc500837f9b5da9206a..a34575fdf39b93e8e835d608b0b5ba493a31d89d 100644 Binary files a/rails-6.1.4.1-tools.txz and b/rails-7.0.4-tools.txz differ diff --git a/rubygem-actioncable.spec b/rubygem-actioncable.spec index ce1c0716afff4ef53ae5ff9470b2ab59e3922f3a..744439526000dd0526c756fb92b3542838c5a6d2 100644 --- a/rubygem-actioncable.spec +++ b/rubygem-actioncable.spec @@ -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 - 7.0.4-1 +- Upgrade to version 7.0.4 + * Wed May 04 2022 wangkerong - 6.1.4.1-1 - Upgrade to 6.1.4.1