diff --git a/Gemfile b/Gemfile index 82607fe..be173b2 100644 --- a/Gemfile +++ b/Gemfile @@ -3,5 +3,3 @@ source "https://rubygems.org" gemspec - -gem "jekyll", :github => "jekyll/jekyll" diff --git a/jekyll-remote-theme.gemspec b/jekyll-remote-theme.gemspec index 23e3d92..d5282a6 100644 --- a/jekyll-remote-theme.gemspec +++ b/jekyll-remote-theme.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.add_dependency "jekyll", "~> 3.5" s.add_dependency "rubyzip", "~> 1.2" - s.add_dependency "typhoeus", "~> 1.1" + s.add_dependency "typhoeus", ">= 0.7", "< 2.0" s.add_development_dependency "jekyll-theme-primer", "~> 0.5" s.add_development_dependency "pry", "~> 0.11" s.add_development_dependency "rspec", "~> 3.0" diff --git a/spec/jekyll-remote-theme/integration_spec.rb b/spec/jekyll-remote-theme/integration_spec.rb index 65f1fd1..b423376 100644 --- a/spec/jekyll-remote-theme/integration_spec.rb +++ b/spec/jekyll-remote-theme/integration_spec.rb @@ -18,6 +18,8 @@ it "builds with the remote theme" do Dir.chdir tmp_dir do output, status = Open3.capture2e(*args) + output = output.encode("UTF-8", + :invalid => :replace, :undef => :replace, :replace => "") expect(status.exitstatus).to eql(0), output expect(output).to match("Remote Theme: Using theme pages-themes/primer")