jackal-assets 0.1.8 → 0.1.10

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: be320ed6884e232934b6a5b9f487af1de40946d7
4
- data.tar.gz: 1e287fd6ebf158593a404551a44627d5bacc828f
3
+ metadata.gz: e549b021951d8312e9498a856acaf0a28a8b607b
4
+ data.tar.gz: 8dcc47a840bf406e9708bfc4db7d29cc1cc69b0f
5
5
  SHA512:
6
- metadata.gz: 0020e19cf37650d95d7ceac394068e3bb00970ed36a90b2f26d404eda928137d952c608cfd10371f1456467f8c6cfb675c3960598e8c7cd98e859a30c9ae08ed
7
- data.tar.gz: 56b6a9e9df3113864386c3da6d249bb22234c9e082f97e15a9a9ec1d049f1d8f997ff5c98230e7eaacfd6726b6ea7eba320b53d1f102f392766e78cdebfd7496
6
+ metadata.gz: b95d181170f0bd32b7d23d87f5f9a3a8e68e616b10488978839e9a0ed0cc4a552b43acf7c61f3f1b157c3fc61303e63a8b83c2d1df05e2796ae2a73ee431960f
7
+ data.tar.gz: cffd235cd752bf7f420e2514bf0b6ef3d412e5568c6784053c34946f0a8441fc92bfef5e07ab9534de953051cee4b7df5be6b87c287678292f88349da558bbf5
@@ -1,3 +1,6 @@
1
+ # v0.1.10
2
+ * [fix] include block support on read chunks for IO
3
+
1
4
  # v0.1.8
2
5
  * Add block support for yielding on read chunks
3
6
 
@@ -66,6 +66,16 @@ module Jackal
66
66
  if(remote_file)
67
67
  io = remote_file.body.io
68
68
  if(io.respond_to?(:path))
69
+ io.rewind
70
+ if(block_given?)
71
+ begin
72
+ while(data = io.readpartial(2048))
73
+ yield data
74
+ end
75
+ rescue EOFError
76
+ end
77
+ end
78
+ io.rewind
69
79
  io
70
80
  else
71
81
  e_file = Bogo::EphemeralFile.new('jackal-asset')
@@ -1,6 +1,6 @@
1
1
  module Jackal
2
2
  module Assets
3
3
  # Current library version
4
- VERSION = Gem::Version.new('0.1.8')
4
+ VERSION = Gem::Version.new('0.1.10')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jackal-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-10 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jackal
@@ -118,3 +118,4 @@ signing_key:
118
118
  specification_version: 4
119
119
  summary: Jackal Asset Interface
120
120
  test_files: []
121
+ has_rdoc: