signum 0.7.1 → 0.7.2

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: 68740b1c62bffcd3cdf9969480fe34c76761696447eb3b45530ffd0b25e4a06c
4
- data.tar.gz: 368995be484d022dd4eb9add81bb58c49b3b39c24b77fbed6ff23d335baf7dba
3
+ metadata.gz: 70f07ba920350cfcc01c51e62854936d070951d4a3dcf37ad381bf0d29e2c75f
4
+ data.tar.gz: e8d35f2cd2a4c09033bcd87a69b7373fc6ea002c64001e9d0f64d8cc8c96cba7
5
5
  SHA512:
6
- metadata.gz: 40303e2ab0900fc7dfbedb859f5da85b504180eb111f19499ea36fc6928cbaf4e22a1a2ec13c495160fa628b8ff0457312733307811d4a7c314f90dcf04e636d
7
- data.tar.gz: 68fbd114bbd33447a3875de46dd657f4db211a0ea1f7ffc12420471c247b82c4ccdf1d3bba301f179f3696c6ff718fcb43158fe805987d4af33923b48cb8dbd9
6
+ metadata.gz: 6757ede07a145e076903f8cc667521166e99c8ff0215bb0e606d4f3dd15e7d21eab5a1dbe4fdd7712539fb16a743e21f67e74416b0ca1cc0ced422653b53f39f
7
+ data.tar.gz: 3d263f2cc1d3d53604eea2c2c21b58dd648b10a79d8fb7593f8e6829ecf5c7a5c4327f78cf8dcb532d7daa94f465f0d1e48078f0f11e9c9bc01ce9ddfb6239ab
@@ -13,7 +13,7 @@ module Signum
13
13
  end
14
14
 
15
15
  def close_all
16
- signals = current_user.signals.where.not(state: "closed")
16
+ signals = Signum.config.current_user.call.signals.where.not(state: "closed")
17
17
  signals.each(&:close!)
18
18
  head :ok
19
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Signum
4
- VERSION = "0.7.1"
4
+ VERSION = "0.7.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt