spree_backend 3.5.0 → 3.6.0.rc1

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
- SHA1:
3
- metadata.gz: 1d17951e9385735819f2e01e5231b70a05dbf6a2
4
- data.tar.gz: 41b3a6bd4aa21493b96cbf66281f2bf4c6313ce2
2
+ SHA256:
3
+ metadata.gz: cacc52cc7c443366076edd75f9b45b8b5119345a694302d631957ecfea3820ba
4
+ data.tar.gz: 50ebc7e4d249a74f5f3f01643fe12a0b2805f2beea2150f827e80e50aebaa9c6
5
5
  SHA512:
6
- metadata.gz: 9d1a24daa632394b94293b9921856552cdd545a97a84affb86ca0917b41beb16d287875a251e61ae139ca4710e3d1e07a23544482455bef60848ece8b94b1358
7
- data.tar.gz: bc49dceab4b6f71922446d006e8b30f0ded95f76d46a20cbf98d2c3ec12652ea40642cb7db314a705e0d75973963f680173849ee6be66f5c577d9f4febe6bbac
6
+ metadata.gz: 8ec57decf02863d59a17283f4aa48534183a0b48a6d5247fd0ec088c7d8fb196f8f4833662c8de84b182c487ebc4d4cf802e99c9ec9813cfe23ad22c698cae5b
7
+ data.tar.gz: a4df81888b049c9c85d8d04804ebf916ec2566feb910904afa764d7023441033d3feb3dd172e2cffe6a4edcf4ac00148455bee29f83ed1baace615ccb200e4fc
@@ -1,6 +1,6 @@
1
1
  //= require jquery.payment
2
2
  $(document).ready(function() {
3
- if ($("#new_payment").is("*")) {
3
+ if ($("#new_payment").length) {
4
4
  $(".cardNumber").payment('formatCardNumber');
5
5
  $(".cardExpiry").payment('formatCardExpiry');
6
6
  $(".cardCode").payment('formatCardCVC');
@@ -13,7 +13,7 @@
13
13
  <div class="form-group">
14
14
  <div data-hook="thumbnail" class="col-xs-12 col-md-3 text-center">
15
15
  <%= f.label Spree.t(:thumbnail) %>
16
- <%= link_to image_tag(@image.attachment.url(:small)), @image.attachment.url(:product) %>
16
+ <%= link_to image_tag(main_app.url_for(@image.url(:small))), main_app.url_for(@image.url(:product)) %>
17
17
  </div>
18
18
  <div class="col-xs-12 col-md-9">
19
19
  <%= render partial: 'form', locals: { f: f } %>
@@ -38,7 +38,7 @@
38
38
  <% end %>
39
39
  </td>
40
40
  <td class="image">
41
- <%= link_to image_tag(image.attachment.url(:mini)), image.attachment.url(:product) %>
41
+ <%= link_to image_tag(main_app.url_for(image.url(:mini))), main_app.url_for(image.url(:product)) %>
42
42
  </td>
43
43
  <% if has_variants %>
44
44
  <td><%= options_text_for(image) %></td>
@@ -21,7 +21,7 @@
21
21
  <tr id="<%= spree_dom_id variant %>" data-hook="admin_product_stock_management_index_rows">
22
22
  <td class="image text-center">
23
23
  <% if variant.images.present? %>
24
- <%= image_tag variant.images.first.attachment.url(:mini) %>
24
+ <%= image_tag main_app.url_for(variant.images.first.url(:mini)) %>
25
25
  <% end %>
26
26
  </td>
27
27
  <td>
@@ -40,9 +40,4 @@
40
40
  <%= f.text_field :code, class: 'form-control', required: true %>
41
41
  <%= f.error_message_on :code %>
42
42
  <% end %>
43
- <%= f.field_container :default, class: ['form-group'] do %>
44
- <%= f.label :default, Spree.t(:default) %>
45
- <%= f.check_box :default %>
46
- <%= f.error_message_on :default %>
47
- <% end %>
48
43
  </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: 3.5.0
4
+ version: 3.6.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-12 00:00:00.000000000 Z
11
+ date: 2018-05-28 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: 3.5.0
19
+ version: 3.6.0.rc1
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: 3.5.0
26
+ version: 3.6.0.rc1
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: 3.5.0
33
+ version: 3.6.0.rc1
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: 3.5.0
40
+ version: 3.6.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap-sass
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -535,13 +535,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
535
535
  version: 2.2.7
536
536
  required_rubygems_version: !ruby/object:Gem::Requirement
537
537
  requirements:
538
- - - ">="
538
+ - - ">"
539
539
  - !ruby/object:Gem::Version
540
- version: '0'
540
+ version: 1.3.1
541
541
  requirements:
542
542
  - none
543
543
  rubyforge_project:
544
- rubygems_version: 2.6.14
544
+ rubygems_version: 2.7.6
545
545
  signing_key:
546
546
  specification_version: 4
547
547
  summary: backend e-commerce functionality for the Spree project.