miasma-local 0.1.2 → 0.1.4

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
  SHA1:
3
- metadata.gz: 99dd1813acdf0fa0e82689323f18f8a184fa696f
4
- data.tar.gz: 9406584a5eda5c980d8c1deb6240d099bc8f83b1
3
+ metadata.gz: fe6f6ccb34846d1cf010a0e6f5b55fec5ac3876a
4
+ data.tar.gz: 8bdcb05a82f8436018bb7644a9642120f7cf6e0b
5
5
  SHA512:
6
- metadata.gz: f0a73549aa47d48a4630c82c263a00f2faf6bfea000cfd8e592dbb2adec158fde83495f9b16152a51092a08ec87c6390f4363eb9b23a39bc342200b95949a9cd
7
- data.tar.gz: e636854511a4a7c00dc72df34c35b76c5ce7ac256fdfc0f80f2787252ebc53f9d5c4b0b2d220f099b5a08591b5e9a3f25c057d56e569bc22db567a0c22bd18cd
6
+ metadata.gz: 97404a955ca6e204413efe4cb253b3d32594192b09b8e043bd16e20df1344edacea54372c1ce8302db27245e5e799bf7e829a5fbfc64ad3e6a6d1809732140f1
7
+ data.tar.gz: 71cf55afe2f70f55b46ee836f7555dce38974ce71d8f553428d64eac75f4915e729371cc8fbc97a7fce6cfe4c8aa3b13897363d85b0b678491bc90f6a153f0d5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.1.4
2
+ * Use streamable helper for file body
3
+
1
4
  ## v0.1.2
2
5
  * Update implementation to pass specs
3
6
 
@@ -1,4 +1,4 @@
1
1
  module MiasmaLocal
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.1.2')
3
+ VERSION = Gem::Version.new('0.1.4')
4
4
  end
@@ -203,7 +203,7 @@ module Miasma
203
203
  tmp_path = tmp_file.path
204
204
  tmp_file.delete
205
205
  FileUtils.cp(full_path(file), tmp_path)
206
- ::File.open(tmp_path, 'rb')
206
+ File::Streamable.new(::File.open(tmp_path, 'rb'))
207
207
  else
208
208
  StringIO.new('')
209
209
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts