io-segmenter 0.7.0 → 0.7.1

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: ef640a71172e11880fce87b592533bc43d00e6ad4f05719d39528712bec96d8c
4
- data.tar.gz: fc1a44127e69b4bf53108f4d5fa87e9a3f8cb1f715659ccb2093936a922449c4
3
+ metadata.gz: c9755c7c1fbe0f11cd76db5a6762eebbd3dcfe8ffa107f3f61ed06c8541fe12a
4
+ data.tar.gz: c4ff334cbfe863b363f687f5edecc7dc561a71003bdc554b7dfc50f6b33452cb
5
5
  SHA512:
6
- metadata.gz: c0a06f587dec25d94295597912ddc9668398ca14b79f24ce606979816447efd224578c3362ddcd7ea5131fec614ac77f990b56e2cd63d726a18b936a77b13981
7
- data.tar.gz: 636c3bafcbf5991e8779aad2762fc8711e9d75d3784ff4a459fd73f6b3ccec0fc7bcf8585b54632f9d77b8d2cb1d1afec250b936c09fc3b343a26f5dcf8d3019
6
+ metadata.gz: 9b2b6d61a11cf34d5da05cdc4fa4136745bb905e74a8696f51e0d08e5fd38def6eabb5339ad68c55d5dab88777bdb435f05a1a28474c529a027712dff984f811
7
+ data.tar.gz: 85ca1aa179cdf8161ed72063341a841f30b1384e6d7654aa993d62b1508be7a5cf328ee4ac0fcb53f049a131cf3b4ae80feb9725b6616c89f666c5035f8c3439
@@ -1,7 +1,7 @@
1
1
  class File
2
2
  def self.each_segment(file, *args, &block)
3
3
  handle = open(file, 'rb')
4
- handle.each_segment(*args, &block)
4
+ IOSegmenter.new(handle, *args).each(&block)
5
5
  ensure
6
6
  handle && handle.close
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-segmenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch