hanami-helpers 1.0.0.rc1 → 1.0.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 +2 -1
- data/lib/hanami/helpers/form_helper/form_builder.rb +11 -11
- data/lib/hanami/helpers/form_helper/values.rb +1 -1
- data/lib/hanami/helpers/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa41f81d01269e88ddcde3488cdc395b24487419
|
4
|
+
data.tar.gz: 9b5fee09a1aa741fc37361f47936b923511c06b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f04218c83fd34376c30c4eb2dc0b70e6d6b2660c37760319e96e05b04068997fb2a09eec79c27cca9e015b7f3bbea5355815fbe597b3b23c124536e489479a7
|
7
|
+
data.tar.gz: 9b8b4cec68ed485dcc11a46276d3e08956ac2510b355e816ed57dfb2883e0c253bf8e2819e85cd4d462b30be6fa727bc02362e693f96ca76f64ab28836811800
|
data/CHANGELOG.md
CHANGED
data/hanami-helpers.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'hanami/helpers/version'
|
@@ -20,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
20
21
|
spec.require_paths = ['lib']
|
21
22
|
spec.required_ruby_version = '>= 2.3.0'
|
22
23
|
|
23
|
-
spec.add_dependency 'hanami-utils', '~> 1.0
|
24
|
+
spec.add_dependency 'hanami-utils', '~> 1.0'
|
24
25
|
|
25
26
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
26
27
|
spec.add_development_dependency 'rake', '~> 11'
|
@@ -326,7 +326,7 @@ module Hanami
|
|
326
326
|
# @param content [Symbol,String,NilClass] the content
|
327
327
|
# @param attributes [Hash] HTML attributes to pass to the label tag
|
328
328
|
#
|
329
|
-
# @since 1.0.0
|
329
|
+
# @since 1.0.0
|
330
330
|
#
|
331
331
|
# @example Basic usage
|
332
332
|
# <%=
|
@@ -572,7 +572,7 @@ module Hanami
|
|
572
572
|
# @param name [Symbol] the input name
|
573
573
|
# @param attributes [Hash] HTML attributes to pass to the input tag
|
574
574
|
#
|
575
|
-
# @since 1.0.0
|
575
|
+
# @since 1.0.0
|
576
576
|
#
|
577
577
|
# @example Basic usage
|
578
578
|
# <%=
|
@@ -600,7 +600,7 @@ module Hanami
|
|
600
600
|
# @param name [Symbol] the input name
|
601
601
|
# @param attributes [Hash] HTML attributes to pass to the input tag
|
602
602
|
#
|
603
|
-
# @since 1.0.0
|
603
|
+
# @since 1.0.0
|
604
604
|
#
|
605
605
|
# @example Basic usage
|
606
606
|
# <%=
|
@@ -628,7 +628,7 @@ module Hanami
|
|
628
628
|
# @param name [Symbol] the input name
|
629
629
|
# @param attributes [Hash] HTML attributes to pass to the input tag
|
630
630
|
#
|
631
|
-
# @since 1.0.0
|
631
|
+
# @since 1.0.0
|
632
632
|
#
|
633
633
|
# @example Basic usage
|
634
634
|
# <%=
|
@@ -684,7 +684,7 @@ module Hanami
|
|
684
684
|
# @param name [Symbol] the input name
|
685
685
|
# @param attributes [Hash] HTML attributes to pass to the input tag
|
686
686
|
#
|
687
|
-
# @since 1.0.0
|
687
|
+
# @since 1.0.0
|
688
688
|
#
|
689
689
|
# @example Basic usage
|
690
690
|
# <%=
|
@@ -715,7 +715,7 @@ module Hanami
|
|
715
715
|
# @param name [Symbol] the input name
|
716
716
|
# @param attributes [Hash] HTML attributes to pass to the input tag
|
717
717
|
#
|
718
|
-
# @since 1.0.0
|
718
|
+
# @since 1.0.0
|
719
719
|
#
|
720
720
|
# @example Basic usage
|
721
721
|
# <%=
|
@@ -856,7 +856,7 @@ module Hanami
|
|
856
856
|
# @param name [Symbol] the input name
|
857
857
|
# @param attributes [Hash] HTML attributes to pass to the number input
|
858
858
|
#
|
859
|
-
# @since 1.0.0
|
859
|
+
# @since 1.0.0
|
860
860
|
#
|
861
861
|
# @example Basic usage
|
862
862
|
# <%=
|
@@ -975,7 +975,7 @@ module Hanami
|
|
975
975
|
# @param name [Symbol] the input name
|
976
976
|
# @param attributes [Hash] HTML attributes to pass to the input tag
|
977
977
|
#
|
978
|
-
# @since 1.0.0
|
978
|
+
# @since 1.0.0
|
979
979
|
#
|
980
980
|
# @example Basic usage
|
981
981
|
# <%=
|
@@ -1302,7 +1302,7 @@ module Hanami
|
|
1302
1302
|
# @param content [String] The content
|
1303
1303
|
# @param attributes [Hash] HTML attributes to pass to the button tag
|
1304
1304
|
#
|
1305
|
-
# @since 1.0.0
|
1305
|
+
# @since 1.0.0
|
1306
1306
|
#
|
1307
1307
|
# @example Basic usage
|
1308
1308
|
# <%=
|
@@ -1335,7 +1335,7 @@ module Hanami
|
|
1335
1335
|
# @param source [String] The **absolute URL** of the image
|
1336
1336
|
# @param attributes [Hash] HTML attributes to pass to the button tag
|
1337
1337
|
#
|
1338
|
-
# @since 1.0.0
|
1338
|
+
# @since 1.0.0
|
1339
1339
|
#
|
1340
1340
|
# @example Basic usage
|
1341
1341
|
# <%=
|
@@ -1462,7 +1462,7 @@ module Hanami
|
|
1462
1462
|
# Input <tt>name</tt> HTML attribute
|
1463
1463
|
#
|
1464
1464
|
# @api private
|
1465
|
-
# @since 1.0.0
|
1465
|
+
# @since 1.0.0
|
1466
1466
|
def _displayed_input_name(name)
|
1467
1467
|
_input_name(name).gsub(/\[\d+\]/, '[]')
|
1468
1468
|
end
|
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.0.0
|
4
|
+
version: 1.0.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: 2017-
|
11
|
+
date: 2017-04-06 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.0
|
19
|
+
version: '1.0'
|
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.0
|
26
|
+
version: '1.0'
|
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.6.11
|