-
-
Notifications
You must be signed in to change notification settings - Fork 897
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 #2176 from sparklemotion/flavorjones-clean-up-docu…
…ment-java-methods documentation and nonfunctional changes --- **What problem is this PR intended to solve?** - update copyright dates and authors - simplify how the `NOKOGIRI_SPEC` constant is set - further extract "Rakefile" into "/rakelib" files - remove unused files - improve the `check_manifest` rake task (in a post-Hoe world) - set yard options in ".yardopts" - improve test coverage for `XML::Document` java methods - document `XML::Document` java methods - start yardoc-ifying `XML::Node`
- Loading branch information
Showing
17 changed files
with
188 additions
and
402 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--embed-mixins | ||
--main=README.md | ||
lib/**/*.rb | ||
ext/nokogiri/*.c | ||
- | ||
README.md | ||
LICENSE.md |
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 was deleted.
Oops, something went wrong.
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,32 +1,9 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Tasks are all loaded from `rakelib/*.rake`. | ||
# You may want to use `rake -T` to see what's available. | ||
# | ||
require "bundler" | ||
Bundler.load_gemspec("nokogiri.gemspec") | ||
|
||
require "rubygems/package_task" | ||
Gem::PackageTask.new(NOKOGIRI_SPEC).define | ||
|
||
require "rake/clean" | ||
CLEAN.add( | ||
"concourse/images/*.generated", | ||
"coverage", | ||
"doc", | ||
"ext/nokogiri/include", | ||
"lib/nokogiri/[0-9].[0-9]", | ||
"lib/nokogiri/nokogiri.{bundle,jar,rb,so}", | ||
"pkg", | ||
"tmp", | ||
) | ||
CLOBBER.add("ports/*").exclude(%r{ports/archives$}) | ||
CLOBBER.add(".yardoc") | ||
CLOBBER.add("gems") | ||
|
||
require "hoe/markdown" | ||
Hoe::Markdown::Standalone.new("nokogiri").define_markdown_tasks | ||
|
||
require "yard" | ||
YARD::Rake::YardocTask.new("doc") do |t| | ||
t.files = ["lib/**/*.rb", "ext/nokogiri/*.c"] | ||
t.options = ["--embed-mixins", "--main=README.md"] | ||
end | ||
NOKOGIRI_SPEC = Bundler.load_gemspec("nokogiri.gemspec") | ||
|
||
task default: [:rubocop, :compile, :test] |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.