spree_backend 4.0.0.rc3 → 4.0.4

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: 73af63ec14aa2e96664ace2a08aec3633349fe3ed3de2a83745b4d3f8139bc2a
4
- data.tar.gz: 31f8cec63c492e6f120cdde08500cb97d2cebae77e6b12ffe16e03c034e7458d
3
+ metadata.gz: c78c8704b18cd6a227d58eb2a5ef903171c6a3a737bed43e974f6a07692f5700
4
+ data.tar.gz: 0c682812f5d42b531a7a2a5ea5c6230a8fb230712577be0941726876cc6302e0
5
5
  SHA512:
6
- metadata.gz: a911613d5dbdedd7567a434b9cae3d981e4551f1e834e36770965f1960b99eca8cda878ae42460d3841e3ea21f69440abdcba1e0a36d7fba0bd80f109806c815
7
- data.tar.gz: 152e89abbd8535ec60738b931f255f7dde6c1b53e4c473c9a2a7165954fb9e7f3bb3c04f0b0efffc5e44f6dc966463396ab291d7c6a1b0da22b125fe1857edae
6
+ metadata.gz: 8ab00afce7c20c7e921b774474877bfeb15fbaab703f34533dbdfbb5526e309eb8932dbb423407662dd70bc6868d0b79e2a7ddf998e1d5f3b0261c3c6cffee99
7
+ data.tar.gz: 8a0536edc13a781a779e3cacf3bc8aa9dac7d0aa14f514bf3a0d6ecb516a33665fc4a752d8ed71df6fd6faacf3279c5866875301c11899406724f47facb6f182
@@ -349,7 +349,7 @@ $(document).ready(function(){
349
349
  update: function(event, ui) {
350
350
  var tbody = this
351
351
  $('#progress').show()
352
- positions = {}
352
+ var positions = { authenticity_token: AUTH_TOKEN }
353
353
  $.each($('tr', tbody), function(position, obj) {
354
354
  reg = /spree_(\w+_?)+_(\d+)/
355
355
  parts = reg.exec($(obj).prop('id'))
@@ -69,7 +69,7 @@ class Spree::Admin::ResourceController < Spree::Admin::BaseController
69
69
  end
70
70
 
71
71
  respond_to do |format|
72
- format.js { render plain: 'Ok' }
72
+ format.js { head :ok }
73
73
  end
74
74
  end
75
75
 
@@ -31,10 +31,12 @@
31
31
  </div>
32
32
  </div>
33
33
  </div>
34
- <div class="form-group">
35
- <%= f.label :bill_address_company_cont, Spree.t(:company) %>
36
- <%= f.text_field :bill_address_company_cont, class: 'form-control js-filterable' %>
37
- </div>
34
+ <% if Spree::Config[:company] %>
35
+ <div class="form-group">
36
+ <%= f.label :bill_address_company_cont, Spree.t(:company) %>
37
+ <%= f.text_field :bill_address_company_cont, class: 'form-control js-filterable' %>
38
+ </div>
39
+ <% end %>
38
40
  <div data-hook="admin_users_index_search_buttons" class="form-actions">
39
41
  <%= button Spree.t(:search), 'search' %>
40
42
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.rc3
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-27 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0.rc3
19
+ version: 4.0.4
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: 4.0.0.rc3
26
+ version: 4.0.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.0.rc3
33
+ version: 4.0.4
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: 4.0.0.rc3
40
+ version: 4.0.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -537,7 +537,7 @@ homepage: http://spreecommerce.org
537
537
  licenses:
538
538
  - BSD-3-Clause
539
539
  metadata: {}
540
- post_install_message:
540
+ post_install_message:
541
541
  rdoc_options: []
542
542
  require_paths:
543
543
  - lib
@@ -548,13 +548,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
548
548
  version: 2.5.0
549
549
  required_rubygems_version: !ruby/object:Gem::Requirement
550
550
  requirements:
551
- - - ">"
551
+ - - ">="
552
552
  - !ruby/object:Gem::Version
553
- version: 1.3.1
553
+ version: '0'
554
554
  requirements:
555
555
  - none
556
- rubygems_version: 3.0.2
557
- signing_key:
556
+ rubygems_version: 3.1.4
557
+ signing_key:
558
558
  specification_version: 4
559
559
  summary: backend e-commerce functionality for the Spree project.
560
560
  test_files: []