ruby_rabbitmq_janus 2.1.0.pre.131 → 2.1.0.pre.132

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: 811e021180e0a35a51ba2ff75163625140382e7d
4
- data.tar.gz: b1f5f2ad5d3cd7ed34ada499fdb471d31956854c
3
+ metadata.gz: da7e01aeca98c6e18831e2cf501e64dc610b475d
4
+ data.tar.gz: c4360ad19e7e7b6c4d8f889a1d129a4e6054d075
5
5
  SHA512:
6
- metadata.gz: e2fe3d01287875d2a843831ecad3a0286d553f8253aadc984c187d8953a43e0926c118d75a80c6ac3a801e08ca4ec02164639fc4297e8638cea9943489573e9e
7
- data.tar.gz: 914cd24efdf27e8aaabf4a7b82c24a5b7779a8b1dc1da1569abca51da080178329d2cfa1f2c41c242e583b103b12cb8e820bf16f0ad669ebacca0bd9954d99d4
6
+ metadata.gz: bf48a1a06651cfd5ffbe2efe96ce432ffdaf2a08c45dd41f90f415d20fab6ec74219d7df6cdf0634b51171665c0ecfb753d8f8dca014672e6072c7e08d80e3b7
7
+ data.tar.gz: aabb11904efe47062cfe789ade7ef8f2cf332f48be8cf69cea9785213d4d14315e3622d518aded39be036bf175628d4ea967b2b69c3ed75ebf6a6334652625ad
@@ -9,8 +9,10 @@ namespace :rrj do
9
9
  Rails.logger.info \
10
10
  "Delete instance #{args[:instance]} with session #{args[:session]}"
11
11
 
12
- RubyRabbitmqJanus::Models::JanusInstance\
13
- .find_by_session(args[:session]).destroy
12
+ janus_instance = RubyRabbitmqJanus::Models::JanusInstance\
13
+ .find_by_session(args[:session])
14
+
15
+ janus_instance.destroy if janus_instance
14
16
 
15
17
  Rails.logger.info "Executed in #{Time.now.utc - timelaps} ms"
16
18
  end
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: 2.1.0.pre.131
4
+ version: 2.1.0.pre.132
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-08 00:00:00.000000000 Z
11
+ date: 2017-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler