har 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/har/archive.rb +1 -1
- data/lib/har/page.rb +1 -1
- data/lib/har/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 551d56a9387fac2c7646fd5dc8de4258355f284a2a86cf4a7df185bb7b4eec20
|
4
|
+
data.tar.gz: eda7916634d6556ed42ab7a6ca9a55bb03e7be0db7389f22506815ccca8d1a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed97330591220e8a11faa96f5d5608aa59b2a91d372cab03a0a182b40abda8795373cb8f68f3d66a0ec71079dacb34ffecd63e20c0b042af7e0b95d46e0b90c
|
7
|
+
data.tar.gz: e7a2f59cbfb8f47d3c6959b8fd49e1d5a0287954a8f1a15334430c4f0cf797cc07f75675714e24e8a32edb9564a8cc67a659f0417c45369b06bade037a5c00a2
|
data/lib/har/archive.rb
CHANGED
@@ -75,7 +75,7 @@ module HAR
|
|
75
75
|
def entries_before(time)
|
76
76
|
raise TypeError, "expected Time" unless time.is_a?(Time)
|
77
77
|
entries.select do |entry|
|
78
|
-
|
78
|
+
next(false) unless entry.time
|
79
79
|
entry.started_date_time + entry.time / 1000.0 <= time
|
80
80
|
end
|
81
81
|
end
|
data/lib/har/page.rb
CHANGED
@@ -15,7 +15,7 @@ module HAR
|
|
15
15
|
def entries_before(time)
|
16
16
|
raise TypeError, "expected Time" unless time.is_a?(Time)
|
17
17
|
entries.select do |entry|
|
18
|
-
|
18
|
+
next(false) unless entry.time
|
19
19
|
entry.started_date_time + entry.time / 1000.0 <= time
|
20
20
|
end
|
21
21
|
end
|
data/lib/har/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: har
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jari Bakken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|