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
4 changes: 4 additions & 0 deletions lib/jars/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def initialize(line)
setup_type(line)

line.strip!

# strip off trailing module output (jruby/jar-dependencies#92)
line.sub!(/\u001B.*$/, EMPTY)

@coord = line.sub(/:[^:]+:([A-Z]:\\)?[^:]+$/, EMPTY)
first, second = @coord.split(/:#{type}:/)
group_id, artifact_id = first.split(':')
Expand Down
2 changes: 1 addition & 1 deletion specs/dependency_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require File.expand_path('setup', File.dirname(__FILE__))

require 'jar_installer'
require 'jars/installer'

# rubocop:disable Layout/LineLength
describe Jars::Installer::Dependency do
Expand Down
2 changes: 1 addition & 1 deletion specs/jar_installer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require File.expand_path('setup', File.dirname(__FILE__))

require 'jar_installer'
require 'jars/installer'
require 'fileutils'
require 'rubygems/specification'

Expand Down