shrine-sql 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/shrine/storage/sql.rb +0 -8
- data/shrine-sql.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5e95896227d7a62239867ee5c393272e57ec2db
|
|
4
|
+
data.tar.gz: 9fc7dde76117e7334d0a8ea72c3c450d3456804a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0be11d1b596031bac04bca0a557320975abbef0338b20a9ece8371bf37bbbd07c7d2986ce69295d984c704bf14a2353fd5c39727e4e3fdda0f49de2eaf324071
|
|
7
|
+
data.tar.gz: 4f2d7b7c03e6d8490849066136ae3c137c53c2dd819e36c8c7eba757a4bbfeeb64dc238ced29326ea7dbf875b85775e13abfdf26ffd7905ef801c3cca1b85886
|
data/lib/shrine/storage/sql.rb
CHANGED
|
@@ -42,14 +42,6 @@ class Shrine
|
|
|
42
42
|
dataset.delete
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
-
def method_missing(name, *args)
|
|
46
|
-
if name == :stream
|
|
47
|
-
warn "Shrine::Storage::Sql#stream is deprecated over #open."
|
|
48
|
-
content = content(*args)
|
|
49
|
-
yield content, content.size
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
45
|
protected
|
|
54
46
|
|
|
55
47
|
def find(id_or_ids)
|
data/shrine-sql.gemspec
CHANGED