Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
# frozen_string_literal: true

require "tmpdir"
require "fileutils"

# Configure Ukiryu register path
# On CI, force a fresh clone of the register to get the latest tool definitions
# with the Windows profile fix (inherits: unix)
# This must be done BEFORE Ukiryu is loaded
if ENV["CI"]
# Delete any cached register to force fresh clone
cached_register = File.expand_path("~/.ukiryu/register")
FileUtils.rm_rf(cached_register) if Dir.exist?(cached_register)

# Enable Vectory debug output on Windows CI to diagnose issues
# Use RUBY_PLATFORM check since Gem.win_platform? might not be available yet
if RUBY_PLATFORM.match?(/mswin|mingw|cygwin/)
ENV["VECTORY_DEBUG"] = "true"
end
end

require "vectory"
require "rspec/matchers"
Expand Down
2 changes: 1 addition & 1 deletion vectory.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
spec.add_dependency "marcel", "~> 1.0"
spec.add_dependency "nokogiri", "~> 1.14"
spec.add_dependency "thor", "~> 1.0"
spec.add_dependency "ukiryu", "~> 0.2"
spec.add_dependency "ukiryu", "~> 0.2.4"
end
Loading