spree_backend 2.3.9 → 2.3.10

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: 5891ea0d997d28869c6f3c8e7a76d47403094764
4
- data.tar.gz: 649392d1052e518715ee4d669ec2a0e58cd7b0cd
3
+ metadata.gz: 35cac68adbfef420303bccec50491c9eef6f2041
4
+ data.tar.gz: 303c23436fe062ba531e74e914a9d367ab58bdd4
5
5
  SHA512:
6
- metadata.gz: afb37822e538c75c6355658a2402542184aa580a675fdbdf033e0860e7dc4b688c8b13bc16ccb1151e3453a009b2602d8870871f3f0da50e7bad0afe6fc65ff8
7
- data.tar.gz: 24f0c3e19a10f574d741b03dadd5b45c47fde8498a5da9acfe152aac7a62f1a56ec428a6a43eb1e03af0ee9d51ef6854bec728683989e19a54a316f7395912a3
6
+ metadata.gz: 5ac5dcb1e38b6465b3544c94983f5d804f074976f54aa6b5120f02dacd63f00013c949c950b24cc2191dec2af05a4f1c72402b88a6587319ce45e149a347a3f6
7
+ data.tar.gz: 5b2cdfda4227ff4a2dcdf7c3101a934580763c26b46d2b46edb5a915111bc68892750eded946376a04839c52ff1b9a1b9dc36504b337d830ff7209314b5e091f
@@ -6,7 +6,8 @@ $.fn.productAutocomplete = function () {
6
6
  multiple: true,
7
7
  initSelection: function (element, callback) {
8
8
  $.get(Spree.routes.product_search, {
9
- ids: element.val().split(',')
9
+ ids: element.val().split(','),
10
+ token: Spree.api_key
10
11
  }, function (data) {
11
12
  callback(data.products);
12
13
  });
@@ -7,7 +7,8 @@ $(document).ready(function () {
7
7
  multiple: true,
8
8
  initSelection: function (element, callback) {
9
9
  var url = Spree.url(Spree.routes.taxons_search, {
10
- ids: element.val()
10
+ ids: element.val(),
11
+ token: Spree.api_key
11
12
  });
12
13
  return $.getJSON(url, null, function (data) {
13
14
  return callback(data['taxons']);
@@ -6,6 +6,7 @@ $(document).ready ->
6
6
  url: Spree.routes.classifications_api,
7
7
  method: 'PUT',
8
8
  data:
9
+ token: Spree.api_key,
9
10
  product_id: ui.item.data('product-id'),
10
11
  taxon_id: $('#taxon_id').val(),
11
12
  position: ui.item.index()
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: 2.3.9
4
+ version: 2.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-10 00:00:00.000000000 Z
11
+ date: 2015-05-05 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: 2.3.9
19
+ version: 2.3.10
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: 2.3.9
26
+ version: 2.3.10
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: 2.3.9
33
+ version: 2.3.10
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: 2.3.9
40
+ version: 2.3.10
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement