hanami-helpers 1.0.0 → 1.1.0.beta1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f48199cf6ff734ff97a768a162c7c2c1ea20f28e
|
4
|
+
data.tar.gz: d036870ab45c686b2e190cd29e6e32c5b2faa390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b943827969430e932e4de3623f01f322a97d42474092e2f2f264bdcabf1438f6c330d7b7c28b3c494a3b431f7b27daf8c1c75944875862d9d7eb692f050aa0e9
|
7
|
+
data.tar.gz: ca2e6f19cad1f60a7ef578bfadb69252db795f86a8e93ceead474be29fb776a94c11d33620a65d6f2b6b363c0aa40d216984777538b54e840af04f803291fab2
|
data/CHANGELOG.md
CHANGED
data/hanami-helpers.gemspec
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
|
4
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
6
|
require 'hanami/helpers/version'
|
6
7
|
|
@@ -21,11 +22,11 @@ Gem::Specification.new do |spec|
|
|
21
22
|
spec.require_paths = ['lib']
|
22
23
|
spec.required_ruby_version = '>= 2.3.0'
|
23
24
|
|
24
|
-
spec.add_dependency 'hanami-utils', '
|
25
|
+
spec.add_dependency 'hanami-utils', '1.1.0.beta1'
|
25
26
|
|
26
27
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
27
28
|
spec.add_development_dependency 'rake', '~> 11'
|
28
29
|
spec.add_development_dependency 'minitest', '~> 5.5'
|
29
|
-
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.5'
|
30
31
|
spec.add_development_dependency 'dry-struct', '~> 0.1'
|
31
32
|
end
|
@@ -315,7 +315,7 @@ module Hanami
|
|
315
315
|
when String, Hanami::Utils::String
|
316
316
|
content
|
317
317
|
else
|
318
|
-
Utils::String.
|
318
|
+
Utils::String.capitalize(content)
|
319
319
|
end
|
320
320
|
|
321
321
|
super(content, attributes)
|
@@ -1473,7 +1473,7 @@ module Hanami
|
|
1473
1473
|
# @since 0.2.0
|
1474
1474
|
def _input_id(name)
|
1475
1475
|
name = _input_name(name).gsub(/\[(?<token>[[[:word:]]\-]*)\]/, INPUT_ID_REPLACEMENT)
|
1476
|
-
Utils::String.
|
1476
|
+
Utils::String.dasherize(name)
|
1477
1477
|
end
|
1478
1478
|
|
1479
1479
|
# Input <tt>value</tt> HTML attribute
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.1.0.beta1
|
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-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hanami-utils
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.1.0.beta1
|
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:
|
26
|
+
version: 1.1.0.beta1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '5.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.5'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.5'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: dry-struct
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,9 +137,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
137
|
version: 2.3.0
|
124
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
139
|
requirements:
|
126
|
-
- - "
|
140
|
+
- - ">"
|
127
141
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
142
|
+
version: 1.3.1
|
129
143
|
requirements: []
|
130
144
|
rubyforge_project:
|
131
145
|
rubygems_version: 2.6.11
|