diff --git a/Gemfile.lock b/Gemfile.lock index 1684ac2..58a5d4c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - bucky-core (0.10.3) + bucky-core (0.10.4) addressable (~> 2.5) color_echo (~> 3.1) json (~> 2.1) @@ -39,7 +39,7 @@ GEM parallel (1.12.1) parser (2.6.3.0) ast (~> 2.4.0) - power_assert (1.1.6) + power_assert (1.1.7) pry (0.11.3) coderay (~> 1.1.0) method_source (~> 0.9.0) @@ -76,7 +76,7 @@ GEM unicode-display_width (>= 1.4.0, < 1.6) ruby-mysql (2.9.14) ruby-progressbar (1.10.0) - rubyzip (2.2.0) + rubyzip (2.3.0) selenium-webdriver (3.142.7) childprocess (>= 0.5, < 4.0) rubyzip (>= 1.2.2) diff --git a/lib/bucky/test_equipment/verifications/status_checker.rb b/lib/bucky/test_equipment/verifications/status_checker.rb index 6dfe982..b31242d 100644 --- a/lib/bucky/test_equipment/verifications/status_checker.rb +++ b/lib/bucky/test_equipment/verifications/status_checker.rb @@ -109,7 +109,7 @@ def make_target_links(args) doc = Nokogiri::HTML.parse(entity) links = [] doc.xpath('//a').each do |node| - href = node.attr('href') + href = node.attr('href').split(' ')[0] # Patch for nokogiri's bug next if exclude_href?(href) # Add fqdn if href doesn't include fqdn