dropzonejs-rails 0.1.7 → 0.1.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.
- checksums.yaml +8 -8
- data/README.md +4 -0
- data/lib/dropzonejs-rails/version.rb +2 -2
- data/vendor/assets/javascripts/dropzone.js +19 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OThjMzQwYjA0YzZmMDMzODM2NzJmY2M4MDJhM2RiNWFjMjZhZGQ0NQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NzhjZDg4ZjM1OTY2NzA2YmQyN2U1NGFhZmM0NjgzZGRhZTYxZjllOA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTg5ZGRiYmI2NGU1ZTM4NmM2MjY5N2RjM2FjZTljOTdjYzkyYmQzOGNiMjQ0
|
|
10
|
+
NjEwZDM1NGEyOWU1OWY0ZGNhM2FjOGFiMzk3ZTE1ZWZkNWI1OWVjNDc3MjUy
|
|
11
|
+
ZDIxOGViNGUwMzI5YWEzMTk2Zjc5YTA0OTU5MTFjNjFiNzFmYzA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzQzNDRiZjJhM2MwZWMyZjQxMmZlN2I5NGQ1OWNmYzdkMjFiZGRkY2E4MzFm
|
|
14
|
+
YmJiYWFkNzcyMTRkZmQ1MjZlMTBkZTg2YmNhYjAzYjllMzA1NGYyODgzODJi
|
|
15
|
+
ZjdhMzQ0MjllZTJlNmQwN2QyMGM0NjgzYjMwNmM0Nzg5M2RkYzQ=
|
data/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Integrate [Matias Meno's Dropzone](http://www.dropzonejs.com/) awesome file upload JS library right into the Asset pipeline of your Rails apps.
|
|
4
4
|
|
|
5
|
+
## Version
|
|
6
|
+
|
|
7
|
+
The latest version of this gem bundles **Dropzone v2.0.15**.
|
|
8
|
+
|
|
5
9
|
## Installation and usage
|
|
6
10
|
|
|
7
11
|
First add `dropzonejs-rails` to your Gemfile and, as you already know, `bundle` it and then restart your Rails app:
|
|
@@ -626,7 +626,9 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
|
|
|
626
626
|
if (_this.options.acceptParameter != null) {
|
|
627
627
|
_this.hiddenFileInput.setAttribute("accept", _this.options.acceptParameter);
|
|
628
628
|
}
|
|
629
|
-
_this.hiddenFileInput.style.
|
|
629
|
+
_this.hiddenFileInput.style.visibility = "hidden";
|
|
630
|
+
_this.hiddenFileInput.style.height = "0";
|
|
631
|
+
_this.hiddenFileInput.style.width = "0";
|
|
630
632
|
document.body.appendChild(_this.hiddenFileInput);
|
|
631
633
|
return _this.hiddenFileInput.addEventListener("change", function() {
|
|
632
634
|
var files;
|
|
@@ -1058,7 +1060,7 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
|
|
|
1058
1060
|
|
|
1059
1061
|
})(Em);
|
|
1060
1062
|
|
|
1061
|
-
Dropzone.version = "2.0.
|
|
1063
|
+
Dropzone.version = "2.0.15";
|
|
1062
1064
|
|
|
1063
1065
|
Dropzone.options = {};
|
|
1064
1066
|
|
|
@@ -1200,6 +1202,21 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
|
|
|
1200
1202
|
window.Dropzone = Dropzone;
|
|
1201
1203
|
}
|
|
1202
1204
|
|
|
1205
|
+
/*
|
|
1206
|
+
# contentloaded.js
|
|
1207
|
+
#
|
|
1208
|
+
# Author: Diego Perini (diego.perini at gmail.com)
|
|
1209
|
+
# Summary: cross-browser wrapper for DOMContentLoaded
|
|
1210
|
+
# Updated: 20101020
|
|
1211
|
+
# License: MIT
|
|
1212
|
+
# Version: 1.2
|
|
1213
|
+
#
|
|
1214
|
+
# URL:
|
|
1215
|
+
# http://javascript.nwbox.com/ContentLoaded/
|
|
1216
|
+
# http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE
|
|
1217
|
+
*/
|
|
1218
|
+
|
|
1219
|
+
|
|
1203
1220
|
contentLoaded = function(win, fn) {
|
|
1204
1221
|
var add, doc, done, init, poll, pre, rem, root, top;
|
|
1205
1222
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dropzonejs-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- José Nahuel Cuesta Luengo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|