uploadbox 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uploadbox/image_uploader.rb +0 -7
- data/lib/uploadbox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e69b851e5010f766fb42166ba80f943c424b5a5
|
4
|
+
data.tar.gz: 0ca5b5a05d77b7f3ecf137865cb1410317c474b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fb2a027f185b105d076894a97085bfcbc41c62edd58be4f43d29c8ba981a76bd31762b9417a8b356971bdc955f23939584f1a6361eee952a1b80ceb0c4a3ce9
|
7
|
+
data.tar.gz: b40d34448a260eec1d46c76b1270f99233e5367ad01242f0e77d8e27075b77c8804ef160c2fea093b635f304d389e68e455932d6eed53bdd4787d530c2139ab7
|
@@ -157,13 +157,6 @@ module Uploadbox
|
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
|
-
# @post.picture=(id)
|
161
|
-
define_method("#{upload_name}=") do |upload_id|
|
162
|
-
if upload_id.present?
|
163
|
-
self.send("#{upload_name}_upload=", upload_class.find(upload_id))
|
164
|
-
end
|
165
|
-
end
|
166
|
-
|
167
160
|
# @post.add_remote_image_url('http://exemple.com/image.jpg')
|
168
161
|
define_method("add_remote_#{upload_name.to_s.singularize}_url") do |url|
|
169
162
|
upload = upload_class.create!(remote_file_url: url)
|
data/lib/uploadbox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uploadbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julio Protzek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|