-
-
Notifications
You must be signed in to change notification settings - Fork 903
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 #2538 from sparklemotion/flavorjones-jruby-use-nek…
…odtd-via-maven dep: pull nekodtd from maven --- **What problem is this PR intended to solve?** Closes #2437 See sparklemotion/nekodtd#1 for full context, this completes the process of migrating to maven-managed dependencies for JRuby. This PR pulls org.nokogiri:nekodtd from maven central. **Have you included adequate test coverage?** No behavioral change, existing tests are fine. **Does this change affect the behavior of either the C or the Java implementations?** No behavioral change.
- Loading branch information
Showing
7 changed files
with
7 additions
and
19 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,15 +1,3 @@ | ||
# frozen_string_literal: true | ||
|
||
# The line below caused a problem on non-GAE rack environment. | ||
# unless defined?(JRuby::Rack::VERSION) || defined?(AppEngine::ApiProxy) | ||
# | ||
# However, simply cutting defined?(JRuby::Rack::VERSION) off resulted in | ||
# an unable-to-load-nokogiri problem. Thus, now, Nokogiri checks the presense | ||
# of appengine-rack.jar in $LOAD_PATH. If Nokogiri is on GAE, Nokogiri | ||
# should skip loading xml jars. This is because those are in WEB-INF/lib and | ||
# already set in the classpath. | ||
unless $LOAD_PATH.to_s.include?("appengine-rack") | ||
require "nekodtd.jar" | ||
end | ||
|
||
require_relative "nokogiri_jars" |
Binary file not shown.
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
Binary file added
BIN
+17.8 KB
lib/nokogiri/jruby/org/nokogiri/nekodtd/0.1.11.noko1/nekodtd-0.1.11.noko1.jar
Binary file not shown.
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