lato 0.3.3 → 0.3.4

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: b7114d15b11a82b810c6ad7fc43c7091b37899aa4593da49119a68409f6a83bd
4
- data.tar.gz: b0a21a157f5a7c75da7e0f4e72298b7e93591165ed5a7aac682aef81c6d53049
3
+ metadata.gz: c37ed4c68214403f2a2990b79e687d9bb7dfc419d264323588f6d5fb6ea691a9
4
+ data.tar.gz: e0ff77ba4bd294f524bc0a5ec9c29ddbcf9d8b0ddd13102d419da833d07031dd
5
5
  SHA512:
6
- metadata.gz: d0322e24fb36d5b50805a2045c97575bf4c117982b234d8d3d05190d37b363459a911c5c497ceacd6fce64b153c4593e3f66acb2495385643e775c478c853392
7
- data.tar.gz: 33884fa65b87180f786b21472259dc812c623c23bff668588b73bc434e4f7d3881f8533109300084c5f80a04d16e70892bf32a2731b056ec53ae68fb28523663
6
+ metadata.gz: 298d0619b9ab3ec166d6ba8aa660a5f92da95c2fa4331a0996f968bdc368729bca02ea8d9b4c4ad566a423486b53af1b3e034aed02adbb3db5ea742a9efb33e5
7
+ data.tar.gz: 00b97c4d74b437901d0f3a71f896978a2038327be732bc0eaa5bb9eb39d673c52b90f75b6ef68364f9554150ef07ed64dde9f56e393f128c7ee48cc30b17cb00
@@ -19,7 +19,7 @@ module Lato
19
19
  ##
20
20
 
21
21
  def user
22
- @user ||= Lato::User.find_by(id: @session[:user_id])
22
+ @user ||= Lato::User.find_by(id: user_id)
23
23
  end
24
24
 
25
25
  def user_id
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante