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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc8dfbd201bca881b71c071836f222f87e341d434b8bf5bbc406601a2e18a565
4
- data.tar.gz: 904b1ad8e28736f315e3e65a3f05625f9ae247d8f5ab1a5113897205421269ab
3
+ metadata.gz: 551d56a9387fac2c7646fd5dc8de4258355f284a2a86cf4a7df185bb7b4eec20
4
+ data.tar.gz: eda7916634d6556ed42ab7a6ca9a55bb03e7be0db7389f22506815ccca8d1a8b
5
5
  SHA512:
6
- metadata.gz: c43b9a86d441aea80c00c067a7c6b3b95966ad01cdb96d192c0ed841a533afc91296381ee2e654357bf314e9e82b734834f58f30ddb4f18d6cd108a1f69abda1
7
- data.tar.gz: 19452bbbb8eee514e235f7701f2ac2e35d4a27a7086f22827499dc42c4aec4e7072cddd0673ab14d4b48c86a723517594ed4152c1cd3e969934ebf7d1c0d9369
6
+ metadata.gz: 0ed97330591220e8a11faa96f5d5608aa59b2a91d372cab03a0a182b40abda8795373cb8f68f3d66a0ec71079dacb34ffecd63e20c0b042af7e0b95d46e0b90c
7
+ data.tar.gz: e7a2f59cbfb8f47d3c6959b8fd49e1d5a0287954a8f1a15334430c4f0cf797cc07f75675714e24e8a32edb9564a8cc67a659f0417c45369b06bade037a5c00a2
@@ -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
- return false unless entry.time
78
+ next(false) unless entry.time
79
79
  entry.started_date_time + entry.time / 1000.0 <= time
80
80
  end
81
81
  end
@@ -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
- return false unless entry.time
18
+ next(false) unless entry.time
19
19
  entry.started_date_time + entry.time / 1000.0 <= time
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module HAR
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-04-11 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json