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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/MIT-LICENSE +1 -1
  4. data/README.md +12 -0
  5. metadata +18 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4d003c3781a39032f224d9acc14298378c20b49258e72465408c12d7449ed09
4
- data.tar.gz: e3f97e5e69b0d45cf38c136e9b7a7a3b13e8c8ec01527282ef767be3e87cd509
3
+ metadata.gz: fdbd8331e6d0840fd07a2f5e522a3e99190f203107a460c0861663d3747a341a
4
+ data.tar.gz: 258cba4eb1953765e46ddec63e6e58d4069e09f1365b98cfbe188052ddbe54c6
5
5
  SHA512:
6
- metadata.gz: 8ec59a843b6e791e48c7b6109506121e8246fd7e8e40afd34125a6d03c44ab1e31a656fc5460f25d710e4f24032ed62b89379de02c270536e6b42c24a91b1499
7
- data.tar.gz: 05e33be61c5de5b1ab02a4a73c433b21ccc3c8797009d93ed45471486c7d49b1895cf0086031da771f8fac6cf3ad440bc9c481d512eb26d6450dd42efbcdaf0e
6
+ metadata.gz: fa1c1280b7407242a468dfdfedaedd046a37ee3f5cdaca58ffa04713d8d91d9733f8957caa02d809f4ceec0783fa9ffa026767588b59de58986d6b04a5afdcf3
7
+ data.tar.gz: a0f50d13e562f2bda8e1e539e6bf381425f57a280ae54b3d216cbafc2c14cde28123ff6a53bd7765e29365b14211c1eb4aa5608b9d57897f4658b5e18c26f298
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).
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 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: anycable-rails-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.6.2
19
+ version: 1.6.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.6.2
26
+ version: 1.6.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: anycable
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: puma
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '6.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '6.0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rake
71
85
  requirement: !ruby/object:Gem::Requirement