filestack-rails 5.5.2 → 5.5.3

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
  SHA256:
3
- metadata.gz: 3891ffae68fc4a5d34adadef88373d2579a426b9326c20e25dce3c5aa50bbc1f
4
- data.tar.gz: 01032ee1c312920df4fddc47ae384d438c3fc15a428b1260127ff2dce880d10b
3
+ metadata.gz: a071e2614a083a0d56ca152abbeec69f3c034cce0c58a6b0bf6b77d0382fa884
4
+ data.tar.gz: a0427771d08e55f7ff639b26114c4dff505085e7022974108a7ac4ee1264b7b3
5
5
  SHA512:
6
- metadata.gz: f77b3c67837ce1b8a9bc80ef97b3e8efda589679809873cba81f74fa123f816ba0191199f5989d3b9da2de46eb51025329e085425748c2f2cc0d496d445204a3
7
- data.tar.gz: 5c49077c0addf43755b7287a1a2f5ebea56a8f4d947617a3c0d9b9c63a2d7e29cb3df24d6d4e5d8a38c01ebd16ae816c5aa9ed824d9d202bb1845e084a3929e5
6
+ metadata.gz: a4b13e3c374f6f204ce83a057965b7c2bf5351c1d72d5d87baa38ccad6205a736e568e08b0e328985209c9c3f55e577967fc4a7dda59af0a728f3d4c8562f6a4
7
+ data.tar.gz: b05da66067e2eda6433c160e65d3736d83eced370d5a98b1efd6a7bdee1de64bcf88ff0df05ecc254f4a274cbc1462c281ff2251b8989e56625347a8d50e8ddb
@@ -59,12 +59,17 @@ module FilestackRails
59
59
  end
60
60
 
61
61
  def build_callbacks_js(options)
62
- string = ""
62
+ string = ''
63
63
  string << ", onOpen: data => #{options.delete(:onOpen)}(data)" unless options[:onOpen].blank?
64
+ string << ", onCancel: data => #{options.delete(:onCancel)}(data)" unless options[:onCancel].blank?
64
65
  string << ", onClose: () => #{options.delete(:onClose)}()" unless options[:onClose].blank?
65
- string << ", onFileUploadFinished: data => #{options.delete(:onFileUploadFinished)}(data)" unless options[:onFileUploadFinished].blank?
66
+ string << ", onFileUploadProgress: data => #{options.delete(:onFileUploadProgress)}(data)" unless options[:onFileUploadProgress].blank?
66
67
  string << ", onFileSelected: data => #{options.delete(:onFileSelected)}(data)" unless options[:onFileSelected].blank?
67
68
  string << ", onUploadStarted: data => #{options.delete(:onUploadStarted)}(data)" unless options[:onUploadStarted].blank?
69
+ string << ", onUploadDone: data => #{options.delete(:onUploadDone)}(data)" unless options[:onUploadDone].blank?
70
+ string << ", onFileUploadFinished: data => #{options.delete(:onFileUploadFinished)}(data)" unless options[:onFileUploadFinished].blank?
71
+ string << ", onFileUploadFailed: data => #{options.delete(:onFileUploadFailed)}(data)" unless options[:onFileUploadFailed].blank?
72
+ string << ", onFileUploadStarted: data => #{options.delete(:onFileUploadStarted)}(data)" unless options[:onFileUploadStarted].blank?
68
73
  string
69
74
  end
70
75
 
@@ -1,3 +1,3 @@
1
1
  module FilestackRails
2
- VERSION = '5.5.2'
2
+ VERSION = '5.5.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filestack-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.2
4
+ version: 5.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - filestack
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -129,7 +129,7 @@ homepage: https://www.filestack.com
129
129
  licenses:
130
130
  - MIT
131
131
  metadata: {}
132
- post_install_message:
132
+ post_install_message:
133
133
  rdoc_options: []
134
134
  require_paths:
135
135
  - lib
@@ -144,8 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.0.8
148
- signing_key:
147
+ rubygems_version: 3.1.2
148
+ signing_key:
149
149
  specification_version: 4
150
150
  summary: Filestack plugin for Rails 4+
151
151
  test_files: []