roda-tags 0.1.1 → 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.1'
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,21 +1,25 @@
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|
7
- spec.name = "roda-tags"
10
+ spec.name = 'roda-tags'
8
11
  spec.version = Roda::Tags::VERSION
9
- spec.authors = ["Kematzy"]
10
- spec.email = ["kematzy@gmail.com"]
12
+ spec.authors = ['Kematzy']
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.}
14
- spec.homepage = "https://github.com/kematzy/roda-tags/"
15
- spec.license = "MIT"
15
+ spec.summary = 'A Roda Plugin providing easy creation of flexible HTML tags.'
16
+ spec.description = 'HTML tags functionality for Roda.'
17
+ spec.homepage = 'https://github.com/kematzy/roda-tags/'
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
@@ -23,27 +27,21 @@ Gem::Specification.new do |spec|
23
27
  # end
24
28
 
25
29
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|features)/}) }
26
- spec.bindir = "exe"
30
+ spec.bindir = 'exe'
27
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
32
+ spec.require_paths = ['lib']
33
+
30
34
  spec.platform = Gem::Platform::RUBY
31
- spec.has_rdoc = true
32
- 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
- spec.add_development_dependency 'simplecov'
48
-
35
+ spec.extra_rdoc_files = ['README.md', 'LICENSE.txt']
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'
49
47
  end
metadata CHANGED
@@ -1,183 +1,95 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
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: 2015-11-24 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
14
+ name: erubi
15
15
  requirement: !ruby/object:Gem::Requirement
16
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
- - - ">="
17
+ - - "~>"
25
18
  - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: tilt
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
19
+ version: 1.13.0
31
20
  - - ">="
32
21
  - !ruby/object:Gem::Version
33
- version: '0'
22
+ version: 1.13.0
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
26
  requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: erubis
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
27
+ - - "~>"
46
28
  - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
29
+ version: 1.13.0
52
30
  - - ">="
53
31
  - !ruby/object:Gem::Version
54
- version: '0'
32
+ version: 1.13.0
55
33
  - !ruby/object:Gem::Dependency
56
- name: bundler
34
+ name: haml
57
35
  requirement: !ruby/object:Gem::Requirement
58
36
  requirements:
59
37
  - - "~>"
60
38
  - !ruby/object:Gem::Version
61
- version: '1.10'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.10'
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
39
+ version: 6.3.0
40
+ - - ">="
74
41
  - !ruby/object:Gem::Version
75
- version: '10.0'
76
- type: :development
42
+ version: 6.3.0
43
+ type: :runtime
77
44
  prerelease: false
78
45
  version_requirements: !ruby/object:Gem::Requirement
79
46
  requirements:
80
47
  - - "~>"
81
48
  - !ruby/object:Gem::Version
82
- version: '10.0'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
49
+ version: 6.3.0
87
50
  - - ">="
88
51
  - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
52
+ version: 6.3.0
97
53
  - !ruby/object:Gem::Dependency
98
- name: minitest-hooks
54
+ name: roda
99
55
  requirement: !ruby/object:Gem::Requirement
100
56
  requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
57
+ - - "~>"
109
58
  - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: minitest-have_tag
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
59
+ version: 3.85.0
115
60
  - - ">="
116
61
  - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
62
+ version: 3.85.0
63
+ type: :runtime
119
64
  prerelease: false
120
65
  version_requirements: !ruby/object:Gem::Requirement
121
66
  requirements:
122
- - - ">="
123
- - !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
- - - ">="
67
+ - - "~>"
130
68
  - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
69
+ version: 3.85.0
136
70
  - - ">="
137
71
  - !ruby/object:Gem::Version
138
- version: '0'
72
+ version: 3.85.0
139
73
  - !ruby/object:Gem::Dependency
140
- name: rack-test
74
+ name: tilt
141
75
  requirement: !ruby/object:Gem::Requirement
142
76
  requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
77
+ - - "~>"
151
78
  - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: nokogiri
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
79
+ version: 2.4.0
157
80
  - - ">="
158
81
  - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
82
+ version: 2.4.0
83
+ type: :runtime
161
84
  prerelease: false
162
85
  version_requirements: !ruby/object:Gem::Requirement
163
86
  requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: simplecov
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
87
+ - - "~>"
172
88
  - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
89
+ version: 2.4.0
178
90
  - - ">="
179
91
  - !ruby/object:Gem::Version
180
- version: '0'
92
+ version: 2.4.0
181
93
  description: HTML tags functionality for Roda.
182
94
  email:
183
95
  - kematzy@gmail.com
@@ -187,10 +99,14 @@ extra_rdoc_files:
187
99
  - README.md
188
100
  - LICENSE.txt
189
101
  files:
102
+ - ".github/dependabot.yml"
103
+ - ".github/workflows/ruby.yml"
190
104
  - ".gitignore"
191
- - ".travis.yml"
105
+ - ".rubocop.yml"
106
+ - ".rubocop_todo.yml"
192
107
  - CODE_OF_CONDUCT.md
193
108
  - Gemfile
109
+ - Guardfile
194
110
  - LICENSE.txt
195
111
  - README.md
196
112
  - Rakefile
@@ -206,8 +122,9 @@ files:
206
122
  homepage: https://github.com/kematzy/roda-tags/
207
123
  licenses:
208
124
  - MIT
209
- metadata: {}
210
- post_install_message:
125
+ metadata:
126
+ rubygems_mfa_required: 'true'
127
+ post_install_message:
211
128
  rdoc_options:
212
129
  - "--quiet"
213
130
  - "--line-numbers"
@@ -222,16 +139,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
139
  requirements:
223
140
  - - ">="
224
141
  - !ruby/object:Gem::Version
225
- version: '0'
142
+ version: 3.0.0
226
143
  required_rubygems_version: !ruby/object:Gem::Requirement
227
144
  requirements:
228
145
  - - ">="
229
146
  - !ruby/object:Gem::Version
230
147
  version: '0'
231
148
  requirements: []
232
- rubyforge_project:
233
- rubygems_version: 2.4.5
234
- signing_key:
149
+ rubygems_version: 3.5.23
150
+ signing_key:
235
151
  specification_version: 4
236
152
  summary: A Roda Plugin providing easy creation of flexible HTML tags.
237
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