roda-tags 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +24 -0
- data/.github/workflows/ruby.yml +45 -0
- data/.gitignore +1 -1
- data/.rubocop.yml +33 -0
- data/.rubocop_todo.yml +7 -0
- data/CODE_OF_CONDUCT.md +22 -16
- data/Gemfile +86 -0
- data/Guardfile +25 -0
- data/README.md +234 -236
- data/Rakefile +14 -18
- data/lib/core_ext/blank.rb +37 -36
- data/lib/core_ext/hash.rb +39 -16
- data/lib/core_ext/object.rb +2 -2
- data/lib/core_ext/string.rb +290 -116
- data/lib/roda/plugins/tag_helpers.rb +795 -575
- data/lib/roda/plugins/tags.rb +531 -275
- data/lib/roda/tags/version.rb +2 -3
- data/lib/roda/tags.rb +2 -0
- data/roda-tags.gemspec +22 -26
- metadata +44 -141
- data/.travis.yml +0 -4
data/lib/roda/tags/version.rb
CHANGED
data/lib/roda/tags.rb
CHANGED
data/roda-tags.gemspec
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
|
3
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
|
4
7
|
require 'roda/tags/version'
|
5
8
|
|
6
9
|
Gem::Specification.new do |spec|
|
@@ -9,13 +12,14 @@ Gem::Specification.new do |spec|
|
|
9
12
|
spec.authors = ['Kematzy']
|
10
13
|
spec.email = ['kematzy@gmail.com']
|
11
14
|
|
12
|
-
spec.summary =
|
13
|
-
spec.description =
|
15
|
+
spec.summary = 'A Roda Plugin providing easy creation of flexible HTML tags.'
|
16
|
+
spec.description = 'HTML tags functionality for Roda.'
|
14
17
|
spec.homepage = 'https://github.com/kematzy/roda-tags/'
|
15
18
|
spec.license = 'MIT'
|
19
|
+
spec.required_ruby_version = '>= 3.0.0'
|
16
20
|
|
17
|
-
#
|
18
|
-
#
|
21
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
22
|
+
# delete this section to allow pushing this gem to any host.
|
19
23
|
# if spec.respond_to?(:metadata)
|
20
24
|
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
25
|
# else
|
@@ -26,26 +30,18 @@ Gem::Specification.new do |spec|
|
|
26
30
|
spec.bindir = 'exe'
|
27
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
32
|
spec.require_paths = ['lib']
|
29
|
-
|
33
|
+
|
30
34
|
spec.platform = Gem::Platform::RUBY
|
31
|
-
spec.has_rdoc = true
|
32
35
|
spec.extra_rdoc_files = ['README.md', 'LICENSE.txt']
|
33
|
-
spec.rdoc_options
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
spec.
|
40
|
-
spec.
|
41
|
-
spec.
|
42
|
-
|
43
|
-
spec.
|
44
|
-
spec.add_development_dependency 'minitest-rg'
|
45
|
-
spec.add_development_dependency 'rack-test'
|
46
|
-
spec.add_development_dependency 'nokogiri'
|
47
|
-
|
48
|
-
spec.add_development_dependency 'simplecov'
|
49
|
-
spec.add_development_dependency 'rubocop'
|
50
|
-
|
36
|
+
spec.rdoc_options += [
|
37
|
+
'--quiet', '--line-numbers', '--inline-source', '--title',
|
38
|
+
'Roda-Tags: HTML tag plugin', '--main', 'README.md'
|
39
|
+
]
|
40
|
+
|
41
|
+
spec.add_dependency('erubi', '~> 1.13.0', '>= 1.13.0')
|
42
|
+
spec.add_dependency('haml', '~> 6.3.0', '>= 6.3.0')
|
43
|
+
spec.add_dependency('roda', '~> 3.85.0', '>= 3.85.0')
|
44
|
+
spec.add_dependency('tilt', '~> 2.4.0', '>= 2.4.0')
|
45
|
+
|
46
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
51
47
|
end
|
metadata
CHANGED
@@ -1,197 +1,95 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roda-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kematzy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: tilt
|
14
|
+
name: erubi
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
17
|
+
- - "~>"
|
39
18
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: erubis
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
19
|
+
version: 1.13.0
|
45
20
|
- - ">="
|
46
21
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
22
|
+
version: 1.13.0
|
48
23
|
type: :runtime
|
49
24
|
prerelease: false
|
50
25
|
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: bundler
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
26
|
requirements:
|
59
27
|
- - "~>"
|
60
28
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
29
|
+
version: 1.13.0
|
30
|
+
- - ">="
|
67
31
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
32
|
+
version: 1.13.0
|
69
33
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
34
|
+
name: haml
|
71
35
|
requirement: !ruby/object:Gem::Requirement
|
72
36
|
requirements:
|
73
37
|
- - "~>"
|
74
38
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '10.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: minitest
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
39
|
+
version: 6.3.0
|
87
40
|
- - ">="
|
88
41
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
90
|
-
type: :
|
42
|
+
version: 6.3.0
|
43
|
+
type: :runtime
|
91
44
|
prerelease: false
|
92
45
|
version_requirements: !ruby/object:Gem::Requirement
|
93
46
|
requirements:
|
94
|
-
- - "
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest-hooks
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
47
|
+
- - "~>"
|
102
48
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
49
|
+
version: 6.3.0
|
108
50
|
- - ">="
|
109
51
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
52
|
+
version: 6.3.0
|
111
53
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
54
|
+
name: roda
|
113
55
|
requirement: !ruby/object:Gem::Requirement
|
114
56
|
requirements:
|
115
|
-
- - "
|
57
|
+
- - "~>"
|
116
58
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
59
|
+
version: 3.85.0
|
122
60
|
- - ">="
|
123
61
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
125
|
-
|
126
|
-
name: minitest-rg
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
62
|
+
version: 3.85.0
|
63
|
+
type: :runtime
|
133
64
|
prerelease: false
|
134
65
|
version_requirements: !ruby/object:Gem::Requirement
|
135
66
|
requirements:
|
136
|
-
- - "
|
67
|
+
- - "~>"
|
137
68
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rack-test
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
69
|
+
version: 3.85.0
|
143
70
|
- - ">="
|
144
71
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
72
|
+
version: 3.85.0
|
153
73
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
74
|
+
name: tilt
|
155
75
|
requirement: !ruby/object:Gem::Requirement
|
156
76
|
requirements:
|
157
|
-
- - "
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
77
|
+
- - "~>"
|
165
78
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: simplecov
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
79
|
+
version: 2.4.0
|
171
80
|
- - ">="
|
172
81
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
174
|
-
type: :
|
82
|
+
version: 2.4.0
|
83
|
+
type: :runtime
|
175
84
|
prerelease: false
|
176
85
|
version_requirements: !ruby/object:Gem::Requirement
|
177
86
|
requirements:
|
178
|
-
- - "
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rubocop
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
87
|
+
- - "~>"
|
186
88
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
89
|
+
version: 2.4.0
|
192
90
|
- - ">="
|
193
91
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
92
|
+
version: 2.4.0
|
195
93
|
description: HTML tags functionality for Roda.
|
196
94
|
email:
|
197
95
|
- kematzy@gmail.com
|
@@ -201,10 +99,14 @@ extra_rdoc_files:
|
|
201
99
|
- README.md
|
202
100
|
- LICENSE.txt
|
203
101
|
files:
|
102
|
+
- ".github/dependabot.yml"
|
103
|
+
- ".github/workflows/ruby.yml"
|
204
104
|
- ".gitignore"
|
205
|
-
- ".
|
105
|
+
- ".rubocop.yml"
|
106
|
+
- ".rubocop_todo.yml"
|
206
107
|
- CODE_OF_CONDUCT.md
|
207
108
|
- Gemfile
|
109
|
+
- Guardfile
|
208
110
|
- LICENSE.txt
|
209
111
|
- README.md
|
210
112
|
- Rakefile
|
@@ -220,8 +122,9 @@ files:
|
|
220
122
|
homepage: https://github.com/kematzy/roda-tags/
|
221
123
|
licenses:
|
222
124
|
- MIT
|
223
|
-
metadata:
|
224
|
-
|
125
|
+
metadata:
|
126
|
+
rubygems_mfa_required: 'true'
|
127
|
+
post_install_message:
|
225
128
|
rdoc_options:
|
226
129
|
- "--quiet"
|
227
130
|
- "--line-numbers"
|
@@ -236,15 +139,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
139
|
requirements:
|
237
140
|
- - ">="
|
238
141
|
- !ruby/object:Gem::Version
|
239
|
-
version:
|
142
|
+
version: 3.0.0
|
240
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
144
|
requirements:
|
242
145
|
- - ">="
|
243
146
|
- !ruby/object:Gem::Version
|
244
147
|
version: '0'
|
245
148
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
247
|
-
signing_key:
|
149
|
+
rubygems_version: 3.5.23
|
150
|
+
signing_key:
|
248
151
|
specification_version: 4
|
249
152
|
summary: A Roda Plugin providing easy creation of flexible HTML tags.
|
250
153
|
test_files: []
|
data/.travis.yml
DELETED