dropzonejs-rails 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDFiNzViYWM1NTM4M2Y3MmViOWZmMWJiM2I3ZjIxYWEzMWRjOTRhNQ==
4
+ OThjMzQwYjA0YzZmMDMzODM2NzJmY2M4MDJhM2RiNWFjMjZhZGQ0NQ==
5
5
  data.tar.gz: !binary |-
6
- N2ZkMWVkYmRjZmY5YTcxZGVkZTFiOTgzMmVlMmUwZmZhMTU1N2UxOA==
6
+ NzhjZDg4ZjM1OTY2NzA2YmQyN2U1NGFhZmM0NjgzZGRhZTYxZjllOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MTA5NmRlODBhNzExZTc0MDNiYWNkM2Q3Y2IxOThjM2M5MzZiZWIxMmYxNGVi
10
- ZTgzNmVjYjcxYTk2NWQ0OWE4NWNmNTQ5MWE1NmVmZWIxNGMyZWRmYmJkMjQw
11
- NTA5NGFmZDRhOWY3YTY4NmIyZGI0ZmY2NmJhMzQ4YThhZTNmOTc=
9
+ ZTg5ZGRiYmI2NGU1ZTM4NmM2MjY5N2RjM2FjZTljOTdjYzkyYmQzOGNiMjQ0
10
+ NjEwZDM1NGEyOWU1OWY0ZGNhM2FjOGFiMzk3ZTE1ZWZkNWI1OWVjNDc3MjUy
11
+ ZDIxOGViNGUwMzI5YWEzMTk2Zjc5YTA0OTU5MTFjNjFiNzFmYzA=
12
12
  data.tar.gz: !binary |-
13
- MmZhMDgwMDVmZTc5ZGZhZTE5NDIwNjEyZWFkZGZkMWE0ZTg4ZDE5NTJjMGM1
14
- ZDJhZDI5ZTA3OTQ2M2MwYzE3NWNmMDA3MGJmNjAzNTBkNzNjNjI3MzYwMGZi
15
- MDkzYmU4MTExZGY0MjZhNGRkZTcwOTA4NTk1YzY1OWM1OTZiODc=
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:
@@ -1,4 +1,4 @@
1
1
  module DropzonejsRails
2
- VERSION = '0.1.7'
3
- DROPZONE_VERSION = '2.0.14'
2
+ VERSION = '0.1.8'
3
+ DROPZONE_VERSION = '2.0.15'
4
4
  end
@@ -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.display = "none";
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.14";
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.7
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-04-26 00:00:00.000000000 Z
11
+ date: 2013-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails