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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jackal-assets/store.rb +10 -0
- data/lib/jackal-assets/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e549b021951d8312e9498a856acaf0a28a8b607b
|
4
|
+
data.tar.gz: 8dcc47a840bf406e9708bfc4db7d29cc1cc69b0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b95d181170f0bd32b7d23d87f5f9a3a8e68e616b10488978839e9a0ed0cc4a552b43acf7c61f3f1b157c3fc61303e63a8b83c2d1df05e2796ae2a73ee431960f
|
7
|
+
data.tar.gz: cffd235cd752bf7f420e2514bf0b6ef3d412e5568c6784053c34946f0a8441fc92bfef5e07ab9534de953051cee4b7df5be6b87c287678292f88349da558bbf5
|
data/CHANGELOG.md
CHANGED
data/lib/jackal-assets/store.rb
CHANGED
@@ -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')
|
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.
|
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-
|
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:
|