hanami-helpers 1.3.0.beta1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/hanami-helpers.gemspec +1 -1
- data/lib/hanami/helpers/form_helper/form_builder.rb +3 -0
- data/lib/hanami/helpers/form_helper/values.rb +1 -0
- data/lib/hanami/helpers/html_helper/empty_html_node.rb +1 -0
- data/lib/hanami/helpers/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3417d3a2366bfebf6ce267fa08470c98f57f8d6e1264af8153730ed461dbd20b
|
4
|
+
data.tar.gz: b8a4ae275bdbde51a26623f9430300d83a9e9c7f3baa7af68883aadddeb258d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 751d4de45499cfcbdc424e53c3ab72c406a61d02bc2e5feb240a7ec09f887975016cba57bf859dde8948b13c4bd38482a7eb3694cb0af5306d6986fdd9797fe6
|
7
|
+
data.tar.gz: bc79d8c228859a08966a91cb155213d0ec07420a706f9aa9e432a99e2117138ab8b30d672552d55e39902aba53e3825be64967530ddfe90615c73a3c938b164f
|
data/CHANGELOG.md
CHANGED
data/hanami-helpers.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
spec.required_ruby_version = '>= 2.3.0'
|
22
22
|
|
23
|
-
spec.add_dependency 'hanami-utils', '~> 1.
|
23
|
+
spec.add_dependency 'hanami-utils', '~> 1.3'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
26
26
|
spec.add_development_dependency 'dry-struct', '~> 0.3'
|
@@ -1689,6 +1689,7 @@ module Hanami
|
|
1689
1689
|
# @since 1.2.0
|
1690
1690
|
def _is_current_value?(input_value, value)
|
1691
1691
|
return unless input_value
|
1692
|
+
|
1692
1693
|
value.to_s == input_value.to_s
|
1693
1694
|
end
|
1694
1695
|
|
@@ -1696,6 +1697,7 @@ module Hanami
|
|
1696
1697
|
# @since 1.2.0
|
1697
1698
|
def _is_in_selected_values?(multiple, selected, value)
|
1698
1699
|
return unless multiple && selected.is_a?(Array)
|
1700
|
+
|
1699
1701
|
selected.include?(value)
|
1700
1702
|
end
|
1701
1703
|
|
@@ -1703,6 +1705,7 @@ module Hanami
|
|
1703
1705
|
# @since 1.2.0
|
1704
1706
|
def _is_in_input_values?(multiple, input_value, value)
|
1705
1707
|
return unless multiple && input_value.is_a?(Array)
|
1708
|
+
|
1706
1709
|
input_value.include?(value)
|
1707
1710
|
end
|
1708
1711
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hanami-utils
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: 2.3.0
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- - "
|
126
|
+
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
128
|
+
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
131
|
rubygems_version: 2.7.7
|