fast_find 0.2.0 → 0.2.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: 84526cadc7a5aaedce296eafbef1df65c837fba29f0eca88a8510eb89d92a105
4
- data.tar.gz: 74d015c6eea35d56091f2ad5a0c34bf68d59cb893e0eee2272228d83bcd2ce6b
3
+ metadata.gz: 41d4efc2a9176c93fa29c448bc9f35bc73c2279e3bdea419c5cc95199f2e8467
4
+ data.tar.gz: ed9bee9c7690e52c98b475281d681e6d65849deb4fee9b25301b1440bdab7f02
5
5
  SHA512:
6
- metadata.gz: '0985c016e8df0f5cd0d1c1a4a7f8e0601c8f573345bbf5c10b1cf649affdc24b20a2b8ea045e4417f5e94b42c45245847b35b93e77b4d85bc15711d626c51931'
7
- data.tar.gz: 5c866bc2cd95b4ad053a1c17069d67fe48e1895a8141724f56e1787e9ea632075150e43db26e4ed5c74ec56e172e596bb6cbcaa569e29816a8a4c2bf04b408a4
6
+ metadata.gz: ae01fe95ac94fddcaebbe60b3d735166d356b5e1f4ef2fd408a8152182d3a510fbb490d4b6bb669cc275fa7f699e1b0df166ca004b2bcb53de1c83cc94f54b8c
7
+ data.tar.gz: 94cdab51428387df1634761f2301eb6528115b6fc5f8d7a05c5263139127378ab6fafca1f9a59fe08e17ffa22957b2c89c034ed73cb41a8fac1c158fc3ae0796
data/lib/fast_find.rb CHANGED
@@ -49,6 +49,8 @@ module FastFind
49
49
 
50
50
  raise stat if stat.is_a?(Exception) && !ignore_error
51
51
  end
52
+ ensure
53
+ results.close if results
52
54
  end
53
55
 
54
56
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastFind
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_find
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Hurst