From 6ea4cfbc84b92acf96755cd7f0cf63c9fdc44823 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Thu, 18 Feb 2021 11:29:00 -0500 Subject: [PATCH] require kramdown-parser-gfm to fix travis --- jekyll-remote-theme.gemspec | 1 + lib/jekyll-remote-theme/theme.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jekyll-remote-theme.gemspec b/jekyll-remote-theme.gemspec index b399683..e1d6d13 100644 --- a/jekyll-remote-theme.gemspec +++ b/jekyll-remote-theme.gemspec @@ -22,6 +22,7 @@ Gem::Specification.new do |s| s.add_development_dependency "jekyll-theme-primer", "~> 0.5" s.add_development_dependency "jekyll_test_plugin_malicious", "~> 0.2" + s.add_development_dependency "kramdown-parser-gfm", "~> 1.0" s.add_development_dependency "pry", "~> 0.11" s.add_development_dependency "rspec", "~> 3.0" s.add_development_dependency "rubocop", "~> 0.71" diff --git a/lib/jekyll-remote-theme/theme.rb b/lib/jekyll-remote-theme/theme.rb index 4100176..a76f545 100644 --- a/lib/jekyll-remote-theme/theme.rb +++ b/lib/jekyll-remote-theme/theme.rb @@ -68,7 +68,7 @@ def inspect def uri return @uri if defined? @uri - @uri = if @raw_theme =~ THEME_REGEX + @uri = if THEME_REGEX.match?(@raw_theme) Addressable::URI.new( :scheme => "https", :host => "github.com",