shrine-storage-you_tube 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shrine/storage/you_tube.rb +3 -1
- data/lib/shrine/storage/you_tube/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5a6399574fbf281d2574ae9fff47630e8b81670
|
4
|
+
data.tar.gz: ca6a34f45afbf6907e5bc8af4119dc1ac2e251e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 766d9854adcb2e1027d5fa4f9419aa282bcf18525298dc498a91ef72054412eabd24175d3541b818cbdcafddd7f940f1d7eaa0e0be9b16b986cb1266a7ff2dd4
|
7
|
+
data.tar.gz: 489d91d880e5901b14b376b717b92882d18f58c0f39c2d2cc3c80c10efd7a109130094ed6a2b68363a71cf49360197536da45d5e91e8105b31e5edaf2c56c868
|
@@ -156,7 +156,9 @@ class Shrine
|
|
156
156
|
e.message.include?('Invalid upload source')
|
157
157
|
) && io.respond_to?(:download)
|
158
158
|
|
159
|
-
|
159
|
+
io.download do |tempfile|
|
160
|
+
youtube.insert_video('snippet', video_data, upload_source: tempfile)
|
161
|
+
end
|
160
162
|
ensure
|
161
163
|
io.rewind
|
162
164
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shrine-storage-you_tube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Beels
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shrine
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.6.
|
164
|
+
rubygems_version: 2.6.13
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: Provides YouTube storage for the Shrine file upload framework.
|