agilibox 1.10.2 → 1.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/app/helpers/agilibox/form_helper.rb +10 -0
- data/app/views/agilibox/search/_form_bs3.html.slim +1 -0
- data/app/views/agilibox/search/_form_bs4.html.slim +1 -0
- data/app/views/agilibox/search/_form_bs5.html.slim +1 -0
- data/lib/agilibox/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '099effdf6498e39ccfe893143dabb321eac11de3ffd0bf58c668aa2d2478c19b'
|
4
|
+
data.tar.gz: 39df78a37082ec5bd827bbbbf94efa7f26376736e92ecc1cd1858d2ed60cf6d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ba38eec7f7fe4ccfe22b5d1ff26c4049f733ab2a455a86147af882ed909aee32a80cbeecc354b1efbf77867a4610992bbf9e126325e772ab34f64e14726501'
|
7
|
+
data.tar.gz: d81c0baa5c0ec86b83d49202a4170d9de287028f195ba3aa6d755cda73f0058581ffd7ae3fb590567ad9c77b36ef1b4bf5b6eb2985fe96c22f00d389eee291e9
|
data/CHANGELOG.md
CHANGED
@@ -59,4 +59,14 @@ module Agilibox::FormHelper
|
|
59
59
|
:label => label,
|
60
60
|
)
|
61
61
|
end
|
62
|
+
|
63
|
+
def hidden_inputs_for_get_form(url, except: [])
|
64
|
+
query_values = Addressable::URI.parse(url).query_values.to_h
|
65
|
+
.with_indifferent_access
|
66
|
+
.except(*except)
|
67
|
+
|
68
|
+
return if query_values.empty?
|
69
|
+
|
70
|
+
query_values.sum { |k, v| tag.input(type: "hidden", name: k, value: v) }
|
71
|
+
end
|
62
72
|
end
|
data/lib/agilibox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agilibox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails-i18n
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: addressable
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
description: Agilibox
|
84
98
|
email:
|
85
99
|
- contact@agilidee.com
|