sqt 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sqt.rb +1 -3
  2. metadata +1 -1
data/lib/sqt.rb CHANGED
@@ -47,19 +47,17 @@ module SQT
47
47
  else
48
48
  toVisit = foundLink['href']
49
49
  end
50
- if !(toVisit =~ /^http:\/\//).nil? && !result.any? {|sqr| sqr[:uri] == toVisit || sqr[:uri] == toVisit + '/' || sqr[:uri] + '/' == toVisit }
50
+ if !(toVisit =~ /^http(s)?:\/\//).nil? && !result.any? {|sqr| sqr[:uri] == toVisit || sqr[:uri] == toVisit + '/' || sqr[:uri] + '/' == toVisit }
51
51
  d = sarbotteCurlWithDepth(toVisit, depth - 1, result)
52
52
  result = d if !d.nil?
53
53
  end
54
54
  end
55
55
  end
56
56
  if !(result.any? {|sqr| sqr[:uri] == url || sqr[:uri] == url + '/' || sqr[:uri] + '/' == url })
57
- puts url
58
57
  result.push Sqt.buildResult(url, file)
59
58
  end
60
59
  end
61
60
 
62
-
63
61
  end
64
62
 
65
63
  def self.sarbottePath(path, extension)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: