activestate 2.0.0 → 2.0.6

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: cd715fec7e2a7513b6fb64f30711cb026d07cb7e1d379f88b04f4172958c4436
4
- data.tar.gz: 7d4f8212d8d534fb5b3ea6dfd91e41b33325a87bcd892d3888743dfb8b9e763a
3
+ metadata.gz: c3b626ce5e63e81b4187589fe4fb89d2846eae7dde9124b71d850783b93a56de
4
+ data.tar.gz: a1cf6c6def3de48c02982b69ec7bc27234ce51f459f9f5929287c13aa4362528
5
5
  SHA512:
6
- metadata.gz: 94225e705ef44f71194abda140d673f1d01c6f83d3dadd26826ca5643f107874fb020503b3489cc0f2a82d20d20e192da21dd5618e7d503fa0c8e739563b8f2c
7
- data.tar.gz: 9347ad2a8b7a163490e4c43456d7d5de3bd507cf293b8d3140e2bac6ab49cae8474d83a743a6e368cf6d7e6294f8f148d0b14aad7bc3cf31318222026f4f8aff
6
+ metadata.gz: 8db1cb1a9c6954fcee4efb8fcb2594354b65375aa46eecfb90b64b2b17a002cc2c3bfe26711a14be5c5536fbcd1df25456190d650cda768e72f6e5809272fa7b
7
+ data.tar.gz: 10e4f0356d3d9ce166541396487fb29ec828f800c853afe9d282da703fb05467a4944631939264adef387d9b2ef60aeab239325438bafeb1cb208e0c95db1cb6
@@ -43,11 +43,11 @@ module ApplicationCable
43
43
  @subject = subject
44
44
  end
45
45
 
46
- def state(path)
47
- State.new(@subject, @channel, path)
46
+ def state(*path)
47
+ State.new(@subject, @channel, path.join('.'))
48
48
  end
49
-
50
49
  end
50
+
51
51
  class Channel < ActionCable::Channel::Base
52
52
  public :transmit
53
53
 
@@ -55,8 +55,8 @@ module ApplicationCable
55
55
  ScopedChannel.new(self, subject)
56
56
  end
57
57
 
58
- def state(path)
59
- State.new(nil, self, path)
58
+ def state(*path)
59
+ State.new(nil, self, path.join('.'))
60
60
  end
61
61
  end
62
62
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveState
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Buhrmester