ruby_rabbitmq_janus 4.0.0.pre.1001345090 → 4.0.1.pre.1265973744

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: 5210b75f77a8ba1740c4d1214226aa7cbbf4649b9dee74a43f49cf3e579813bd
4
- data.tar.gz: 01604f74eb2a0fae1374f25439cb08279cbf2addbe1bdb61d032a7fa668614e0
3
+ metadata.gz: 00525225ef0d9ad31a25dac31c508eb47c10d87ed7ed16cdecbdc437f190700f
4
+ data.tar.gz: e5eb6523b5d108ae853818340c714a6273c24957682de5133f85d3e1cbcfc3af
5
5
  SHA512:
6
- metadata.gz: cd9bebe544f63f5c2c86a9f24bee316a3abd9e9dad088edeec0261f8b4bfadf42265fd53dbd16fd9b247804382bf54c29e905a194aff0d0439f5a1b6abf3271c
7
- data.tar.gz: ceb76af8e220d8e3c11833b61841b2811d345b5a4d46bdd9d34a66eb65840ed3022d30a2cb7d817d02c80085c4aaa522f3217e5c6a6ba12d1e7f24d11c015cb1
6
+ metadata.gz: 33e047760fee47afb31b787f540d0b3bf70c116bd44b7caef1192b012708973811f0b2331bbc269b55acb5c3333b5a1d57afb52fe32531838c22ca67470550aa
7
+ data.tar.gz: 11494f66e6c49b9d47f48d30ee4480c82056271fdf8460ee1611af93f63c11836712818e9d64038bc0b4a849f5ce4ed4a592fdf87ccb6b0834e9cd14053cb080
data/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  [![Linter](https://github.com/dazzl-tv/ruby-rabbitmq-janus/actions/workflows/linter.yml/badge.svg)](https://github.com/dazzl-tv/ruby-rabbitmq-janus/actions/workflows/linter.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/ruby_rabbitmq_janus.svg)](https://badge.fury.io/rb/ruby_rabbitmq_janus)
5
5
  [![Docs](https://inch-ci.org/github/dazzl-tv/ruby-rabbitmq-janus.svg)](https://inch-ci.org/github/dazzl-tv/ruby-rabbitmq-janus)
6
- [![Maintainability](https://api.codeclimate.com/v1/badges/44e8680ad5e96d109be2/maintainability)](https://codeclimate.com/github/dazzl-tv/ruby-rabbitmq-janus/maintainability)
7
- [![Test Coverage](https://api.codeclimate.com/v1/badges/44e8680ad5e96d109be2/test_coverage)](https://codeclimate.com/github/dazzl-tv/ruby-rabbitmq-janus/test_coverage)
6
+ [![Maintainability](https://api.codeclimate.com/v1/badges/f1eda688803e829438a7/maintainability)](https://codeclimate.com/github/dazzl-tv/ruby-rabbitmq-janus/maintainability)
7
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/f1eda688803e829438a7/test_coverage)](https://codeclimate.com/github/dazzl-tv/ruby-rabbitmq-janus/test_coverage)
8
8
  [![Known Vulnerabilities](https://snyk.io/test/github/dazzl-tv/ruby-rabbitmq-janus/badge.svg)](https://snyk.io/test/github/dazzl-tv/ruby-rabbitmq-janus)
9
9
 
10
10
  Ruby Gem for Janus WebRTC Gateway integration using RabbitMQ message queue
data/lib/rrj/info.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  # Define constant to gem.
7
7
  module RubyRabbitmqJanus
8
8
  # Define version to gem
9
- VERSION = '4.0.0'
9
+ VERSION = '4.0.1'
10
10
 
11
11
  # Name to gem
12
12
  GEM_NAME = 'ruby_rabbitmq_janus'
@@ -15,7 +15,8 @@ module RubyRabbitmqJanus
15
15
 
16
16
  # Create an transaction with rabbitmq and close after response is received
17
17
  def transaction_short(&block)
18
- raise RubyRabbitmqJanus::Errors::Connect::MissingAction unless block
18
+ raise RubyRabbitmqJanus::Errors::Rabbit::Connect::MissingAction \
19
+ unless block
19
20
 
20
21
  response = nil
21
22
 
@@ -23,7 +24,7 @@ module RubyRabbitmqJanus
23
24
  response = transaction_long(&block)
24
25
  end
25
26
  rescue Timeout::Error
26
- raise RubyRabbitmqJanus::Errors::Connect::TransactionTimeout, \
27
+ raise RubyRabbitmqJanus::Errors::Rabbit::Connect::TransactionTimeout, \
27
28
  'The "Short transaction" have raised Timeout exception.'
28
29
  ensure
29
30
  close
@@ -32,7 +33,7 @@ module RubyRabbitmqJanus
32
33
 
33
34
  # Create an transaction with rabbitmq and not close
34
35
  def transaction_long
35
- raise RubyRabbitmqJanus::Errors::Connect::MissingAction \
36
+ raise RubyRabbitmqJanus::Errors::Rabbit::Connect::MissingAction \
36
37
  unless block_given?
37
38
 
38
39
  Timeout.timeout(60) do
@@ -40,7 +41,7 @@ module RubyRabbitmqJanus
40
41
  yield
41
42
  end
42
43
  rescue Timeout::Error
43
- raise RubyRabbitmqJanus::Errors::Connect::TransactionTimeout, \
44
+ raise RubyRabbitmqJanus::Errors::Rabbit::Connect::TransactionTimeout, \
44
45
  'The "Long transaction" have raised Timeout exception.'
45
46
  end
46
47
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_rabbitmq_janus
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre.1001345090
4
+ version: 4.0.1.pre.1265973744
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord