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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9e258f0b06620fbd4e7ed61bbf524913fd9ae79b9c987015e3aaa6a5adf4156
4
- data.tar.gz: c8ed48c5d805cebf6cfd21a5c3ce1b7f2992b92ac05579b8e475237b0b9dbf2c
3
+ metadata.gz: 8f93bc619b22e4fe6f7724048660ec707a7361024f8a63fbe5b86d776e1ff79d
4
+ data.tar.gz: 2ea9648ea293e200ec802c79f52c191df2d7d93b0e1b89e7c2d76e0b60ddca50
5
5
  SHA512:
6
- metadata.gz: 50c32f594a1e8f0b8986c73616a627bf344b8d0de33b7b418bcdc6f6db11781644ef06d59fb0b310c232d1907ec0a5abc6cefd01fa66238711d9c94e76fd69a0
7
- data.tar.gz: 6c4bbd2ae0c50b1a09be41cf465f903238ced16397dd66ea0ffe948cf37a183e266b165bfe3809e631e142bdd8f508b1a7cef5f05687c12b90e218831546dedc
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
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.1.2
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-24 00:00:00.000000000 Z
11
+ date: 2022-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails