sla 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sla/page.rb +1 -2
  3. data/lib/sla/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aaa27acbd80bf22dd0fad86b7d326901887bd7300e6da26eca92b2dc5a627057
4
- data.tar.gz: 83ddd00b89723dae1e8c5e46e44cba0c91f1a940acca39fbf8694918435bf489
3
+ metadata.gz: 9490644ba70e3da7f217f5293b85aaa203f57a51d01988a128be223f4334b5a4
4
+ data.tar.gz: 2c4dceedf37fa8ed810453fd87711db3b3cd085261152793dd68f6275e3d6c57
5
5
  SHA512:
6
- metadata.gz: 347ade122697e5f635d380c0ae24dcb7df3bae1a7d5f12ef61a0ffb6e963663ff88efcde33607adc46af4f81c4c4a7889df7ec23a99f3a1e986d13d4ab69c539
7
- data.tar.gz: 14c0edd78e74fbe3c15ff43e51a150d6d8abfbd1b9ef3c44a6510aa55ff29fa1cbb0df3013e73b503aba85981caf8c701cdada8721f0eb96830d765ac505be07
6
+ metadata.gz: 94c5c9bf6f91cefab617dfdb2bf50719fcbbeece4f6e2df1b1528ebcc647652ed25ced8f31bbfdd202dc7858bcb13e4e86ed7c0b5c9ca670b053008fdf7b761b
7
+ data.tar.gz: 882b2031c63f1d33282245a3ac1258585a67f98fb95d8b7822fd0ead0c01cdc88e5eed1804a68bc3bbefd50e2a5a526afb5ae27244de806852b53cc46abfe363
@@ -20,8 +20,7 @@ class Page
20
20
  end
21
21
 
22
22
  def external?
23
- byebug unless uri.respond_to? :host
24
- uri.host != parent.uri.host
23
+ parent ? (uri.host != parent.uri.host) : false
25
24
  end
26
25
 
27
26
  def inspect
@@ -1,3 +1,3 @@
1
1
  module SLA
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-01 00:00:00.000000000 Z
11
+ date: 2020-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole