brightcontent-core 2.2.1 → 2.2.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
  SHA1:
3
- metadata.gz: 15ccf70f8a55ca561620e15e8eec3cd90b775e38
4
- data.tar.gz: 3b42b987a2fb5062801df59e4331bfebccd8c672
3
+ metadata.gz: 328a1aa0d525ba8f997a32e0fbfbc4675c80e600
4
+ data.tar.gz: 2627af46726751c4e3a53b42910b655bb21faf21
5
5
  SHA512:
6
- metadata.gz: 1119176ccda99c90fa492652167d41640c17437085b9a72323a0958e6c21b18451e5519f80e976d7e8df3505123b1efc6b32e33f6c8f7740115451379f886cdc
7
- data.tar.gz: 33f7cfeb6846bac7342d20bf9aad1ee3314e42dad83cf03fbdc7ae1bd28d1fd4d4aef569b0c3cf74e381ca506a917e89eea79cbfbf551e3dab0101709a4f3ce6
6
+ metadata.gz: 425e635a272e26eae660eb090f969d5c4c6ca641be917566fbef82bae50f8f74e7e857bbabfded9bc8e0ff5691fb16a75cc9dd84b63210e0b05bf32d948de87b
7
+ data.tar.gz: 3b7f9191314307de47b847f766f88d295ad2c70aae7619d80ac2ee6af1a2f18783b25d34718c54fe4b73f9a52058509834815e93b1554af626c316a6af9aa3ec
@@ -16,7 +16,9 @@ module Brightcontent
16
16
  end
17
17
 
18
18
  def current_user
19
- @current_user ||= Brightcontent.user_model.find(session[:brightcontent_user_id]) if session[:brightcontent_user_id]
19
+ @current_user ||= begin
20
+ Brightcontent.user_model.find(session[:brightcontent_user_id]) if session[:brightcontent_user_id]
21
+ end
20
22
  end
21
23
  helper_method :current_user
22
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightcontent-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Developers at Brightin