ruby_rabbitmq_janus 4.0.0.pre.939119110 → 4.0.0.pre.939133437

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: 3014133073033a548109a80d9afc297733d059a00e676486aaa312329a91267f
4
- data.tar.gz: d7ef8a6ceb675c19ea540678a1c12b0299eac32f40feb8253cfd2555ffc0d310
3
+ metadata.gz: faf0fd82aa0e3c09875b2472666dc61f1b56bde4515f148a85ed7ced1dcd15d5
4
+ data.tar.gz: 49e8636da3b7175a5380b73223113e0698127de148dd70cad5f6de0a411a22da
5
5
  SHA512:
6
- metadata.gz: 2f28d3c10b64411c78d6bd722ce79ff47083815e6a655ef4c2f57b2fdfb97c616f43d2fd7847da155b4e68e056ff414c8341705047d30effa8feb0fc9d3bf54f
7
- data.tar.gz: edb5a06cc7d8ccc8cc55600d6eb40461e676d51cd5eb6ceb7804001a25215cb02361d7d9b02d377f4e144250142303a44a8a95996c883e72083ccf1b27be44df
6
+ metadata.gz: 9162e72682d870e5b15191e75810aae56a85a128958a351ec24d5e1dae83fa4048767d0a13c806ec5431a83320c5d5a8a8c12a3913a921df8ce860ed59f5620e
7
+ data.tar.gz: 2a863c4011873936635e1ec158677cc07e324610b19db9d36033f643b1078f84c0e6ea00cc06456533e8952f03880fa1bca0dc1808443cb7a91d4dc3b510cd1d
@@ -32,7 +32,8 @@ module RubyRabbitmqJanus
32
32
 
33
33
  # Create an transaction with rabbitmq and not close
34
34
  def transaction_long
35
- raise RubyRabbitmqJanus::Errors::Connect::MissingAction unless block_given?
35
+ raise RubyRabbitmqJanus::Errors::Connect::MissingAction \
36
+ unless block_given?
36
37
 
37
38
  Timeout.timeout(60) do
38
39
  start
@@ -13,7 +13,7 @@ describe RubyRabbitmqJanus::RRJAdmin, type: :request,
13
13
  let(:schema_success) { type }
14
14
  let(:parameter) { {} }
15
15
 
16
- context 'request #list_handles' do
16
+ context 'when request #list_handles' do
17
17
  context 'when no session/handle' do
18
18
  let(:exception_class) { RubyRabbitmqJanus::Errors::Janus::Responses::InvalidRequestPath }
19
19
  let(:exception_message) { "[457] Reason : Unhandled request 'list_handles' at this path" }
data/spec/spec_helper.rb CHANGED
@@ -87,7 +87,7 @@ RSpec.configure do |config|
87
87
  # Clean database before execute an example
88
88
  DatabaseCleaner.strategy = ENV['MONGO'] == 'true' ? :deletion : :truncation
89
89
  config.before do |example|
90
- after_load_database unless example.metadata[:type].match?(/tools/)
90
+ after_load_database unless example.metadata[:type].include?(:tools)
91
91
  end
92
92
 
93
93
  # Use timeout for requester
metadata CHANGED
@@ -1,7 +1,7 @@
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.939119110
4
+ version: 4.0.0.pre.939133437
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy