scaffold_pico 1.1.11 → 2.1.12
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 +4 -4
- data/README.md +2 -2
- data/lib/templates/pico/views/materialize/slim/index.html.slim.erb +4 -4
- 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: 2fb60ad0037d7cf6edaefb5699e19e060ac516a9183adb1f733b349b144e0931
|
4
|
+
data.tar.gz: 5ee34c31d8af7f46729af481b6a79666be7d621625f5e584245157c288d9efc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf3924dc514fba7477e66f9627db409425cc6a952f8bd27d1434bb09c513a1e9686549cfe49a56f7b697d8aec5b2fe99571d83c21cf788de62ac33895d33c898
|
7
|
+
data.tar.gz: 2b27d6383a918ad24eb8e9000b2c537b2ba76a8d73742bf2da0d6c7e2fafc67c41aea458b452fe6e713025f167a7e9518c9ed1b8fbf0171a9500760d301612b4
|
data/README.md
CHANGED
@@ -55,7 +55,7 @@ gem install scaffold_pico -P MediumSecurity
|
|
55
55
|
|
56
56
|
The MediumSecurity trust profile will verify signed gems, but allow the installation of unsigned dependencies.
|
57
57
|
|
58
|
-
This is necessary
|
58
|
+
This is necessary in case not all of Scaffold Pico’s dependencies are signed, so we cannot use HighSecurity.
|
59
59
|
|
60
60
|
|
61
61
|
|
@@ -104,7 +104,7 @@ Help please: For some of the generated models/views there are extra blank links.
|
|
104
104
|
You can't generate scaffolds for a mounted named engines. I don't know if we need this feature.
|
105
105
|
|
106
106
|
|
107
|
-
##
|
107
|
+
## License MIT
|
108
108
|
|
109
109
|
Copyright (c) 2017 gudata. See LICENSE.txt for further details.
|
110
110
|
|
@@ -42,13 +42,13 @@
|
|
42
42
|
|
43
43
|
<% @rails.resource.fields.select {|k,v| @rails.controller.search_fields.include?(k) }.each_pair do |field_name, field_type| %>
|
44
44
|
<% if field_type == 'belongs_to' -%>
|
45
|
-
|
45
|
+
= form.input :<%= field_name -%>_id
|
46
46
|
<% elsif ['date', 'datetime'].include?(field_type) -%>
|
47
|
-
|
47
|
+
= form.input :<%= field_name -%>, as: :date, html5: true
|
48
48
|
<% elsif field_type == 'boolean' -%>
|
49
|
-
|
49
|
+
= form.input :<%= field_name -%>, as: :boolean, input_html: {class: 'filled-in'}
|
50
50
|
<% else %>
|
51
|
-
|
51
|
+
= form.input :<%= field_name -%>
|
52
52
|
<% end -%>
|
53
53
|
<% end %>
|
54
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scaffold_pico
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gudata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|