diff --git a/actioncable-6.1.4.1-app.txz b/actioncable-6.1.4.1-app.txz deleted file mode 100644 index f91c59b..0000000 Binary files a/actioncable-6.1.4.1-app.txz and /dev/null differ diff --git a/actioncable-6.1.4.1.gem b/actioncable-6.1.4.1.gem deleted file mode 100644 index 1a22ad8..0000000 Binary files a/actioncable-6.1.4.1.gem and /dev/null differ diff --git a/actioncable-7.0.4-app.txz b/actioncable-7.0.4-app.txz new file mode 100644 index 0000000..bb2c862 Binary files /dev/null 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 4da218d..ed2c412 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 0000000..dde13c0 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 2a29578..a34575f 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 ce1c071..7444395 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