Skip to content

Commit

Permalink
Merge pull request #48 from DirtyF/fix-build
Browse files Browse the repository at this point in the history
Fix: build not passing
  • Loading branch information
benbalter authored Feb 7, 2019
2 parents 6492bca + 8303805 commit 1ba37aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jekyll-remote-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Gem::Specification.new do |s|
s.add_development_dependency "pry", "~> 0.11"
s.add_development_dependency "rspec", "~> 3.0"
s.add_development_dependency "rubocop", "~> 0.59"
s.add_development_dependency "webmock", "~> 3.0"
s.add_development_dependency "rubocop-jekyll", "~> 0.3"
s.add_development_dependency "webmock", "~> 3.0"

s.required_ruby_version = ">= 2.3.0"
end
2 changes: 1 addition & 1 deletion spec/jekyll-remote-theme/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def build_site(config_path)
Dir.chdir tmp_dir do
@output, @status = Open3.capture2e(*args(config_path))
@output = @output.encode("UTF-8",
:invalid => :replace, :undef => :replace, :replace => "")
:invalid => :replace, :undef => :replace, :replace => "")
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/jekyll-remote-theme/munger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let(:overrides) { {} }
let(:config) { { "source" => source, "safe" => true }.merge(overrides) }
let(:site) { make_site(config) }
let(:theme_dir) { theme.root if theme }
let(:theme_dir) { theme&.root }
let(:layout_path) { File.expand_path "_layouts/default.html", theme_dir }
let(:sass_dir) { File.expand_path "_sass/", theme_dir }
let(:sass_path) { File.expand_path "jekyll-theme-primer.scss", sass_dir }
Expand Down
4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
config.example_status_persistence_file_path = "spec/examples.txt"
config.disable_monkey_patching!
config.warnings = true
if config.files_to_run.one?
config.default_formatter = "doc"
end
config.default_formatter = "doc" if config.files_to_run.one?
config.order = :random
Kernel.srand config.seed
end
Expand Down

0 comments on commit 1ba37aa

Please # to comment.