- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruby2html.gemspec
More file actions
Latest commit
43 lines (34 loc) · 1.59 KB
/
Copy pathruby2html.gemspec
File metadata and controls
43 lines (34 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# frozen_string_literal: true
require_relative'lib/gem/ruby2html/version'
Gem::Specification.newdo |spec|
spec.name='ruby2html'
spec.version=Ruby2html::VERSION
spec.authors=['sebi']
spec.email=['gore.sebyx@yahoo.com']
spec.summary='Transform Ruby code into beautiful, structured HTML with C-optimized performance'
spec.description='Ruby2HTML empowers developers to write view logic in pure Ruby, ' \
'seamlessly converting it into clean, well-formatted HTML. ' \
'Enhance your templating workflow, improve readability, and ' \
'leverage the full power of Ruby in your views. ' \
'Features include Rails integration, custom component support, ' \
'automatic HTML beautification, and C-optimized rendering performance.'
spec.homepage='https://github.com/sebyx07/ruby2html'
spec.license='MIT'
spec.required_ruby_version='>= 3.0.0'
spec.metadata['homepage_uri']=spec.homepage
spec.metadata['source_code_uri']=spec.homepage
# Include C extension
spec.extensions=['ext/ruby2html/extconf.rb']
# Include both lib and ext directories
spec.files=Dir.glob('{lib,ext}/{**/*,*}') +
['README.md',File.basename(__FILE__)]
# Set require paths for both the gem and extension
spec.require_paths=%w[lib/gemlib]
# Runtime dependencies
spec.add_dependency'htmlbeautifier','>= 1.4'
# Development dependencies
spec.add_development_dependency'rake','~> 13.0'
spec.add_development_dependency'rake-compiler','~> 1.2'
spec.add_development_dependency'minitest','~> 5.14'
spec.add_development_dependency'benchmark-ips','~> 2.10'
end