1- require File . expand_path ( "../lib/github-markup" , __FILE__ )
2-
3- Gem ::Specification . new do |s |
4- s . name = "github-markup"
5- s . version = GitHub ::Markup ::VERSION
6- s . summary = "The code GitHub uses to render README.markup"
7- s . description = <<~DESC
8- This gem is used by GitHub to render any fancy markup such as Markdown,
9- Textile, Org-Mode, etc. Fork it and add your own!
10- DESC
11- s . authors = [ "Chris Wanstrath" ]
12- 13- s . homepage = "https://github.com/github/markup"
14- s . license = "MIT"
15-
16- s . files = `git ls-files` . split ( $\)
17- s . files += Dir [ 'vendor/**/*' ]
18- s . executables = s . files . grep ( %r{^bin/} ) . map { |f | File . basename ( f ) }
19- s . test_files = s . files . grep ( %r{^(test|spec|features)/} )
20- s . require_paths = %w[ lib ]
21-
22- s . add_development_dependency 'rake' , '~> 12'
23- s . add_development_dependency 'activesupport' , '~> 4.0'
24- s . add_development_dependency 'minitest' , '~> 5.4' , '>= 5.4.3'
25- s . add_development_dependency 'html-pipeline' , '~> 1.0'
26- s . add_development_dependency 'sanitize' , '>= 4.6.3'
27- s . add_development_dependency 'nokogiri' , '~> 1.8.1'
28- s . add_development_dependency 'nokogiri-diff' , '~> 0.2.0'
29- s . add_development_dependency "github-linguist" , ">= 7.1.3"
30- end
1+ # frozen_string_literal: true
2+
3+ require_relative "lib/github/markup/version"
4+
5+ Gem ::Specification . new do |spec |
6+ spec . name = "github-markup"
7+ spec . version = GitHub ::Markup ::VERSION
8+ spec . homepage = "https://github.com/github/markup"
9+ spec . summary = "The code GitHub uses to render README.markup"
10+ spec . description = <<~DESC
11+ This gem is used by GitHub to render any fancy markup such as Markdown,
12+ Textile, Org-Mode, etc. Fork it and add your own!
13+ DESC
14+ spec . authors = [ "Chris Wanstrath" , "Rob Crouch" ]
15+ spec . license = "MIT"
16+
17+ spec . metadata = {
18+ "bug_tracker_uri" => "https://github.com/github/markup/issues" ,
19+ "source_code_uri" => "https://github.com/github/markup"
20+ }
21+
22+ spec . required_ruby_version = ">= 2.4"
23+
24+ spec . files = Dir . glob ( "lib/**/*" , File ::FNM_DOTMATCH )
25+ spec . executables = spec . files . grep ( %r{^bin/} ) . map { |f | File . basename ( f ) }
26+ spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
27+
28+ spec . add_development_dependency 'rake' , '~> 13.1'
29+ spec . add_development_dependency 'activesupport' , '~> 7.1' , '>= 7.1.3.2'
30+ spec . add_development_dependency 'minitest' , '~> 5.4' , '>= 5.4.3'
31+ spec . add_development_dependency 'html-pipeline' , '~> 1.0'
32+ spec . add_development_dependency "sanitize" , "~> 4.6" , ">= 4.6.3"
33+ spec . add_development_dependency 'nokogiri' , '~> 1.8.1'
34+ spec . add_development_dependency 'nokogiri-diff' , '~> 0.2.0'
35+ spec . add_development_dependency "github-linguist" , "~> 7.1" , ">= 7.1.3"
36+
37+
38+ end
0 commit comments