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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cd9ffc10b1b04716b72d5e9d6cce5d27aecface
4
- data.tar.gz: 35031ae75f3b06e2c93464f09fc3aa0d28a28c4b
3
+ metadata.gz: 6e69b851e5010f766fb42166ba80f943c424b5a5
4
+ data.tar.gz: 0ca5b5a05d77b7f3ecf137865cb1410317c474b1
5
5
  SHA512:
6
- metadata.gz: cc0454c5266b6326bc621aaa233b36e90a8678eac2e2c5152ddc2f9d3d5f8391fbc7e3f4b50af6db4b53052b5517c144ad8ba142b0bb591e9c2557a6636220ab
7
- data.tar.gz: 8bf0b98de0cca562eae800260c20a44649c6983ae1c194326c43eca2850833abc2e6d8c260803b749de7d7262edd679908fcf0ecaa68eab0c3476a2e4b2c05e5
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)
@@ -1,3 +1,3 @@
1
1
  module Uploadbox
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
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.25
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-15 00:00:00.000000000 Z
12
+ date: 2014-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails