ruby_rabbitmq_janus 4.0.0 → 4.0.1.pre.1265140558

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: 177f8dc4c528ad6fc78dd44549831956622c2534718b48b95ca24f4e31c6e391
4
- data.tar.gz: 8506887fc57433a53b736b194c870a30683b974dc43c8d6d32a901a4ed57e963
3
+ metadata.gz: a7bd366c773c87d7099fa5877216f8bdd053069dcc799bbd37d7b86d96297197
4
+ data.tar.gz: b0c402d3316c96117a3d7cde67206dec284b7ddf3c5d54faed6cfd9a80b96bb6
5
5
  SHA512:
6
- metadata.gz: 840007fb44954659241da754e623636452aa013704444b8c94aef48ac94fe335d1b15a8af481632468c37b1d5ef08750e71b9efcdadb893a7653d4a598dee431
7
- data.tar.gz: ea9c74246349e918ec9e838330faccdddeed7feb93737530463631c1e3ad9198eb0420b7cdfc555142e09a6287836e6124d29bf444bc429f51be6cbb00ddb5bc
6
+ metadata.gz: 4c823626f3eac6a1ef486eac346862dbd64ce62f069068cce187242e48c5c4cf7e8971e3d6194ba56d0f0c7f89037fb99957c422470bd59abe0b3d4670e39fb7
7
+ data.tar.gz: 89a5c209d43f8c958d8444700859cdab404b01947f7e4b09e4b2eff2a6c72060d1cf019e7e3bd41a56988251951319e5dbab7d9f6b0f414b8e717d34037c4ffc
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
4
+ version: 4.0.1.pre.1265140558
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
@@ -772,9 +772,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
772
772
  version: 2.7.0
773
773
  required_rubygems_version: !ruby/object:Gem::Requirement
774
774
  requirements:
775
- - - ">="
775
+ - - ">"
776
776
  - !ruby/object:Gem::Version
777
- version: '0'
777
+ version: 1.3.1
778
778
  requirements: []
779
779
  rubygems_version: 3.1.6
780
780
  signing_key: