lato 0.3.5 → 0.3.6

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: db4a76d538676001f6272a95a655d30c2032755b958af6663c9cd56406b4579b
4
- data.tar.gz: af42edc18453ef303c0d133ed645d467d3ef9ad149d20a711a22d7f146c402e0
3
+ metadata.gz: f43d6cefc6a6d28793af8e8e0f82496cfb75f48ab614decf2d58071e240c3230
4
+ data.tar.gz: e536e7a7838ebb84ed3dc0c447abffea17c8d04f028ebc2eab8fda5cb0de14fa
5
5
  SHA512:
6
- metadata.gz: e8b3fa3b298f45e732714c831e8bcc1cc0a5abf70359b0bf0ccf3879aa0bba7c345dee605f949e558efba88ce58ba2b260e2f4e995459e6f05aa66b248614647
7
- data.tar.gz: ed3e24cf89a0a75a755f67a0acde431c41cc85685860f75b8ff89d42af5b2ac597d1f6b928570ac6e64dae04ffb4c682d3c9bda80a31878c7c0ec543eb0a5235
6
+ metadata.gz: 67af3cb7886ec232c561a7a42e788b0c3b5c6bdada6255d5133f992369296fc5f3cf1ec100b6c70ca9e9ff906abab28e1d37af5807e58837701dfffd8197ed6e
7
+ data.tar.gz: 2ff3e3e0f43070274e37497dfc494c4c227182113587004367543b40d7cd61d2d332ccb9d8e699e812adeb19d3a94b973b6aa63bf30622ce8dc6445b14a03dac
@@ -58,6 +58,10 @@ module Lato
58
58
  "#{last_name} #{first_name}"
59
59
  end
60
60
 
61
+ def gravatar_image_url(size = 200)
62
+ @gravatar_image_url ||= "https://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(email)}?s=#{size}"
63
+ end
64
+
61
65
  # Operations
62
66
  ##
63
67
 
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2023-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails