dropzonejs-rails 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjExMGJlZTUwY2M1MTBmYTlhNDg2ZWE3ZmMxODM5MDNmYzMwY2JlOA==
5
- data.tar.gz: !binary |-
6
- YWM5ODk0NDU4NGQ3NWJmNWYxY2M4ZWNjNTU3MDU5NDdmM2UyYjYxMw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ODVkNzJlMTQwN2JkZjUzZDA3NjZlMzI5ZjU3OWViZDNhYjYyMzcyYTk1Y2Vk
10
- YmI5ZjEyMDViOTU0ZWI2NTkwZTc1NzNlNzFiN2ZmZGVhMGQ1M2FlZWJkOTQ4
11
- OTlmOGRkZjNlN2ZjYWE1MTJhNjNmMDc4ZmI4MTJmMGM4MTFiMDk=
12
- data.tar.gz: !binary |-
13
- MmQ5YWY5ZDIwZDBiZTc1YTRiNzM1OTE2OGE5MjA5NjFiNDEzNmU4MDM1OWRk
14
- N2VmY2U5ZDk4MjljZTJlNzU3NjIzN2MwYjI3MmUyN2UwZTA4YmY1NjFkMzUz
15
- ZGFkMWJjMDY0ZDgxZDIzOTA5NWJmMTAwMGJmMTYzNTU3ZmI1ZjI=
2
+ SHA1:
3
+ metadata.gz: adb641f39f6a5ad904f6e9361e0a76df81a463bd
4
+ data.tar.gz: d330f431d23f3fea4f71150e22284c815a844787
5
+ SHA512:
6
+ metadata.gz: 91a9c8779a21eb6d02f32b688f69e31293f91880e3b9ae112aecd37cf556dea3c8382a35123b1822a424e3406f93b0f85e65973a57dba974c6138c04a8c69569
7
+ data.tar.gz: ca9d6043345d4b8012281189601619cba7b85ce587884ec8a7c34bd6db8ae13c33b9d528e9fb8fbe65988011377b4b7790137436934bb4bc1b9faa60a7c89816
data/README.md CHANGED
@@ -4,7 +4,7 @@ Integrate [Matias Meno's Dropzone](http://www.dropzonejs.com/) awesome file uplo
4
4
 
5
5
  ## Version
6
6
 
7
- The latest version of this gem bundles **Dropzone v3.7.0**.
7
+ The latest version of this gem bundles **Dropzone v3.7.1**.
8
8
 
9
9
  ## Installation and usage
10
10
 
@@ -1,4 +1,4 @@
1
1
  module DropzonejsRails
2
- VERSION = '0.4.8'
3
- DROPZONE_VERSION = '3.7.0'
2
+ VERSION = '0.4.9'
3
+ DROPZONE_VERSION = '3.7.1'
4
4
  end
@@ -408,7 +408,7 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
408
408
  */
409
409
 
410
410
 
411
- Dropzone.prototype.events = ["drop", "dragstart", "dragend", "dragenter", "dragover", "dragleave", "selectedfiles", "addedfile", "removedfile", "thumbnail", "error", "processing", "processingmultiple", "uploadprogress", "totaluploadprogress", "sending", "sendingmultiple", "success", "successmultiple", "canceled", "canceledmultiple", "complete", "completemultiple", "reset", "maxfilesexceeded"];
411
+ Dropzone.prototype.events = ["drop", "dragstart", "dragend", "dragenter", "dragover", "dragleave", "selectedfiles", "addedfile", "removedfile", "thumbnail", "error", "errormultiple", "processing", "processingmultiple", "uploadprogress", "totaluploadprogress", "sending", "sendingmultiple", "success", "successmultiple", "canceled", "canceledmultiple", "complete", "completemultiple", "reset", "maxfilesexceeded"];
412
412
 
413
413
  Dropzone.prototype.defaultOptions = {
414
414
  url: null,
@@ -579,6 +579,7 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
579
579
  file.previewElement.classList.add("dz-error");
580
580
  return file.previewElement.querySelector("[data-dz-errormessage]").textContent = message;
581
581
  },
582
+ errormultiple: noop,
582
583
  processing: function(file) {
583
584
  file.previewElement.classList.add("dz-processing");
584
585
  if (file._removeLink) {
@@ -813,8 +814,7 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
813
814
  },
814
815
  "drop": function(e) {
815
816
  noPropagation(e);
816
- _this.drop(e);
817
- return _this.emit("drop", e);
817
+ return _this.drop(e);
818
818
  },
819
819
  "dragend": function(e) {
820
820
  return _this.emit("dragend", e);
@@ -1005,6 +1005,7 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
1005
1005
  if (!e.dataTransfer) {
1006
1006
  return;
1007
1007
  }
1008
+ this.emit("drop", e);
1008
1009
  files = e.dataTransfer.files;
1009
1010
  this.emit("selectedfiles", files);
1010
1011
  if (files.length) {
@@ -1447,7 +1448,7 @@ require.register("dropzone/lib/dropzone.js", function(exports, require, module){
1447
1448
 
1448
1449
  })(Em);
1449
1450
 
1450
- Dropzone.version = "3.7.0";
1451
+ Dropzone.version = "3.7.1";
1451
1452
 
1452
1453
  Dropzone.options = {};
1453
1454
 
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.4.8
4
+ version: 0.4.9
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-08-07 00:00:00.000000000 Z
11
+ date: 2013-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>'
31
+ - - '>'
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>'
38
+ - - '>'
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.1'
41
41
  description: Adds Dropzone, a great JS File upload by Matias Meno, to the Rails Asset
@@ -67,17 +67,17 @@ require_paths:
67
67
  - lib
68
68
  required_ruby_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ! '>='
70
+ - - '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ! '>='
75
+ - - '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.0.3
80
+ rubygems_version: 2.0.6
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Integrates Dropzone JS File upload into Rails Asset pipeline.