opal-phoenix 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 8c26feb52c3a27d3bb723b42bb51a727e8d050ca
4
- data.tar.gz: 8d9ddacdbc1be2f9369e53e038fe0c1db9d2565b
3
+ metadata.gz: 393f70b999fd9c88e27ebd29134ad2b81f446192
4
+ data.tar.gz: 66de30311b57a5ae82b58207a22e7f2eb41ce42e
5
5
  SHA512:
6
- metadata.gz: 09c0823a5cb69aa81d9065cc01dcba3749adc5b3b8b954438effb56f77e6d222b49683ce37efa737be87061af79baae5d2e1007a0d447b2b80e0ac12aa0ef7b0
7
- data.tar.gz: 637f489583d0ae58458f5c360cc2b6cdf414a8b48f4da38f039c511ac77f4aec318ef32666d3e276c1d03ac8be8012866c8a2eb5c5833a58cd4688169dd1e570
6
+ metadata.gz: adadeb87f024eb73b8f98170ec13b67b68d0ece0a3b5848fc65757118824ff6522deaa5dee3c9c1846862cf43617634453c2a1ba04a38f64fbeb01cc0b50d098
7
+ data.tar.gz: 90c0616b02c5bc884fff12904334658079e377b33d0a682c5939a4e40fe944352802e11e109248f581ba79af7bd44214b548666fc852fb644a7ee6694210e279
data/opal-phoenix.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opal-phoenix'
3
- s.version = '0.0.4'
3
+ s.version = '0.0.5'
4
4
  s.authors = ['Michał Kalbarczyk']
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/fazibear/opal-phoenix'
@@ -8,7 +8,7 @@ module Phoenix
8
8
  super(`new Phoenix.Socket(#{url.to_s}, #{params.to_n})`)
9
9
  end
10
10
 
11
- def channel(topic, params)
11
+ def channel(topic, params = {})
12
12
  chan = Channel.new(topic, params, @native)
13
13
  `#{@native}.channels.push(#{chan.to_n})`
14
14
  chan
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-phoenix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Kalbarczyk