spree_backend 2.2.11 → 2.2.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c158dcc5e326c961a7be23c48819a95b24953fc3
|
4
|
+
data.tar.gz: 637e94e163d57e8306c672fb68c15208064fd4c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e6aedbb25b09d9cf3d7d65031dfc3cbbf47c6e13854ef92fd9e27b2fe74fa01ea3a54a9bc9fa89cd434b676a83176698f31d55c3fd2c0d5fd0386c692b7d2f7
|
7
|
+
data.tar.gz: 5a577cdbb15590f2b9405b25d03719c97490c46e177a1a076ad634024bbd1008d341885c2dda114ab8e541c8aa18fa1bef79ad466b32ac13c73de19730c7ca19
|
@@ -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']);
|
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.2.
|
4
|
+
version: 2.2.12
|
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-
|
11
|
+
date: 2015-07-20 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.2.
|
19
|
+
version: 2.2.12
|
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.2.
|
26
|
+
version: 2.2.12
|
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.2.
|
33
|
+
version: 2.2.12
|
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.2.
|
40
|
+
version: 2.2.12
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jquery-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|