wedge 0.1.72 → 0.1.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge/plugins/uploader.rb +2 -2
- data/lib/wedge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dec16337b3d09f8553f8a1032cf376dd249a9f90
|
4
|
+
data.tar.gz: 0af7af4d8a3860f52caf814cb07f94e9dd2235e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afc4559ed7bb2b461aaab5eab7109efb569d0df545830ebc0d3d24d5a80eca25418abf5ebc092aeedf6596e8508a5689138b5a8ae40e4ba31f8d45b2ffc6dcc7
|
7
|
+
data.tar.gz: 4b085cba3c9144de0e5f57d0df12a654fba604f8ad102d3da211f91af5976627cb0306eda11ad74ce50fb5ef6f07fb5eaca10fe63371d416d6ddb2bbaf12cfb8
|
@@ -59,6 +59,7 @@ class Wedge
|
|
59
59
|
options = options.indifferent
|
60
60
|
wedge_name = options.delete :wedge_name
|
61
61
|
wedge_method = options.delete :delete_method
|
62
|
+
options[:delete_id] = options[:delete_id].sub('/','')
|
62
63
|
|
63
64
|
if wedge_name
|
64
65
|
response.headers["Content-Type"] = 'application/json; charset=UTF-8'
|
@@ -209,7 +210,7 @@ class Wedge
|
|
209
210
|
uploader_settings[:deleteFile] = {
|
210
211
|
enabled: true,
|
211
212
|
forceConfirm: true,
|
212
|
-
endpoint: "#{Wedge.assets_url}/wedge/plugins/uploader.call?__wedge_method__=delete&__wedge_args__=__wedge_data__&__wedge_name__=uploader_plugin",
|
213
|
+
endpoint: "#{Wedge.assets_url}/wedge/plugins/uploader.call?__wedge_method__=delete&__wedge_args__=__wedge_data__&__wedge_name__=uploader_plugin&delete_id=",
|
213
214
|
params: options,
|
214
215
|
customHeaders: {
|
215
216
|
'X-CSRF-Token' => Element.find('head > meta[name="_csrf"]').attr('content'),
|
@@ -227,7 +228,6 @@ class Wedge
|
|
227
228
|
if options[:resume_method]
|
228
229
|
uploader_settings[:session] = {
|
229
230
|
endpoint: "#{Wedge.assets_url}/wedge/plugins/uploader.call?__wedge_method__=resume&__wedge_args__=__wedge_data__&__wedge_name__=uploader_plugin",
|
230
|
-
# endpoint: "#{Wedge.assets_url}/app/components/#{options[:wedge_name]}.call?wedge_method=#{options[:resume_method]}&wedge_method_args=wedge_data&wedge_name=registration",
|
231
231
|
params: options
|
232
232
|
}
|
233
233
|
end
|
data/lib/wedge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wedge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.73
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal-wedge
|