ez-resources 0.1.4 → 0.2.0

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: 1b3e10c0d602e396efdb1f247852079a73a3ff7400f4b8f6e29be00ef09d00a0
4
- data.tar.gz: d2a3b95d310489e308e114fcb7cf254839e98673fdb72431c14eda556f10bca8
3
+ metadata.gz: 386052e063ee3b18f98da26da65840f8bdbb023ec2675b7478cbd037dcc779c8
4
+ data.tar.gz: 7e70f363241f152bff569238393c10cd9cb9038d71f7e368466fb1e3b61a04ec
5
5
  SHA512:
6
- metadata.gz: f5352b31aeeb6e3e427dd18a8968c96d8af522c55f5a67240f17131fae7090c25c84fb3b26d5dd2ba0cde8805a1f3f0605cf13671fa196857cadd97279b6709f
7
- data.tar.gz: 1bebc28528126229a4b491a56fa766c8695a279a8780a6118f296ae92242a1aab4596716ed6139dfa8298d5d0a5fd225185591f0fa6aa21308717ca32d59223b
6
+ metadata.gz: 00d8697327f8493a2ae24dfba5458bdd4f4c2e196fb585aa782a255e69f855e71b48b46f3b56c33bd82cad27f43efe1b2829db5925ea0c9e86a0b9dc61875aec
7
+ data.tar.gz: '059c05e2a65dde2fce7a68a4af0c698e21e674240edc93cc0cccf3c391ae8f20e01fb065dd3bcb19da50b6b04b11684563eba0e9581a009586cd52d33d6d41cf'
@@ -7,7 +7,7 @@
7
7
  - model.collection_columns.each do |field|
8
8
  - if field.searchable && SEARCHABLE_FIELDS.include?(field.type)
9
9
  = div_for 'collection-search-panel-field'
10
- = f.input field_name(field),
10
+ = f.input field_input_name(field),
11
11
  label: field_label(field),
12
12
  required: false,
13
13
  as: cast_field_type(field.type),
@@ -17,7 +17,7 @@ module Ez
17
17
  end
18
18
  end
19
19
 
20
- def field_name(field)
20
+ def field_input_name(field)
21
21
  if association?(field)
22
22
  search_key(field.name, field.search_suffix, field.options.fetch(:association))
23
23
  else
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ez
4
4
  module Resources
5
- VERSION = '0.1.4'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ez-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodya Sveredyuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-27 00:00:00.000000000 Z
11
+ date: 2022-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cells-rails
@@ -73,9 +73,6 @@ dependencies:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '5.2'
76
- - - "<="
77
- - !ruby/object:Gem::Version
78
- version: '7.0'
79
76
  type: :runtime
80
77
  prerelease: false
81
78
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,9 +80,6 @@ dependencies:
83
80
  - - ">="
84
81
  - !ruby/object:Gem::Version
85
82
  version: '5.2'
86
- - - "<="
87
- - !ruby/object:Gem::Version
88
- version: '7.0'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: ransack
91
85
  requirement: !ruby/object:Gem::Requirement