-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1788 from Fuzzwah/fuzzwah-patch-1
remove python+docutils, use ruby-pandoc to convert rst files to html
- Loading branch information
Showing
10 changed files
with
105 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
source "http://rubygems.org" | ||
gemspec | ||
|
||
gem "nokogiri", force_ruby_platform: true | ||
gem "posix-spawn", :platforms => :ruby | ||
gem "redcarpet", :platforms => :ruby | ||
gem "kramdown", :platforms => :jruby | ||
gem "RedCloth" | ||
# using a tag version here because 0.18.3 was not published by the author to encourage users to upgrade. | ||
# however we want to bump up to this version since this has a security patch | ||
gem "commonmarker" | ||
gem "rdoc", "~>3.6" | ||
gem "org-ruby", "= 0.9.9" | ||
gem "creole", "~>0.3.6" | ||
gem "commonmarker", "= 1.0.4" | ||
gem 'rdoc', '~> 6.6', '>= 6.6.2' | ||
gem 'org-ruby', '~> 0.9.12' | ||
gem 'creole', '~> 0.5.0' | ||
gem 'idn-ruby', '~> 0.1.5' | ||
gem 'twitter-text', '~> 3.1' | ||
gem "wikicloth", "=0.8.3" | ||
gem "twitter-text", "~> 1.14" | ||
gem "asciidoctor", "~> 2.0.5" | ||
gem "rake", "~> 12" | ||
gem "pandoc-ruby", "= 2.1.10" | ||
gem 'asciidoctor', '~> 2.0', '>= 2.0.21' | ||
gem 'rake', '~> 13.1' | ||
gem 'pandoc-ruby', '~> 2.1', '>= 2.1.10' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,38 @@ | ||
require File.expand_path("../lib/github-markup", __FILE__) | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "github-markup" | ||
s.version = GitHub::Markup::VERSION | ||
s.summary = "The code GitHub uses to render README.markup" | ||
s.description = <<~DESC | ||
This gem is used by GitHub to render any fancy markup such as Markdown, | ||
Textile, Org-Mode, etc. Fork it and add your own! | ||
DESC | ||
s.authors = ["Chris Wanstrath"] | ||
s.email = "[email protected]" | ||
s.homepage = "https://github.com/github/markup" | ||
s.license = "MIT" | ||
|
||
s.files = `git ls-files`.split($\) | ||
s.files += Dir['vendor/**/*'] | ||
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | ||
s.require_paths = %w[lib] | ||
|
||
s.add_development_dependency 'rake', '~> 12' | ||
s.add_development_dependency 'activesupport', '~> 4.0' | ||
s.add_development_dependency 'minitest', '~> 5.4', '>= 5.4.3' | ||
s.add_development_dependency 'html-pipeline', '~> 1.0' | ||
s.add_development_dependency 'sanitize', '>= 4.6.3' | ||
s.add_development_dependency 'nokogiri', '~> 1.8.1' | ||
s.add_development_dependency 'nokogiri-diff', '~> 0.2.0' | ||
s.add_development_dependency "github-linguist", ">= 7.1.3" | ||
end | ||
# frozen_string_literal: true | ||
|
||
require_relative "lib/github/markup/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "github-markup" | ||
spec.version = GitHub::Markup::VERSION | ||
spec.homepage = "https://github.com/github/markup" | ||
spec.summary = "The code GitHub uses to render README.markup" | ||
spec.description = <<~DESC | ||
This gem is used by GitHub to render any fancy markup such as Markdown, | ||
Textile, Org-Mode, etc. Fork it and add your own! | ||
DESC | ||
spec.authors = ["Chris Wanstrath", "Rob Crouch"] | ||
spec.license = "MIT" | ||
|
||
spec.metadata = { | ||
"bug_tracker_uri" => "https://github.com/github/markup/issues", | ||
"source_code_uri" => "https://github.com/github/markup" | ||
} | ||
|
||
spec.required_ruby_version = ">= 2.4" | ||
|
||
spec.files = Dir.glob("lib/**/*", File::FNM_DOTMATCH) | ||
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
|
||
spec.add_development_dependency 'rake', '~> 13.1' | ||
spec.add_development_dependency 'activesupport', '~> 7.1', '>= 7.1.3.2' | ||
spec.add_development_dependency 'minitest', '~> 5.4', '>= 5.4.3' | ||
spec.add_development_dependency 'html-pipeline', '~> 1.0' | ||
spec.add_development_dependency "sanitize", "~> 4.6", ">= 4.6.3" | ||
spec.add_development_dependency 'nokogiri', '~> 1.8.1' | ||
spec.add_development_dependency 'nokogiri-diff', '~> 0.2.0' | ||
spec.add_development_dependency "github-linguist", "~> 7.1", ">= 7.1.3" | ||
|
||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module GitHub | ||
module Markup | ||
VERSION = '4.0.2' | ||
VERSION = '4.0.3' | ||
Version = VERSION | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module GitHub | ||
module Markup | ||
VERSION = '4.0.3' | ||
Version = VERSION | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ set -e | |
cd $(dirname "$0")/.. | ||
|
||
bundle install | ||
pip3 install docutils | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters