rails-uploader 0.0.7 → 0.0.8
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.
- data/MIT-LICENSE +1 -1
- data/README.md +4 -1
- data/lib/uploader/fileuploads.rb +0 -1
- data/lib/uploader/version.rb +1 -1
- metadata +3 -3
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -63,6 +63,9 @@ class User < ActiveRecord::Base
|
|
|
63
63
|
has_one :picture, :as => :assetable, :dependent => :destroy
|
|
64
64
|
|
|
65
65
|
fileuploads :picture
|
|
66
|
+
|
|
67
|
+
# If your don't use strong_parameters, uncomment next line
|
|
68
|
+
# attr_accessible :fileupload_guid
|
|
66
69
|
end
|
|
67
70
|
```
|
|
68
71
|
|
|
@@ -118,4 +121,4 @@ or FormBuilder:
|
|
|
118
121
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
119
122
|
5. Create new Pull Request
|
|
120
123
|
|
|
121
|
-
Copyright (c)
|
|
124
|
+
Copyright (c) 2013 Fodojo, released under the MIT license
|
data/lib/uploader/fileuploads.rb
CHANGED
|
@@ -28,7 +28,6 @@ module Uploader
|
|
|
28
28
|
include InstanceMethods
|
|
29
29
|
extend ClassMethods
|
|
30
30
|
|
|
31
|
-
attr_accessible :fileupload_guid
|
|
32
31
|
after_save :fileuploads_update, :if => :fileupload_changed?
|
|
33
32
|
|
|
34
33
|
fileuploads_columns.each { |asset| accepts_nested_attributes_for asset, :allow_destroy => true }
|
data/lib/uploader/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-uploader
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2013-01-24 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: sqlite3
|
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
version: '0'
|
|
160
160
|
requirements: []
|
|
161
161
|
rubyforge_project: rails-uploader
|
|
162
|
-
rubygems_version: 1.8.
|
|
162
|
+
rubygems_version: 1.8.23
|
|
163
163
|
signing_key:
|
|
164
164
|
specification_version: 3
|
|
165
165
|
summary: Rails file upload implementation with jQuery-File-Upload
|