onsignal 5.0.1 → 5.0.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: 0b865e3b6c4d7ecfdd69ba9bc1879a18813173b5bbeb06d7e310e0869401998f
4
- data.tar.gz: db5b20fa14141fec8aa2fcd281c6b0d172d49ab4ed232fa6e82b5b76a6523125
3
+ metadata.gz: d88f1398df141a3ac035ebd7ab1dec55354d354c0d9894c05318a342f59c0b44
4
+ data.tar.gz: 9b8113b03692610e0d03ce9680dd0cb479619f2b18ccde15727dd79b15f329c4
5
5
  SHA512:
6
- metadata.gz: 9550f4885061e370214831561b2e3c87d0d77cdd109ce55801bd0a272369785b3bc1a7d23c97e5fdf54c493b336c0205802d0bb5113a691ac30122d5a97bc019
7
- data.tar.gz: e5a8b6dd0a20162b47e44ad7e4a08f783979d7606f2dd82c561032fe2f7034bb1c5fc81d992a9455f28522be8010ac9bea3e569786dad6ccab5b83c066a9bb81
6
+ metadata.gz: c2abc428b034a2a1891a83d38c298ccc82638f3a0e6560a39c0520522e69dc9ec4090036c84f80e799debbad371e0cecf4e9681116d03d9fceaeef04269c099e
7
+ data.tar.gz: 7ca5bf398c7bf4ea7beae4ff2d6732162124002afa262bf8900655957e4fda03c525bdee5e6793e559e608081f808a4ad363f00479cd16ed551a0bf93c4dfaed
@@ -4,6 +4,11 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 5.0.2 - 2018/02/19
8
+
9
+ * bugfixes
10
+ * fixed `undefined local variable or method 'current_user'` if not using devise
11
+
7
12
  ### 5.0.1 - 2018/02/19
8
13
 
9
14
  * bugfixes
@@ -7,7 +7,7 @@ module OnSignalController
7
7
  end
8
8
 
9
9
  def set_onsignal_user
10
- current_user if current_user
10
+ current_user if respond_to?(:current_user) && current_user
11
11
  end
12
12
 
13
13
  private
@@ -1,5 +1,5 @@
1
1
  module OnSignal
2
2
 
3
- VERSION = '5.0.1'
3
+ VERSION = '5.0.2'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter