lato 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/app/helpers/lato/components_helper.rb +12 -0
- data/lib/lato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f93bc619b22e4fe6f7724048660ec707a7361024f8a63fbe5b86d776e1ff79d
|
4
|
+
data.tar.gz: 2ea9648ea293e200ec802c79f52c191df2d7d93b0e1b89e7c2d76e0b60ddca50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aca32e573168d25062aa6b8548a5230cf31a692dbb9cafb6b4c8ee10552bf79c837f985d2affd916dc328638b4bd461cde21276e2301c500a874a7d055fb327
|
7
|
+
data.tar.gz: b7752b7409811ac7e6ddd609416f9d94b7712f42130a5ad59cdc0201934f5bfb81f0c47ad65ca2246760843fd48d1fb2bde59a8a19355dac8348208abc78708a
|
data/README.md
CHANGED
@@ -87,6 +87,12 @@ $ rails db:migrate
|
|
87
87
|
$ foreman start -f Procfile.dev
|
88
88
|
```
|
89
89
|
|
90
|
+
## Publish
|
91
|
+
|
92
|
+
```shell
|
93
|
+
$ ruby bin/publish.rb
|
94
|
+
```
|
95
|
+
|
90
96
|
## License
|
91
97
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
92
98
|
|
@@ -153,6 +153,18 @@ module Lato
|
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
156
|
+
def lato_form_item_input_select(form, key, select_options = [], options = {})
|
157
|
+
_lato_form_input_options(form, key, options, :keyup, 'form-control')
|
158
|
+
|
159
|
+
form.select key, select_options, {}, options
|
160
|
+
end
|
161
|
+
|
162
|
+
def lato_form_item_input_file(form, key, options = {})
|
163
|
+
_lato_form_input_options(form, key, options, :keyup, 'form-control')
|
164
|
+
|
165
|
+
form.file_field key, options
|
166
|
+
end
|
167
|
+
|
156
168
|
def lato_form_submit(form, label, options = {})
|
157
169
|
options[:class] ||= []
|
158
170
|
options[:class].push('btn')
|
data/lib/lato/version.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|