scaffold_pico 1.1.7 → 1.1.8

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
  SHA1:
3
- metadata.gz: 14cf2648944a7e5f17fefee16207c780e92cb932
4
- data.tar.gz: b42eaf583b52b2b40f507f5833f563a95e7612db
3
+ metadata.gz: f9a8ab2a97285483da947927ed14ffb19cc41386
4
+ data.tar.gz: dd94b57c3b760891ca4be43320d9c38c01b91bcb
5
5
  SHA512:
6
- metadata.gz: 5f4addb50eaa34fb870635bc0ecaf30b5b9db09994aa33472daf565301257c3442a4847d933bbc2c14807f4ccb0555855ebd696b9983e4a8b0471565c1bd144b
7
- data.tar.gz: 78b7b56bf9f28549a31ce8388a92f28b54075a3386bca329d23510933516472cb9aa669a625d4896f806e044353e0aa08345f067587bce088d9d8fb3a637d3fd
6
+ metadata.gz: c324e6d34bf1a5a53dbbbeec531b6c927a00f23f55b1de8e798489a7a2f0b0315acdf89bc2a29583d0aa94b528f5cd80b8872044639a69379bc80de5399914ad
7
+ data.tar.gz: d56e4f57c42f0f3e9d5fb99e1b09a86239fd6cfed0ffd9de9bed6dc77cb8a5493e8f1f42d268c9e0ab60e039a6e511d605e3c65380ffa3510ac2a71153fd45f6
data/README.md CHANGED
@@ -92,3 +92,6 @@ You can't generate scaffolds for a mounted named engines. I don't know if we nee
92
92
  ## Copyright
93
93
 
94
94
  Copyright (c) 2017 gudata. See LICENSE.txt for further details.
95
+
96
+ [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgudata%2Fscaffold_pico.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgudata%2Fscaffold_pico?ref=badge_shield)
97
+
@@ -15,7 +15,7 @@ class <%= @rails.resource.search_class_name %>
15
15
 
16
16
  <% @rails.controller.search_fields.select { |search_filed| @rails.resource.fields[search_filed] == 'integer' }.each do |search_filed| %>
17
17
  <%=
18
- "validates :#{field_name}, numericality: { only_integer: true }, allow_blank: true"
18
+ "validates :#{search_filed}, numericality: { only_integer: true }, allow_blank: true"
19
19
  -%>
20
20
  <% end %>
21
21
 
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: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - gudata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-19 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport