lato 0.3.8 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1db687404de50caa57771e92de805873276c6c6c5ab0270f0b2c937c5a2c92a0
4
- data.tar.gz: 7c33db6b23a3882e887b5b49487e1f5ce021a92fc25e375cda1969d546e381e5
3
+ metadata.gz: a0f940391fc2f80deb23580a9bbb53f775797ba2996d34507c93441df2737c9a
4
+ data.tar.gz: dea7946a37b44fcfd6c88ee04ec5e908cc9effb9c72677d391a86d2d31cf038b
5
5
  SHA512:
6
- metadata.gz: 80b25b7e6839a24be9a5041a1dbcc854a8d9257defb4fa5c6d8fd0cf62524bc846e332933324701885be9d359384ae02b5ac00e45f3f7cb0fcbdd6eaedf189f4
7
- data.tar.gz: 1c66a00b3a9bfc71cb471df3eaec398d668271094527c88a8e25b01e8af977843dceaea955916fa9d8d6191fa5432259ebda300d551e42c20d7c308d31941372
6
+ metadata.gz: 11dbcb75ea392b3698b64056c404a7048d1c388f4f7caefd0eaec592e42df25e4b614d2a56cf3ff6795491a8b7cf019ff9c54a7738388facea24d8d97efb75b6
7
+ data.tar.gz: 351fdff7c4bcff8ecad5077f2da34cd2233b4819a928ade0d1c516a55836d839507266cc9f620d160273d1604b8312ee97bc926122b494a6a9b50446908b5ba4
@@ -15,10 +15,15 @@ export default class extends Controller {
15
15
  connect() {}
16
16
 
17
17
  /**
18
- * Actions
18
+ * Events
19
19
  */
20
20
 
21
21
  onInputChange(e) {
22
22
  e.target.classList.remove('is-invalid')
23
23
  }
24
+
25
+ // NOTE: You can use this method to submit the form from outside the form or from custom DOM actions.
26
+ submit() {
27
+ this.element.submit()
28
+ }
24
29
  }
@@ -43,6 +43,9 @@ module Lato
43
43
  return nil if session.blank?
44
44
 
45
45
  (session.is_a?(String) ? JSON.parse(session) : session).with_indifferent_access
46
+ rescue StandardError => e
47
+ Rails.logger.error "Lato::Session.parse_session: #{e.message}"
48
+ nil
46
49
  end
47
50
  end
48
51
  end
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.10"
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.8
4
+ version: 0.3.10
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-10 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,6 +105,10 @@ files:
105
105
  - README.md
106
106
  - Rakefile
107
107
  - app/assets/config/lato_manifest.js
108
+ - app/assets/images/lato/user-150x150.jpg
109
+ - app/assets/images/lato/user-300x300.jpg
110
+ - app/assets/images/lato/user-600x600.jpg
111
+ - app/assets/images/lato/user-900x900.jpg
108
112
  - app/assets/javascripts/lato/application.js
109
113
  - app/assets/javascripts/lato/controllers/application.js
110
114
  - app/assets/javascripts/lato/controllers/index.js