shrine-memory 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
  SHA1:
3
- metadata.gz: 5ebd4f79d66075d5c9939d2ea1674e2f156c6a95
4
- data.tar.gz: 3037f1d48c6d8569012fce7108c75b4b31a0f05f
3
+ metadata.gz: fa09c0c5caf3b30260c11a1f165574cb612f5f52
4
+ data.tar.gz: edf49d0c341424316351c663d230e3c5f21b1c0d
5
5
  SHA512:
6
- metadata.gz: e1558f58b78454641aac46c5a4f774223670b7462317e0b3032a5137da8d6da9128ec77cb2bea867b22a87afbbd86942b9c5e3a7197011c3ac8615773ea2a701
7
- data.tar.gz: 60bb7d17505f4b7f466371b5cccedeeb6869f340504e6e3bf85bfd99b01ec9e2f7ef241f8a1340efe5c9bddfae510d205095220e74715d707b9d5b83d45d185f
6
+ metadata.gz: 365460459edb27161af4d6df9864a4f3d5f28aed83ea1eccf5f0092776624b1f1f7974bba7a2fa615979034e31d3ec2731bd861beac2cbaa2e622d4d0f6df713
7
+ data.tar.gz: 2c493f4b13abe9ff5e014ed87894f875065f9154bd86dcfd33797362f128cc9a722a1876e0e5587950c69c7a9c97362231690e8e31cfbf17a32cbdf137521836
@@ -27,10 +27,6 @@ class Shrine
27
27
  io.is_a?(UploadedFile) && io.storage.is_a?(Storage::Memory)
28
28
  end
29
29
 
30
- def stream(id)
31
- yield read(id), read(id).length
32
- end
33
-
34
30
  def open(id)
35
31
  StringIO.new(store.fetch(id))
36
32
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "shrine-memory"
3
- gem.version = "0.2.0"
3
+ gem.version = "0.2.1"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shrine-memory
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
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-19 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shrine