Skip to content

Commit dc83888

Browse files
committed
Enable MFA in the gemspec file
1 parent 54919ef commit dc83888

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

prawn-html.gemspec

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ Gem::Specification.new do |spec|
99
spec.version = PrawnHtml::VERSION
1010
spec.summary = 'Prawn PDF - HTML renderer'
1111
spec.description = 'HTML to PDF with Prawn PDF'
12+
1213
spec.required_ruby_version = '>= 2.5.0'
1314

14-
spec.license = 'MIT'
15-
spec.authors = ['Mattia Roccoberton']
16-
spec.email = 'mat@blocknot.es'
17-
spec.homepage = 'https://github.com/blocknotes/prawn-html'
15+
spec.license = 'MIT'
16+
spec.authors = ['Mattia Roccoberton']
17+
spec.email = 'mat@blocknot.es'
18+
spec.homepage = 'https://github.com/blocknotes/prawn-html'
19+
20+
spec.metadata['homepage_uri'] = spec.homepage
21+
spec.metadata['source_code_uri'] = spec.homepage
22+
spec.metadata['rubygems_mfa_required'] = 'true'
1823

1924
spec.files = Dir['lib/**/*', 'LICENSE.txt', 'README.md']
2025
spec.require_paths = ['lib']

0 commit comments

Comments
 (0)