janus_gateway 0.0.11 → 0.0.12

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: 067890216107d717f768dd6f9923181309742b3e
4
- data.tar.gz: e344e314528c46a579eb30923691bafc4dee89fc
3
+ metadata.gz: 55f365c936638f4d225d57e3acddd0696a2c9e28
4
+ data.tar.gz: 275525f71b23e9eb0775c44f056f41d94273c080
5
5
  SHA512:
6
- metadata.gz: 1d91ecd62373eab2276356a4d3eeecf7681543000e397e8fbe504723945157174e13054d02cd940ee9a500069f46f4977ff28f494ef69aff57cba0045cf0f0c8
7
- data.tar.gz: e89743b139418a404bb624d17b404ab3757a3188ad35cc4c0b0946dd7df753e3fd8a0481441c7cc1849b3cddba198d4d98c797a2eeddefb8f868dabd83f44060
6
+ metadata.gz: 467ca0a100f358b76a50452eacb93afe607b4f5bc59d7617a25d57df783b186c8cc16705b49e979ac90c89b7ae47a6179d8a274ff33bfae96a39cd6bfaa9e7df
7
+ data.tar.gz: 76e089ff230cdc5b9fb436873a5376e6be113996a9777dd8cb8098d9eb8bc26fe142bab5a6523e9b330b2b68469383e16049bd8f3492eb7254b6a05c732f971c
@@ -51,13 +51,12 @@ module JanusGateway::Plugin
51
51
  streams: streams
52
52
  }
53
53
  ).then do |data|
54
- plugindata = data['plugindata']['data']
55
- if plugindata['error_code'].nil?
54
+ if data['error_code'].nil?
56
55
  _on_success(data)
57
56
 
58
57
  promise.set(data).execute
59
58
  else
60
- error = JanusGateway::Error.new(plugindata['error_code'], plugindata['error'])
59
+ error = JanusGateway::Error.new(data['error_code'], data['error'])
61
60
 
62
61
  _on_error(error)
63
62
 
@@ -1,3 +1,3 @@
1
1
  module JanusGateway
2
- VERSION = '0.0.11'.freeze
2
+ VERSION = '0.0.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: janus_gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-03-10 00:00:00.000000000 Z
14
+ date: 2016-03-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: faye-websocket