rubocop-anycable-rails 1.6.0.rc.3 → 1.6.0

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: '09db2137206b835c8b53cea668859e00ce685a3b83ac2948a513a066a78c9892'
4
- data.tar.gz: d0d3e8cdbcfa976e6e1f742af92c3dffebeb9923df83b81e1c37b23ca60b9da3
3
+ metadata.gz: a411f06584191744e58dfad4ed6a9bc70f0ad270002b9fb25520538af504e99b
4
+ data.tar.gz: 416b8a844de58fe31965a00460bee1abb2b4d1ea10e0664e57a139c89ad34280
5
5
  SHA512:
6
- metadata.gz: 2ae600e3a041f9124f922e14f2da93015d52ce48320f1ba680c36ce1a0a0f8c368916bd1ad695afd3d68ab69135104c9d25e54288fd9f5f755d98207ae042ed0
7
- data.tar.gz: b88150737da0659f0d4c0491c9c7ee52e3744ce1c1cdb1098d79927bfd0cbc5c3cebed5f7f6fd3d7ad41144249af037476e8078578aa0149dbb36a4df68fbd29
6
+ metadata.gz: b819d513c8eb22e8974276d82a307d91de5848b093eab03e1bc1b5145471097d863f73f550450473a2db195b4d8524e2b58a72b19153df0dba6c6a3a2d373090
7
+ data.tar.gz: 66fa493d527d4a5e6f3eca079d845558281ad55db97732b363b002705b0cc7079017e4469af042c571cab24f64889a00f683ad9536b72519ccecb0f29cc0899c
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## main
4
4
 
5
- ## 1.6.0.rc.3 (2025-02-20)
5
+ ## 1.6.0 (2025-03-18)
6
6
 
7
7
  - Update `anycable:download` generator to support v1.6+. ([@palkan][])
8
8
 
@@ -10,8 +10,6 @@
10
10
 
11
11
  It generates a meta tag with the AnyCable JWT token (w/o the URL).
12
12
 
13
- ## 1.6.0.rc.2 (2025-02-10)
14
-
15
13
  - Add Presence API. ([@palkan][])
16
14
 
17
15
  ## 1.5.5 (2024-12-12)
@@ -15,14 +15,9 @@ module RuboCop
15
15
  #
16
16
  class PeriodicalTimers < RuboCop::Cop::Base
17
17
  MSG = "Periodical Timers are not supported in AnyCable"
18
+ RESTRICT_ON_SEND = %i[periodically].freeze
18
19
 
19
- def_node_matcher :calls_periodically?, <<-PATTERN
20
- (send _ :periodically ...)
21
- PATTERN
22
-
23
- def on_send(node)
24
- add_offense(node) if calls_periodically?(node)
25
- end
20
+ alias_method :on_send, :add_offense
26
21
  end
27
22
  end
28
23
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.6.0.rc.3"
5
+ VERSION = "1.6.0"
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.0.rc.3
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-20 00:00:00.000000000 Z
11
+ date: 2025-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -62,9 +62,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  version: '2.7'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">"
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 1.3.1
67
+ version: '0'
68
68
  requirements: []
69
69
  rubygems_version: 3.4.19
70
70
  signing_key: