spree_backend 2.2.10 → 2.2.11

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: 89ce981f657e0415a271dc5ef18755d1d75f5c77
4
- data.tar.gz: d6813759c824ffd1127110640fedbc14a886921d
3
+ metadata.gz: 5597059e55fbd1e012772e45e3cf3036edd6a73e
4
+ data.tar.gz: e57b5cf6bc90e378d24d6d1d6f7ca984b68eee16
5
5
  SHA512:
6
- metadata.gz: 4c3f893ba97421aca33802742448ca5fa799a3c0979d003516163a0153368114dd85e5211db3fbeba490fdf7fc16e2ac7e89f3eb0b2a10d014f2d290d8ca9d8e
7
- data.tar.gz: fadd70d7c5cf9d0f9a916cd8c15be924b369950a5b6efca8c76ff9e34b0ddae635fe8b499d95a4b0e412a9298a98d0c12cad839e93ad8e1d6b0f5326ba52c3a3
6
+ metadata.gz: 38aa2b14dd6165b49f3096e3bc3977ee32844a876d2b696d54e854c57bf114267760bde38121ea53c108f11daa08e127819d093ef9f359f0ead29da2183633e3
7
+ data.tar.gz: 76f500031b6d719aa9a70d600510334412a2042b5074de3ef85282242e0c4135d2b84cdd4dc75362ea554faef844bf03ddfd4b414e390ffe934ba1cbd43b2b58
@@ -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);
@@ -2,7 +2,7 @@ jQuery ($) ->
2
2
  # Payment model
3
3
  class Payment
4
4
  constructor: (id) ->
5
- @url = Spree.url("#{Spree.routes.payments_api}/#{id}.json")
5
+ @url = Spree.url("#{Spree.routes.payments_api}/#{id}.json" + '?token=' + Spree.api_key)
6
6
  @json = $.getJSON @url.toString(), (data) =>
7
7
  @data = data
8
8
 
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.10
4
+ version: 2.2.11
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.2.10
19
+ version: 2.2.11
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.10
26
+ version: 2.2.11
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.10
33
+ version: 2.2.11
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.10
40
+ version: 2.2.11
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement