workarea-admin 3.4.15 → 3.4.16

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: dc6faa045044095ea617acf48ea249bddd715129080c325b940af2428e7a762b
4
- data.tar.gz: 1e90bc9cc07134bdcbcddaca35758e4e26cc2bff2f87e97df2386111c2fa9a17
3
+ metadata.gz: 4cce609edcf971788a59719ccfb1171d7ef327d026ac5e3716d8797fafa92ee0
4
+ data.tar.gz: fdf786229d275c0fdf4c5336e68bf1f13aa02269250f7afd349f284fb1db3e28
5
5
  SHA512:
6
- metadata.gz: bae6197d26b13d91c1789fe1cdd3685b15ce8f934fc2dd3af939424b40fb118cef18fcce3715abb0755639ba9e113e8108ab1f5fe2ba3bd1e11e96926c99108b
7
- data.tar.gz: cf4cc417f7818e0b261b777bb1cd8b7eb5aac5f67c208e327d6a70ee388140f2cea437709887126bec0cf69fb61217cb580a7910ff5ab7f6a83ccf3b094b2df4
6
+ metadata.gz: 2aa925d5553043a9790e4f65d72a834f66e70a73cc4440deb205b8a096351b164a3eb198b8486f407a8a662adf6d10ab2b9f811cf108f6a281bf087c7d3b6e36
7
+ data.tar.gz: 1db3d1891a1ed12ba737d07be4f97a18bb8dc15b2cc42b0dce4e35f9b1af7582b19e14e22a8549c7898cb599c8637bdcd572daa05f4eadddd84f24fdfd469059
@@ -7,7 +7,9 @@ module Workarea
7
7
  after_action :track_index_filters, only: :index
8
8
 
9
9
  def index
10
- DirectUpload.ensure_cors! if Configuration::S3.configured? && !request.xhr?
10
+ if Configuration::S3.configured? && !request.xhr?
11
+ DirectUpload.ensure_cors!(request.url)
12
+ end
11
13
 
12
14
  search = Search::AdminAssets.new(params)
13
15
  @search = Admin::SearchViewModel.new(search, view_model_options)
@@ -2,7 +2,7 @@ module Workarea
2
2
  module Admin
3
3
  class DirectUploadsController < Admin::ApplicationController
4
4
  def product_images
5
- DirectUpload.ensure_cors! if Configuration::S3.configured?
5
+ DirectUpload.ensure_cors!(request.url) if Configuration::S3.configured?
6
6
  end
7
7
 
8
8
  def new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.15
4
+ version: 3.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-04 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.15
19
+ version: 3.4.16
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.15
26
+ version: 3.4.16
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: workarea-storefront
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.4.15
33
+ version: 3.4.16
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
- version: 3.4.15
40
+ version: 3.4.16
41
41
  description: Provides site administration functionality for the Workarea Commerce
42
42
  Platform.
43
43
  email: