spree_backend 2.4.5 → 2.4.6

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: d105c88339af651b3d6dab5380d768a8904ca8fd
4
- data.tar.gz: c382e1e7ef8e6ad235562ad3d5904d22a06a0b21
3
+ metadata.gz: 886fc38f5336a76e56bccfb8edfa2d13838d0410
4
+ data.tar.gz: 3a023b76f619a763800316f781f8e1a73e668281
5
5
  SHA512:
6
- metadata.gz: dc8380f690b551b42d9117ea79cfb06e21fce015c059f398554a2438b3e6cfc4a88c82ae776dbf263cb7a5db1de3a0d497fad104c33dba245b2e5a00df1846e3
7
- data.tar.gz: ccd896e04c903ac8b252d74b9e9488b306fcb3944e187c1e9eb0254bf1241a51b53f15d8e7216b523d2f26d01db746e694f02aa4dbc108668bfa85cc28717b9b
6
+ metadata.gz: da4396fedf7fd56e8614da32cae543241be2a47f726cfdcc0d7127ddab50ee25bb3d7348a2ac13ef27a92ea0bf7290377393703a3edb214835fd4b21537a3a1d
7
+ data.tar.gz: d3206c3efc8fc16477e138f94b906d21734f81a3bf9506b31854bce0be21253f209a10674eb29cc3aea3eeb5f87a9ea53fd2065bd37715635815634e141532d5
@@ -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.option_type_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);
@@ -3,7 +3,7 @@ jQuery ($) ->
3
3
  order_id = $('#payments').data('order-id')
4
4
  class Payment
5
5
  constructor: (id) ->
6
- @url = Spree.url("#{Spree.routes.payments_api(order_id)}/#{id}.json")
6
+ @url = Spree.url("#{Spree.routes.payments_api(order_id)}/#{id}.json" + '?token=' + Spree.api_key)
7
7
  @json = $.getJSON @url.toString(), (data) =>
8
8
  @data = data
9
9
 
@@ -7,7 +7,8 @@ var set_taxon_select = 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.4.5
4
+ version: 2.4.6
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-03 00:00:00.000000000 Z
11
+ date: 2015-03-10 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.4.5
19
+ version: 2.4.6
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.4.5
26
+ version: 2.4.6
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.4.5
33
+ version: 2.4.6
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.4.5
40
+ version: 2.4.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement