anyt 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f49015d1bfc782a6cefdc033022683db45e0a8e0885a72aae504a56bdd4a5c1
4
- data.tar.gz: 212fa4ef1c916ea63cbfc2fccc4e974e5a27876a4e963024855f0a333d50f662
3
+ metadata.gz: 98e0ff916d9b26a1c59c1590deaf1991e5b03e9307d9939069d2a7f16360c8a5
4
+ data.tar.gz: 8e425053f5af7706d9a3ea478d6b08e43ef6b7fe15f58fa0c97800c6aafcaff8
5
5
  SHA512:
6
- metadata.gz: feddd2dfaf287ac79d775fe8e163582ce8b25357c0d470a4e243a6b849577184444f44437e0cf94028ff478c99bb0bb36cc9bf15d33078f379856dfdba09abb0
7
- data.tar.gz: 195b9d7ed1f1b0e0e9ba876c0e6377f72d56f834154092b1cf586be74b0e9f652da23001bff3ff60d649047de62d3696a1cf7ee72bc33678e8d8a10b21641c2d
6
+ metadata.gz: ef09aae331254a361fe2f62d5f0d00bcac7c1f353c90f88f225cbff3d3e16b145e1225c28d026c3aabe5bac01bcef52944f6a5a4846d48ff4f0ff0841d5ae1ac
7
+ data.tar.gz: 06ecdbdf18997b6ed3e7e4d13a8a68069b35bcd1db124c27cbcb11c739e68abbd7e168b655cf0b1c366d3ab0d72b6e9d65394472c5135e9b31d25790e13124a7
data/lib/anyt/cli.rb CHANGED
@@ -97,7 +97,6 @@ module Anyt
97
97
 
98
98
  cli.on("--only-rpc", TrueClass, "Run only RPC server") do |flag|
99
99
  @only_rpc = flag
100
- @skip_tests = true
101
100
  end
102
101
 
103
102
  cli.on("--only-rails", TrueClass, "Run only Rails server") do
@@ -63,6 +63,12 @@ class BenchmarkChannel < ApplicationCable::Channel
63
63
  transmit data
64
64
  end
65
65
 
66
+
67
+ def counter(data)
68
+ num = data.fetch("num", 100).to_i
69
+ num.times { ActionCable.server.broadcast "all", {text: "Count: #{_1}"} }
70
+ end
71
+
66
72
  private
67
73
 
68
74
  def stream_id
data/lib/anyt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anyt
4
- VERSION = "1.2.2"
4
+ VERSION = "1.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-23 00:00:00.000000000 Z
11
+ date: 2023-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -278,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  - !ruby/object:Gem::Version
279
279
  version: '0'
280
280
  requirements: []
281
- rubygems_version: 3.4.6
281
+ rubygems_version: 3.4.8
282
282
  signing_key:
283
283
  specification_version: 4
284
284
  summary: Anycable conformance testing tool