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.
@@ -1,8 +1,7 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  class Roda
3
-
4
4
  module Tags
5
- VERSION = '0.1.2'
5
+ VERSION = '0.2.0'
6
6
  end
7
-
8
7
  end
data/lib/roda/tags.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'roda'
2
4
  require 'roda/tags/version'
3
5
  require 'roda/plugins/tags'
data/roda-tags.gemspec CHANGED
@@ -1,6 +1,9 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
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 = %q{A Roda Plugin providing easy creation of flexible HTML tags.}
13
- spec.description = %q{HTML tags functionality for Roda.}
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
- # # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
- # # delete this section to allow pushing this gem to any host.
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 += ['--quiet', '--line-numbers', '--inline-source', '--title', 'Roda-Tags: HTML tag plugin', '--main', 'README.md']
34
-
35
- spec.add_runtime_dependency 'roda'
36
- spec.add_runtime_dependency 'tilt'
37
- spec.add_runtime_dependency 'erubis'
38
-
39
- spec.add_development_dependency 'bundler', '~> 1.10'
40
- spec.add_development_dependency 'rake', '~> 10.0'
41
- spec.add_development_dependency 'minitest'
42
- spec.add_development_dependency 'minitest-hooks'
43
- spec.add_development_dependency 'minitest-have_tag'
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.1.2
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: 2020-02-13 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: roda
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: '0'
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: '0'
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: '1.10'
62
- type: :development
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: '1.10'
32
+ version: 1.13.0
69
33
  - !ruby/object:Gem::Dependency
70
- name: rake
34
+ name: haml
71
35
  requirement: !ruby/object:Gem::Requirement
72
36
  requirements:
73
37
  - - "~>"
74
38
  - !ruby/object:Gem::Version
75
- version: '10.0'
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: '0'
90
- type: :development
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: '0'
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: '0'
52
+ version: 6.3.0
111
53
  - !ruby/object:Gem::Dependency
112
- name: minitest-have_tag
54
+ name: roda
113
55
  requirement: !ruby/object:Gem::Requirement
114
56
  requirements:
115
- - - ">="
57
+ - - "~>"
116
58
  - !ruby/object:Gem::Version
117
- version: '0'
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: '0'
125
- - !ruby/object:Gem::Dependency
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: '0'
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: '0'
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: nokogiri
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: '0'
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: '0'
174
- type: :development
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: '0'
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: '0'
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
- - ".travis.yml"
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
- post_install_message:
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: '0'
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.0.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
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.2
4
- before_install: gem install bundler -v 1.10.3