rubocop-anycable-rails 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0f976a350c12873aacf6f6961d3ecd4fb82403c5f7d547f6715dd07c9949326
4
- data.tar.gz: 645c4bde46f04ff628e40d90fee8ff831f8d46578f7cd6bb1cf4c758e375ed24
3
+ metadata.gz: f055bdbee5a5d86914e90bfd99a9ccd166e2079249aef177610913868f1fdf88
4
+ data.tar.gz: 0ba6d89e32325c872518e8006996b004f1685dd5a1266410ea2088ee9fd4f308
5
5
  SHA512:
6
- metadata.gz: 6bcea82d00b0f922dbb11742e3e703124f6ca7e080d1125944ebe6d5bf230aae6bfaf5c57d6a1061dd6d1b50e85ef569864bcb2e7b5b4b2561fc877977c868ae
7
- data.tar.gz: 8f5ae84f1a2c385ce8e4583fdf887f8ee4c6f75ea0e915cf8fccad0d7b8403c44ff9da32574051f9a881c7723b5013e2e68f0cacd6dd9536d823079384a282e9
6
+ metadata.gz: 0f41f5f04ae712f37fcff149bca643ccbf58731891e15b5a3eb56992cbfe86eb48d090379303d77279bbb25dcb966ae54fffa6475b739bde5e6f7fddf26aa864
7
+ data.tar.gz: f837e5c9d4ee146beac6b312f164d59550486b20b81481f3548e63f31edb7e7a640329a0f8e8aea54cc122e200d64172abc92d6d93d9f80205e457c7fa0897e8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## main
4
4
 
5
+ ## 1.6.3 (2026-11-29)
6
+
7
+ - Fix and improve generators. ([@palkan][])
8
+
9
+ - Add Puma plugin to run AnyCable server in development. ([@palkan][])
10
+
11
+ Add `plugin :anycable if ENV["ANYCABLE_IN_PUMA"]` to `config/puma.rb`. The plugin starts `bin/anycable-go` after Puma boots, keeps it running during Puma restarts, and stops it with Puma. Use `anycable_command`, `anycable_log` and `anycable_pidfile` to change the defaults.
12
+
13
+ - Add an agent skill (`skills/anycable-rails`) for coding agents. ([@palkan][])
14
+
15
+ The skill covers installation and configuration, deployment, troubleshooting (with `wsdirector` scenarios for live checks), and best practices for real-time features. It is shipped with `anycable-rails-core` and installed by [Rails Hyperdrive](https://github.com/rails-hyperdrive/rails-hyperdrive).
16
+
17
+ - Cast the presence ID to a string on leave, matching join. ([@ashwin47][])
18
+
19
+ `#join_presence` already casts the ID via `#to_s`, but `#leave_presence` passed it through untouched, so a non-string `user_presence_id` (e.g. a numeric record id) raised `Invalid argument for string field 'id'` when building the presence response.
20
+
5
21
  ## 1.6.2 (2026-04-02)
6
22
 
7
23
  - Upgrade setup generator. ([@palkan][])
@@ -306,3 +322,4 @@ See [Changelog](https://github.com/anycable/anycable-rails/blob/0-6-stable/CHANG
306
322
  [@sponomarev]: https://github.com/sponomarev
307
323
  [@bibendi]: https://github.com/bibendi
308
324
  [@lHydra]: http://github.com/lHydra
325
+ [@ashwin47]: https://github.com/ashwin47
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2017-2023 palkan
1
+ Copyright 2017-2026 palkan
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -28,6 +28,18 @@ bundle exec rails g anycable:setup
28
28
 
29
29
  Learn more [here](https://docs.anycable.io/rails/getting_started).
30
30
 
31
+ ## Agent skills
32
+
33
+ The gem ships a skill for coding agents in `skills/anycable-rails`. The skill helps agents install and configure AnyCable, troubleshoot connections and broadcasts, and build real-time features. It follows the [skills.sh](https://www.skills.sh) layout, so it works with any agent that reads `SKILL.md`.
34
+
35
+ With [Rails Hyperdrive](https://github.com/rails-hyperdrive/rails-hyperdrive), the skill installs automatically: run `bin/rails hyperdrive:init` the first time, then `bundle install` or `bin/rails hyperdrive:sync` puts it into `.claude/skills/anycable-rails`.
36
+
37
+ Without Rails Hyperdrive, install it from the repository with the [skills.sh](https://www.skills.sh) CLI, or copy `skills/anycable-rails` into your agent's skills directory:
38
+
39
+ ```sh
40
+ npx skills add anycable/anycable-rails
41
+ ```
42
+
31
43
  ## Contributing
32
44
 
33
45
  Bug reports and pull requests are welcome on GitHub at [https://github.com/anycable/anycable-rails](https://github.com/anycable/anycable-rails).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.6.2"
5
+ VERSION = "1.6.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-anycable-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-02 00:00:00.000000000 Z
11
+ date: 2026-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop