-
-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
De-github https filter #123
Comments
@rymohr 👍 wanna PR it? |
@jch btw I couldn't get the test suite to run without the following change: - gem.add_dependency "activesupport", RUBY_VERSION < "1.9.3" ? [">= 2", "< 4"] : ">= 2"
+ gem.add_dependency "activesupport", RUBY_VERSION < "2.1.0" ? [">= 2", "< 4"] : ">= 2"
|
The CI build errors seem to be from On CI, Bundler installs minitest 5.3.3. If I force minitest 5.x.x, I get the same error as CI. diff --git a/Gemfile b/Gemfile
index b985f4b..b6588ec 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,6 +9,7 @@ group :development do
end
group :test do
+ gem "minitest", "~> 5"
gem "rinku", "~> 1.7", :require => false
gem "gemoji", "~> 1.0", :require => false
gem "RedCloth", "~> 4.2.9", :require => false If I force minitest 4.7.x, I'm all green! 😄
diff --git a/Gemfile b/Gemfile
index b985f4b..27df4be 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,6 +9,7 @@ group :development do
end
group :test do
+ gem "minitest", "~> 4.7"
gem "rinku", "~> 1.7", :require => false
gem "gemoji", "~> 1.0", :require => false
gem "RedCloth", "~> 4.2.9", :require => false @jch @rymohr Why don't we try |
It's the version of activesupport that's the culprit actually. If you're running the latest version of activesupport, adding minitest (~> 4.7) to the Gemfile causes this error:
The 4.x series of activesupport relies on minitest (~> 5.1). |
It looks like If we @rymohr However, you make a good point. Let's review activesupport releases.
Why don't we get the build passing with @rymohr's solution, and I can file an Issue to investigate a better permanent solution? After the Pull Request is merged, we can hold off on a release until the new Issue is resolved. Thoughts? Thanks! |
@simeonwillbanks do you know if activesupport 4.x.x would even work with ruby 2.1.0 in this case? |
@rymohr Since activesupport 4.1's minitest 5.1 dependency causes the failures, we can slightly refactor your solution and be green: diff --git a/html-pipeline.gemspec b/html-pipeline.gemspec
index 9737aa6..dd625aa 100644
--- a/html-pipeline.gemspec
+++ b/html-pipeline.gemspec
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.add_dependency "nokogiri", RUBY_VERSION < "1.9.2" ? [">= 1.4", "< 1.6"] : "~> 1.4"
- gem.add_dependency "activesupport", RUBY_VERSION < "1.9.3" ? [">= 2", "< 4"] : ">= 2"
+ gem.add_dependency "activesupport", RUBY_VERSION < "1.9.3" ? [">= 2", "< 4"] : [">= 2", "< 4.1"]
gem.post_install_message = <<msg
------------------------------------------------- With this change, I ran the tests in all supported rubies and didn't get a failure. This isn't awesome; |
Thanks @simeonwillbanks. I've updated the PR with your gemspec patch. Build is still failing on REE though due to a build issue with the charlock_holmes gem. |
@simeonwillbanks 🤘 thanks for diving in and investigating. |
Pretty sure this is the only filter that still includes github refs:
https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/https_filter.rb
How about piggybacking on the
:base_url
option instead?The text was updated successfully, but these errors were encountered: