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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97fde48cbfd13bdbc256762b6a20110c881d9f5b
4
- data.tar.gz: 7e1047ecb8746f401172bf013d40b8edb7f7c319
3
+ metadata.gz: dec16337b3d09f8553f8a1032cf376dd249a9f90
4
+ data.tar.gz: 0af7af4d8a3860f52caf814cb07f94e9dd2235e0
5
5
  SHA512:
6
- metadata.gz: 96f3379459eafed0e6cc4a7f96555a1fcc48795fe2bcf453b85c7a7e9d389f769637dda6cd8ace7c9f4940f47e9651a344bc33272fcacda2f6b5f7e059fc1843
7
- data.tar.gz: b1833299a38ad3ceea7aae5e12b5a08d7b102a52458c48c8a701cd3f65c4d3b5a49bc7a5c8fcc55f467ddd548e1c83338162f86bc6dc0eb879d666e687443013
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
@@ -1,3 +1,3 @@
1
1
  class Wedge
2
- VERSION = '0.1.72'
2
+ VERSION = '0.1.73'
3
3
  end
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.72
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-20 00:00:00.000000000 Z
11
+ date: 2015-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal-wedge